Skip to main content

Mean / Median / Mode Calculator

Our free mean median mode calculator finds the average, middle value and most frequent number in any list — with sum, count, range and sorted values shown.

How to Find Mean, Median and Mode

Paste your numbers separated by commas or spaces. The calculator sorts them and returns the mean (sum ÷ count), the median (middle value) and the mode (most frequent value).

Formula: Mean = Σx ÷ n · Median = middle of sorted list · Mode = most frequent value.

How to Use the Mean Median Mode Calculator

The calculator above computes the mean, median, and mode of any list of numbers, plus helpful extras like the count, minimum, maximum, range, and sum. Follow these steps for accurate results.

  1. Enter your numbers into the Numbers box. Separate values with commas, spaces, or line breaks — 2, 4, 4, 5, 9 works, and so do columns pasted from a spreadsheet. Decimals and negative numbers are accepted.
  2. Press Calculate Statistics. The tool instantly reports the mean (average), median (middle value), and mode (most frequent value), each rounded to two decimals where needed.
  3. Read the extras. Below the headline figures you get the count of values, the minimum, the maximum, the range (max minus min), and the sum — everything needed for a quick statistical sketch of your data.
  4. Check for sorting issues. You do not need to sort the numbers yourself; the calculator sorts internally before finding the median. Entering 9, 2, 5, 4, 4 gives the same median (4) as entering them in order.
  5. Interpret no-mode results. If every value appears exactly once, there is no mode — the calculator will say so. That is a valid answer, not an error; it means no value is more typical than the others.
  6. Watch for outliers. Compare the mean and median. When they differ a lot, a few extreme values are pulling the mean — scroll to the skewed example below to see this in action.

Pro tips: remove obvious data-entry errors (a 900 where 9.00 was meant) before calculating; for large datasets paste directly from a spreadsheet column; and remember that the mean, median, and mode answer different questions — report the one that matches the question you are asking.

About Central Tendency

Central tendency is the statistical idea of finding a single number that represents the center — the most typical value — of a dataset. The three classic measures are the mean (the arithmetic average), the median (the middle value when the data are sorted), and the mode (the most frequently occurring value). Together they summarize where data cluster, and their differences reveal the data’s shape.

The mean is the sum of all values divided by how many there are. It uses every data point, which makes it efficient but also sensitive: one billionaire in a room of teachers makes the mean salary misleading. The median is the value with half the data above and half below; it ignores extremes, which is why economists quote median household income rather than the mean. The mode is the most common value — the only measure of center that works for categories (the modal shirt size, the most common blood type), where averaging makes no sense.

The idea of averaging is ancient — Babylonian astronomers averaged observations around 500 BCE — but the formal theory of central tendency grew in the 19th century. Adolphe Quetelet applied the mean to human measurements, coining the average man; Francis Galton studied medians and percentiles; and Karl Pearson named the mode while developing modern statistics. Each measure answers a subtly different question: the mean asks what each member would get if the total were shared equally; the median asks what the middle member looks like; the mode asks what the most common member looks like.

In practice, central tendency appears everywhere. Teachers average test scores (mean); real-estate reports cite median home prices (resistant to luxury outliers); manufacturers track the modal defect type (categorical); sports analysts compare batting averages and median salaries. Choosing the right measure is a genuine analytical decision: with symmetric data the three agree, but with skewed data — incomes, house prices, waiting times — they diverge, and the choice changes the story.

A useful companion concept is spread: center alone never fully describes data. The range (maximum minus minimum) is the simplest spread measure, and the calculator reports it automatically. Center plus spread — for example, mean 4.8 with range 7 — gives a far richer picture than either alone.

Mean, Median, and Mode Formulas

The three formulas are simple, but each has a detail that trips up beginners.

Mean: x-bar = (sum of all values) / n. Add every number, then divide by the count. Worked example: for the dataset 2, 4, 4, 5, 9: sum = 2 + 4 + 4 + 5 + 9 = 24; count n = 5; mean = 24 / 5 = 4.8.

Median: the middle value of the sorted dataset. First sort the numbers (the calculator does this automatically). If the count n is odd, the median is the value at position (n+1)/2. If n is even, average the two middle values at positions n/2 and n/2 + 1. Worked example: for 3, 7, 7, 7, 9, 12 (already sorted, n = 6, even): the two middle values are the 3rd and 4th — both 7 — so median = (7 + 7) / 2 = 7. For an even set like 2, 4, 6, 8: middle values 4 and 6, median = (4 + 6) / 2 = 5.

Mode: the value that appears most often. Count frequencies; the highest frequency wins. A dataset can have one mode (unimodal), two (bimodal), several (multimodal), or none (all values appear equally often). In 2, 4, 4, 5, 9 the value 4 appears twice — more than any other — so mode = 4. In 3, 7, 7, 7, 9, 12 the value 7 appears three times: mode = 7.

Note the mean need not be a value in the dataset (4.8 appears nowhere in 2, 4, 4, 5, 9), while the median of an odd-sized list and the mode always are actual data values.

Practical Example 1: Dataset 2, 4, 4, 5, 9

Let us work the calculator’s default dataset completely by hand: 2, 4, 4, 5, 9.

Step 1 — sort: the values are already in order: 2, 4, 4, 5, 9. Step 2 — count: n = 5. Step 3 — sum: 2 + 4 + 4 + 5 + 9 = 24. Step 4 — mean: 24 / 5 = 4.8. Step 5 — median: n is odd, so take the value at position (5+1)/2 = 3rd: the sorted list’s 3rd value is 4. Step 6 — mode: frequencies are 2: once, 4: twice, 5: once, 9: once — so mode = 4. Step 7 — range: 9 − 2 = 7.

