Mean, Median, Mode and Range Calculator

Compare the mean and median, find most frequent values including ties, and measure the spread from the smallest to the largest.

Type or paste up to 1,000 numbers. Separate observations by spaces, commas, semicolons or new lines.

Result

Enter values and select Calculate.

How is this calculated?

Compare the arithmetic mean, the midpoint of the sorted list, the most frequent values, and the difference between extremes.

Worked example: Read two modes in one list

In 12, 12, 18, 18 and 30, both 12 and 18 occur twice. The sum is 90, the mean and median are both 18, and the range is 30 − 12 = 18.

Method and limits

The middle two sorted values are averaged for an even-sized list. If every value occurs once, the tool reports no mode. Range is the largest minus the smallest value. The center ranks, frequencies and range distinguish the exact decimals you typed.

How to use this calculator

  1. Paste or type raw observations in a common unit. A decimal point stays inside a value; commas, semicolons or whitespace separate observations.
  2. Compare mean and median for center. Read Mode for repeated values and use Range with Minimum and Maximum to see the full span.

See what one high reading changes

For 3, 4, 4, 5 and 24, the mean is 8, the median is 4, the mode is 4, and the range is 21. Removing 24 reduces the range to 2 and the mean to 4, while the median stays 4.

The median uses order, not the written sequence

Sort 20, 5, 10 and 9 into 5, 9, 10 and 20. With four entries, the middle pair is 9 and 10. The median is their average, 9.5; it does not have to be one of the observations.

A list can have several most-frequent values

For 12, 12, 18, 18 and 30, the frequencies are 2, 2 and 1. Both 12 and 18 tie for highest frequency. The tool shows no mode when every value appears once, rather than displaying the entire list as tied.

Range shows the endpoints but not the shape

Both 1, 2, 2, 9 and 1, 8, 8, 9 have a range of 8. Their centers are different. Range is useful for checking the span between extremes, but does not say whether values cluster near either end.

Frequently asked questions

Do 4 and 4.0 count as the same mode value?
Yes. Different written forms of the same numeric value count together; merely nearby values are not automatically grouped.
Can a range be negative?
No. The maximum is at least as large as the minimum; equal values produce zero range.
Why is there no mode in my list?
If each entered number occurs only once, the tool reports no mode. It does not bin nearly equal measurements into groups.
Should I use the mean or the median for a typical value?
Use the mean when each value should affect the result in proportion to its size. Use the median to describe the ordered center when unusual extremes dominate the mean. Check both before making a choice.

Common mistakes and limits

Sources & methodology

Related calculators