Free · Statistics · With steps

Mean, Median & Mode Calculator

Paste a list of numbers to get the mean, median, mode and range, plus the standard deviation, sorted list and working.

Calculate Mean, Median and Mode
Results update as you type.
Separate numbers with commas, spaces or new lines.
—

—
—
—
Formulas: mean = sum ÷ count. Median = the middle value of the sorted list (the average of the two middle values if the count is even). Mode = the most frequent value. Range = largest − smallest.

Mean = sum ÷ count, median = the middle value, mode = the most common value. For 4, 8, 6, 5, 3, 8, 9: the sum is 43 and the count is 7, so the mean is 43 ÷ 7 = 6.14. Sorted (3, 4, 5, 6, 8, 8, 9), the median is 6, the mode is 8 and the range is 9 − 3 = 6.

Key takeaways
  • Always sort the numbers before finding the median.
  • With an even count, the median is the average of the two middle numbers.
  • A list can have no mode, one mode or several modes.

How to Use the Calculator

  1. Paste or type your numbers, separated by commas, spaces or new lines.
  2. Read the mean, median, mode and range, plus the count, sum, minimum, maximum and standard deviation.
  3. Open the steps to see the working for homework.

Formulas

MeasureHow to find it
MeanAdd all values and divide by how many there are
MedianSort the values; take the middle one (or average the two middle ones)
ModeThe value that appears most often
RangeLargest value − smallest value

Worked Examples

Example 1: Odd count. 4, 8, 6, 5, 3, 8, 9

  1. Sorted: 3, 4, 5, 6, 8, 8, 9
  2. Mean = 43 ÷ 7 = 6.14
  3. Median = 4th value = 6; mode = 8; range = 6

Example 2: Even count of test scores. 72, 85, 90, 64, 85, 78

  1. Sorted: 64, 72, 78, 85, 85, 90
  2. Mean = 474 ÷ 6 = 79
  3. Median = (78 + 85) ÷ 2 = 81.5; mode = 85; range = 26

For grades with different weights, use the average grade calculator instead.

Which Average Should You Use?

  • Mean uses every value. It is the usual “average” for test scores.
  • Median is better when there are outliers, such as one very low score.
  • Mode is best for the most common answer or category.

To see how far one score sits from the mean, use the z-score calculator. To rank a score within a list, try the percentile calculator. For more on averages, read how to calculate the average.

Frequently Asked Questions

How do you find the mean?

Add up all the numbers and divide by how many numbers there are. For 4, 8 and 6, the mean is 18 ÷ 3 = 6.

How do you find the median with an even number of values?

Sort the numbers and average the two middle values. For 2, 4, 6, 8, the median is (4 + 6) ÷ 2 = 5.

Can there be more than one mode?

Yes. If two or more values share the highest count, each is a mode (bimodal or multimodal). If every value appears once, there is no mode.

What is the range?

The range is the largest value minus the smallest value. It shows how spread out the data is.

When is the median better than the mean?

When the data has outliers or is skewed, such as one very high or low score. The median is not pulled toward extreme values the way the mean is.

What is the difference between sample and population standard deviation?

Population standard deviation divides by n and is used when you have every value. Sample standard deviation divides by n − 1 and is used when your data is a sample from a larger group.

More Calculators You Can Use

Free tools that pair well with this one.

Average Grade Calculator

Average test, quiz and assignment scores.

Open calculator

Z-Score Calculator

Z-scores, percentiles and the normal curve.

Open calculator

Percentile Calculator

Find the percentile rank of any score.

Open calculator

Grade Curve Calculator

Curve test grades for a whole class.

Open calculator

Percentage Calculator

Turn any fraction into a percent.

Open calculator

Slope Calculator

Slope, intercept and line equation.

Open calculator
Scroll to Top