Finance 44 tools → Date 19 tools → Health 27 tools → Everyday 23 tools → Math 19 tools → Construction 16 tools → PDF 23 tools → Education 10 tools → Conversion 7 tools → Text 12 tools → Image 8 tools → About → Contact →

Mean Median Mode Calculator

Runs entirely in your browser — your numbers are never sent anywhere.

Mean (average)
—

Detail

Step-by-step working

Three different ideas of a typical value

Mean, median and mode all claim to describe the centre of a set of numbers, but they answer three different questions. The mean shares the total equally: add everything and divide by how many values there are. The median is positional: sort the values and take the one in the middle. The mode is about popularity: the value that appears most often. On tidy, symmetric data all three land in nearly the same place; on skewed data they separate, and choosing the wrong one can seriously misrepresent what is typical. This calculator gives all three, plus the range, with the working shown.

The three formulas in words

Mean = sum ÷ count  ·  Median = middle value of the sorted list  ·  Mode = most frequent value  ·  Range = maximum − minimum

The mean needs the sum and the count. The median needs the data sorted first: with an odd count there is a single middle value; with an even count, average the two middle values. The mode needs a frequency count. A data set can have one mode, several modes (multimodal), or — when every value appears exactly once — no mode at all, which this calculator reports honestly instead of inventing one. The range is the simplest spread measure: biggest minus smallest.

When the median beats the mean

The mean is dragged by extreme values because every value goes into its sum. One very high salary in a small company makes the mean pay look generous while most staff earn far less; house prices and incomes are reported as medians for exactly this reason. The median only cares about position, so outliers slide past it. A good habit is to compare the two: if the mean is noticeably above the median, a few large values are pulling it up; if it is below, a few small values are pulling it down. The Standard Deviation Calculator then quantifies that spread properly.

When the mode is the only one that works

The mode is the sole centre measure that works for non-numeric data — the most common shoe size, bus route or product colour has a mode but no mean or median. For numbers it shines with repeated values, like the default data here where 7 appears three times. Watch for ties: if two values share the highest frequency, both are modes and both are reported. And if your data was rounded before you received it, modes can be an artefact of the rounding, so treat a mode based on one extra appearance with mild suspicion.

Worked example

For 4, 8, 8, 10: the sum is 30 and the count is 4, so the mean is 7.5. Sorted, the two middle values are 8 and 8, so the median is 8. The mode is 8 (it appears twice) and the range is 10 − 4 = 6.

How to use this calculator

  1. Paste or type your numbers into the box, separated by commas or spaces.
  2. Read the mean in the green panel.
  3. Compare the median — a big gap between mean and median signals skewed data or outliers.
  4. Check the mode and its frequency, and the range for the overall spread.
  5. Follow the step-by-step panel for the sorting, middle position and frequency count.

A quick guide to choosing

Exam marks, heights and most measurement data: the mean is standard, ideally quoted with the standard deviation. Incomes, house prices and anything with a long tail of big values: lead with the median. Sizes, categories and most popular choices: only the mode makes sense. Reporting two of them together costs nothing and protects you from the classic trick of picking whichever single average flatters an argument. If someone quotes you an average, asking which kind it is — and what the range looks like — is the fastest critical-thinking move in everyday statistics.

Frequently asked questions

What if there are two modes?
Then the data is called bimodal and both values are modes — this calculator lists them all with their shared frequency. More than two modes is called multimodal. It often hints the data mixes two groups, such as heights of adults and children combined.
How is the median found with an even number of values?
Sort the data and average the two middle values. For 2, 3, 5, 7 the middle pair is 3 and 5, so the median is 4 — a value that does not itself appear in the data, which is perfectly normal.
Can a data set have no mode?
Yes — if every value appears exactly once (or all appear the same number of times with that number being one), there is no most frequent value. This calculator says None rather than picking a value at random.
Keep going

Related math calculators