Home / Math Calculators / Mean, Median, Mode & Range
Math & Statistics

Mean, Median, Mode & Range Calculator

Find the four key statistics for a list of numbers. See the mean (average), median (middle), mode (most frequent value), range, sorted data and calculation steps.

✓ Free to use✓ Browser-based calculations✓ Works on mobile
Your data

Enter your numbers

Separate numbers with commas, spaces, semicolons or new lines. Negative values and decimals are supported.
Your data is processed in your browser and is not sent to this calculator page.
Your results

Calculation summary

∑
Your results will appear here
Enter numbers and select Calculate statistics to see the summary.
Understand the math

Mean, median, mode and range formulas

These statistics summarize different aspects of a data set. Mean, median and mode describe central tendency in different ways, while range describes the spread from the smallest to the largest value.

MeanMean = Sum of all values ÷ Number of values
Add all observations and divide by the count.
MedianOdd count: middle sorted value. Even count: average of the two middle values.
Sort values from smallest to largest before finding the middle.
ModeMode = value(s) with the highest frequency
A data set can have one mode, multiple modes, or no mode when all values occur equally often.
RangeRange = Maximum − Minimum
Range uses only the two extreme values, so an outlier can change it substantially.

How to use this calculator

  1. Type or paste your numbers into the data field.
  2. Separate values with commas, spaces, semicolons or line breaks.
  3. Choose the desired number of decimal places.
  4. Select Calculate statistics to view the mean, median, mode, range and supporting values.
  5. Review sorted data and frequency counts to verify the result.
Worked example

Example: 3, 4, 4, 7, 12

The five values add to 30, so the mean is 30 ÷ 5 = 6. The middle sorted value is 4, which is the median. The value 4 appears twice, more often than the others, so it is the mode. The range is 12 − 3 = 9.

Mean6
Median4
Mode4
Range9
Common questions

Mean, median, mode and range FAQs

What is the difference between mean, median and mode?

The mean is the sum divided by the count. The median is the middle value after sorting. The mode is the value or values that occur most often.

How do you calculate the range?

Subtract the smallest value from the largest value: range = maximum − minimum.

Can a data set have more than one mode?

Yes. If several values tie for the highest frequency, all of them are modes. This is called a multimodal data set.

What if every number is different?

If every value occurs once, there is no mode. The mean, median and range can still be calculated normally.

How is the median calculated when there is an even number of values?

Sort the data and average the two middle values. For example, the median of 2, 4, 8, 10 is (4 + 8) ÷ 2 = 6.

Can I enter negative numbers and decimals?

Yes. Negative numbers, zero and decimals are supported. Use a period for decimals, such as -2.5.

Note: These statistics describe the data entered. Check the original values before interpreting results, especially when the data contains extreme values.