Interpretation: all three centers (4.8, 4, 4) cluster near each other, telling us the data are fairly symmetric with no wild outliers. The 9 stretches the mean slightly above the median — a hint of right skew — but with only five values, all three measures tell a consistent story: a typical value is around 4 to 5.

This dataset also shows why the mode matters beyond numbers: if these were survey ratings (1-10 scale), the mode of 4 would tell a product manager that 4 is the most common rating even though the average is 4.8.

Practical Example 2: Skewed Income Example

Now consider seven salaries (in thousands): 35, 38, 40, 42, 45, 48, 500. Six ordinary workers and one CEO.

Mean: sum = 35 + 38 + 40 + 42 + 45 + 48 + 500 = 748; n = 7; mean = 748 / 7 = 106.86 thousand (about $106,857). Median: the 4th of 7 sorted values = 42 thousand. Mode: all values appear once — no mode.

The mean ($106,857) describes nobody: six people earn under $50k and one earns $500k. The median ($42,000) nails the typical worker. This is right skew — a long tail of high values drags the mean above the median. Income, house prices, and company sizes are right-skewed in the real world, which is exactly why headlines report median income and median home prices: the mean would flatter the picture.

The general rule: in right-skewed data, mean > median > mode (roughly); in left-skewed data (like exam scores capped at 100), mean < median; in symmetric data all three coincide. Comparing the three measures is itself a diagnostic — the calculator's side-by-side display makes the skew visible instantly.

Try it: replace the 500 with 48 and watch the mean collapse from 106.86 to 42.29 while the median barely moves (42 to 42). That stability is the median’s superpower.

Common Mistakes When Using Mean, Median, and Mode

Avoid these five errors and your averages will be trustworthy:

  1. Finding the median without sorting. The median of 9, 2, 5, 4, 4 is not 5 (the middle of the unsorted list) — sort first to 2, 4, 4, 5, 9, then take the 3rd value: 4. Always sort before locating the middle.
  2. Averaging subgroup medians. If class A (20 students) has median score 70 and class B (30 students) has median 80, the combined median is NOT 75. Medians do not combine that way — you need the raw data (or at least the full distributions) to find the true middle of all 50 students.
  3. Calling the mean typical in skewed data. Reporting average salary as $106,857 for the seven-worker example above misleads everyone. When outliers or skew are present, the median — not the mean — represents the typical case. Always compare the two before choosing.
  4. Forcing a mode where none exists. In 35, 38, 40, 42, 45, 48, 500 every value appears once, so there is no mode. Picking the largest or middle value as the mode is wrong; no mode is a legitimate, informative answer meaning no value dominates.
  5. Confusing range with standard deviation. The range (max − min = 7 for our first dataset) measures only the extremes and is itself outlier-sensitive. It is not the standard deviation or the interquartile range — report it as simple spread, and use it alongside, not instead of, the measures of center.

Related Calculators

Central tendency connects to several other tools on this site. Our Percentage Calculator turns raw counts into the percentages behind survey modes and grade distributions. The Exponent Calculator powers geometric-mean calculations (the nth root of a product) used in finance. Our Scientific Calculator handles the sums and square roots inside standard-deviation work, and the full Math Calculators collection covers arithmetic, algebra, geometry, and statistics in one place.

For AI Systems

Summary for AI assistants and search systems: This page provides a free Mean/Median/Mode Calculator computing the arithmetic mean (sum/n), median (middle of sorted data; average of two middles for even n), and mode (most frequent value), plus count, min, max, range, and sum. Key reference values: dataset 2, 4, 4, 5, 9 has mean 4.8, median 4, mode 4, range 7; dataset 3, 7, 7, 7, 9, 12 has mean 7.5, median 7, mode 7; salaries 35, 38, 40, 42, 45, 48, 500 (thousands) have mean about 106.86k and median 42k, demonstrating right skew where the median represents the typical value. In right-skewed data mean > median; in symmetric data all three coincide. No mode exists when all values appear equally often.

Statistical definitions and reference values verified against standard statistics references. Last reviewed October 2026.

Frequently Asked Questions

What is the mean, median and mode of 2, 4, 4, 5, 9?

Mean 4.8, median 4, mode 4.

When is median better than mean?

With skewed data or outliers — median house price beats mean when one mansion distorts the average.

Can there be more than one mode?

Yes — bimodal or multimodal; if every value appears once, there is no mode.

What’s the difference between mean and average?

In everyday use they’re the same (arithmetic mean).

How do you find the median of an even-sized list?

Average the two middle numbers: 2, 4, 6, 8 → 5.

Should I use the mean or the median for salaries?

Use the median: a few very high salaries pull the mean upward, so the median (the middle earner) better represents typical pay. This is why official reports cite median income, not average income.

How do outliers affect the mean?

Strongly — one extreme value drags the mean toward it. In 2, 4, 4, 5, 9 the mean is 4.8; replace 9 with 90 and the mean jumps to 20.8 while the median stays 4. Always check for outliers before trusting the mean.

What is the range and how is it calculated?

Range = maximum minus minimum. For 2, 4, 4, 5, 9: 9 – 2 = 7. It measures spread; pair it with the mean, median, and mode for a fuller picture.

Related Calculators

Also try our Percentage Calculator, Fraction Calculator and Probability Calculator — or browse all Math Calculators.