Small tools. Clear answers.
▥ STATISTICS Ready to calculate

Mean, Median, Mode and Range Calculator

Calculate mean, median, mode and range for up to 1,000 numbers. View the count, sorted data, frequencies and the calculation of the mean.

Let’s work it out

04 / 15

Up to 1,000 values

Separate values with commas, spaces or line breaks. Use a period for decimals; omit thousands separators.

◈ Calculated in your browser. Your inputs stay here.
EXAMPLE RESULT
—

Calculate to see your answer.

01

How to use the Mean, Median, Mode and Range Calculator

  1. Paste up to 1,000 numbers separated by commas, spaces or new lines.
  2. Calculate the mean, median, mode and range.
  3. Expand the sorted data and frequency table to inspect your values.
02

Mean, Median & Mode formula

The mean uses every value and can be strongly affected by outliers. The median is the middle value of the sorted list. The mode is the most frequent value. A dataset with one distinct value has that value as its mode. When several distinct values all have equal frequencies, this calculator reports no unique mode. The range is the largest value minus the smallest.

THE FORMULA Mean = sum of values ÷ number of values

What the terms mean

Sum
All data values added together.
Count (n)
The number of values, including repeated values.
Sorted data
The values arranged from smallest to largest.

Median

Odd count: middle sorted value. Even count: average of the two middle sorted values.

Sort the data before finding the middle. Repeated values each occupy their own position.

Mode

Mode = value or values with the highest frequency

This calculator reports no unique mode when several distinct values all occur equally often. A dataset with only one distinct value has that value as its mode.

Range

Range = largest value − smallest value

Range describes the distance between the two extremes. It does not describe how the other values are distributed.

TRY IT ON PAPER

Mean, Median & Mode worked examples

An odd number of values

Calculate the summary for 2, 4, 4, 6, 9.

  1. Sum = 2 + 4 + 4 + 6 + 9 = 25; count = 5.
  2. Mean = 25 ÷ 5 = 5.
  3. Median = the third sorted value = 4.
  4. Mode = 4 because it occurs twice.
  5. Range = 9 − 2 = 7.

Answer: Mean 5; median 4; mode 4; range 7.

An even number of values

Calculate the summary for 2, 4, 6, 8.

  1. Mean = (2 + 4 + 6 + 8) ÷ 4 = 5.
  2. The two middle values are 4 and 6.
  3. Median = (4 + 6) ÷ 2 = 5.
  4. Every value occurs once, so this calculator reports no unique mode.
  5. Range = 8 − 2 = 6.

Answer: Mean 5; median 5; no unique mode; range 6.

Two modes and a large outlier

Calculate the summary for 1, 2, 2, 3, 3, 4, 20.

  1. Sum = 35; count = 7; mean = 35 ÷ 7 = 5.
  2. Median = the fourth sorted value = 3.
  3. Both 2 and 3 occur twice, more often than the other values.
  4. Range = 20 − 1 = 19.

Answer: Mean 5; median 3; modes 2 and 3; range 19. The large value 20 pulls the mean above the median.

03

Mean, Median, Mode and Range Calculator FAQs

Can I paste from a spreadsheet?

Yes. Spaces, tabs, commas, semicolons and new lines are accepted as separators. Use a period as the decimal mark and do not include thousands separators.

Are negative values supported?

Yes. Negative values, decimals and scientific notation are accepted. Missing values and nonnumeric labels must be removed.

How are several modes displayed?

Values tied for the highest frequency are shown unless several distinct values all occur equally often, in which case the result says no unique mode. If the dataset contains only one distinct value, that value is the mode.

ONE LESS THING TO WORK OUT

There’s a tool for that.

Explore all calculators ↗