Median & Mode Calculator

Find the median, mode, mean and range of any data set — the four measures every intro-stats class starts with.
Median
Mode
Mean
Range
Count
✉ Email me this result
</> Embed this calculator

Paste this into any website or blog post. It is free — the small "powered by" link must stay visible.

How it works

Median = middle value (sorted); mode = most frequent value; mean = sum ÷ count

Frequently Asked Questions

How do I find the median of a data set?
Sort the numbers and take the middle one; with an even count, average the two middle values. For 3, 7, 9, 12, 15 the median is 9; for 3, 7, 9, 12 it's (7+9)/2 = 8.
What is the mode and can there be more than one?
The mode is the most frequently occurring value. A data set can have no mode (all values unique), one mode, or multiple modes (bimodal, trimodal) if several values tie for most frequent.
When should I use median instead of mean?
Median resists outliers — for income or house prices, a few extreme values skew the mean upward, while the median reflects the 'typical' value more fairly. Use mean for data without extreme skew.