The mean, median and mode are the three measures of central tendency — three answers to "what's a typical value?" The mean is the average (sum ÷ count), the median is the middle of the sorted list, and the mode is the most frequent value. Together with the range (max − min) they give a quick, honest summary of a data set. This calculator computes all of them from a pasted list.
Reviewed: June 20, 2026 · Author: Naveen P N, Founder — AI Calculator · Verified against: standard definitions of central tendency, recomputed in code.
The three averages
The mean uses every number, so it's the most informative but also the most affected by outliers. The median only cares about position, so one extreme value barely moves it — making it the better "typical" figure for skewed data like incomes. The mode is the only average that works for non-numeric categories and is handy when you care about the most common outcome. The range, max minus min, rounds out the picture by showing the spread.
Worked example — 2, 4, 4, 4, 5, 5, 7, 9
Scenario: an eight-value data set.
The sum is 40 over 8 values, so the mean is 5. With an even count, the median is the average of the two middle sorted values (4 and 5), giving 4.5. The value 4 occurs three times — more than any other — so the mode is 4, and the spread from 2 to 9 makes the range 7. Notice all three averages differ here: that's normal, and comparing them hints at the shape of the data.
Frequently Asked Questions
Mean = sum ÷ count; median = middle of the sorted list; mode = most frequent. For 2,4,4,4,5,5,7,9 → 5, 4.5, 4.
Sort, then take the middle. Odd count → single middle; even count → average of the two middle. Here (4+5)/2 = 4.5.
Yes — ties give a bimodal/multimodal set. If every value is unique, there's no mode. All modes are listed.
With outliers or skew. A few extremes drag the mean; the median stays near the centre — hence median income/price.
Max − min, a simple spread measure. For 2,4,4,4,5,5,7,9 the range is 9 − 2 = 7.