Engineering
Mean, Median & Mode Calculator
Calculate mean, median, mode, range and sorted dataset from a list of numbers with one click.
Measures of Central Tendency: Mean, Median and Mode
In statistics there are multiple ways to summarise a dataset with a single number. Although the mean is the most common measure, the median or mode can give more meaningful results when data contains outliers. After you enter your numbers this tool simultaneously calculates mean, median, mode, range, min and max and visually presents the sorted data with mode highlighting.
Comparison of Central Tendency Measures
| Measure | Formula | Description |
|---|---|---|
| Mean | Σx / n | Sum of all values divided by the count. Sensitive to outliers. |
| Median | Middle value | Middle value of the sorted dataset. Average of the two middle values when the count is even. |
| Mode | Most frequent value | The value that appears most often. Multiple modes are possible (multimodal distribution). |
| Range | Max − Min | Difference between the largest and smallest values. A measure of 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 significantly.
- Median = 4 hours — the middle value is unaffected by the outlier.
In this example the median better reflects the students' true typical behaviour.
When to Use Which Measure?
MeanNo outliers, homogeneous numeric data. E.g. daily active session time in a clean A/B test group.
MedianSkewed distributions where extremes distort the average. E.g. LTV, order value, income. Best reflects the 'true typical case'.
ModeCategorical (non-numeric) data to find the dominant tendency. E.g. most-chosen subscription plan, top device type, highest-converting segment.
Range / Std DevAvoid being misled by the centre alone; understand consistency or risk. E.g. low std dev = stable conversion rate; wide range = high uncertainty.