Statistics Calculator (Mean, Median, Mode)

Free online calculator — instant results, no signup required.

Statistics Calculator

How to Use This Calculator

To use this calculator, enter a set of numbers in the input field, separated by commas. Each number represents a data point in your dataset. For example, if you enter 1, 2, 3, 4, 5, the calculator will calculate the mean, median, and mode of these numbers.

A worked example is entering the numbers 10, 20, 30, 40, 50 into the calculator. The calculator will then output the mean, median, and mode of these numbers.

The output will help you understand the central tendency of your dataset.

The Formula Behind It

The formula for calculating the mean is: mean = (sum of all numbers) / (total count of numbers).

The median is the middle value when the numbers are arranged in ascending order.

The mode is the number that appears most frequently in the dataset.

Each variable represents a different aspect of the dataset: the mean represents the average value, the median represents the middle value, and the mode represents the most common value.

Practical Examples

Here are three real-world scenarios:

  • A company has 5 employees with salaries of $40,000, $50,000, $60,000, $70,000, and $80,000. The calculator outputs a mean of $60,000, a median of $60,000, and no mode since each salary is unique.
  • A student has exam scores of 70, 80, 90, 70, 80. The calculator outputs a mean of 80, a median of 80, and a mode of 70 and 80 since they both appear twice.
  • A store has daily sales of $100, $200, $300, $400, $500. The calculator outputs a mean of $300, a median of $300, and no mode since each sales figure is unique.

Common Questions

What is the difference between mean and median?

The mean is the average value, while the median is the middle value. For example, the mean of 1, 2, 3, 4, 5 is 3, and the median is also 3.

Can the mode be more than one number?

Yes, the mode can be more than one number if multiple numbers appear with the same frequency.

What if my dataset has an even number of values?

If your dataset has an even number of values, the median will be the average of the two middle values.

How do I know which measure of central tendency to use?

You should use the mean if your dataset has no outliers, the median if your dataset has outliers, and the mode if you want to know the most common value.

Can I use this calculator for non-numeric data?

No, this calculator is only for numeric data. If you have non-numeric data, you will need to use a different calculator or method.