Statistics
Mean, Median & Mode Calculator
Enter your details
Runs in your browser
How to use it
Using the mean, median & mode calculator
- 01
Paste your numbers
Separate them with commas, spaces or newlines; any mix works.
- 02
Read the three measures
The mean is the arithmetic average; the median resists outliers; the mode shows the most common value.
- 03
Check the detail rows
Count, min, max and sum help you sanity-check that every number was read correctly.
Good to know
Which measure of center should you trust?
Use the mean for well-behaved data without extreme values. Use the median whenever outliers or skew exist; household income is the classic case, where a few very high earners drag the mean far above what a “typical” person earns.
When the mode matters
The mode is the only average that can be a non-numeric favorite: the best-selling shoe size, the most common defect type, the peak voting choice. For continuous measurements it is often noisy, but for discrete categories it is usually the most actionable statistic.
- Even counts: the median averages the two middle values.
- Multiple modes: all tied values are reported.
- No mode: reported when every value appears exactly once.
How it's calculated
The math behind this calculator
Mean = Σx / n Median = middle value of sorted data Mode = most frequent valueThe mean sums every value and divides by how many there are. The median sorts your data and takes the middle entry; or the average of the two middle entries when the count is even, which is why it can land between actual data points.
The mode is the value appearing most often. When every value occurs exactly once, no mode is reported. Ties are allowed: several values sharing the top frequency are all listed.
Assumptions & limitations
- Values are separated by commas, spaces or newlines.
- All entries must be parseable numbers.
- The mode is undefined (reported as “no mode”) when all values are unique.
Worked example
For the classic dataset 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5, the median is 4.5 and the mode is 4; one number each of center in three different senses.
FAQ
Frequently asked questions
- Can the mean be misleading?
- Yes, with skewed data. A single billionaire in a room makes the mean wealth enormous while the median barely moves; always consider both.
- Why does my median end in .5?
- With an even number of values, the median is the average of the two middle ones, which frequently falls halfway between them.
- What if two values tie for most frequent?
- Both are reported as modes (a bimodal result). If every value appears exactly once, the calculator reports “no mode”.
- How many numbers can I enter?
- Thousands; parsing and sorting are fast. Keep in mind extremely long pastes may be awkward to edit if a typo slips in.
Keep exploring