NumerSpace

Categories

Finance & InvestmentHealth & FitnessWork & CareerTime & DateMarketing & AnalyticsMath & ConvertersEducation & ProductivityHome & LivingClothing & SizingPetsVehicle & TravelFaithAstrologyTax & BillsUnit Converters
Blog
Math & Conversion

Mean, Median & Mode Calculator

Enter a list of numbers to get the mean, median, mode, range and sorted dataset.

Measures of Central Tendency: Mean, Median and Mode

There is more than one way to summarise a dataset with a single number. The mean is the most common, but when the data contains outliers the median or mode can be more meaningful. Enter your numbers and this tool calculates mean, median, mode, range, min and max at once, and shows the sorted data with the mode highlighted.

Comparison of Central Tendency Measures

MeasureFormulaDescription
MeanΣx / nSum of all values divided by the count. Sensitive to outliers.
MedianMiddle valueMiddle value of the sorted dataset. Average of the two middle values when the count is even.
ModeMost frequent valueThe value that appears most often. Multiple modes are possible (multimodal distribution).
RangeMax − MinDifference between the largest and smallest values. Shows the spread.

Example: Effect of an Outlier

Weekly study hours of 5 students at a school: 2, 3, 4, 5, 40

  • Mean = (2+3+4+5+40) ÷ 5 = 10.8 hours; the 40-hour outlier pulls the mean up noticeably.
  • Median = 4 hours; the middle value is not affected by the outlier.

In this example the median better reflects how long a typical student studies.

When to Use Which Measure?

MeanNumeric data without outliers and evenly spread. E.g. daily active session time in an A/B test group, or average session duration on a page.
MedianSkewed data where extreme values distort the average. E.g. LTV, order value, income. The median shows the typical value best here.
ModeCategorical (non-numeric) data, to find the most common value. E.g. most-chosen subscription plan, most-used device type, highest-converting segment.
Range / Std DevTo avoid being misled by the centre alone and see how consistent the data is. E.g. a low std dev means a stable conversion rate; a wide range means more uncertainty.

Frequently Asked Questions

If the data contains outliers (very high or very low values), the median is the more reliable measure of central tendency. It is preferred for data such as incomes and house prices, where a few very wealthy people can pull the mean far upward.

Related Calculators