Skip to tool
ecech.
📊 Math & Statistics

Free Mean, Median and Mode Calculator with Outlier and Skew Warnings

All three centres at once, with the working shown and a distribution plot that makes it obvious when they disagree — which is exactly when the average is misleading you.

Mean

sum ÷ count

Median

the middle value when sorted

Mode

most frequent value

Distribution

Working

Advertisement

How the calculation works

Symmetric — all three agree mean = median = mode the average describes a typical case Right-skewed — they separate mode median mean dragged right by a few large values

How to Use This Tool

"Average" is not one thing. There are three common measures of the centre of a set of numbers, they usually give different answers, and choosing the wrong one is how a technically accurate statement ends up being misleading. This calculator returns all three at once, precisely so the disagreement between them is visible rather than hidden behind a single figure.

Entering data

Type or paste your numbers separated by commas, spaces or line breaks — you can paste a column straight out of a spreadsheet. Negatives and decimals are fine. Anything that is not a number is ignored rather than silently treated as zero, and the count tells you how many values were actually read, so you can check nothing was dropped.

Which centre to use, and when

  • Mean is the arithmetic average: add everything, divide by the count. It uses every value, which is its strength and its weakness — one extreme number moves it a long way. Use it when the data is roughly symmetric and every value genuinely counts.
  • Median is the middle value once sorted. Half the data is below it and half above. It ignores how extreme the extremes are, which makes it the right choice for income, house prices, response times and anything with a long tail.
  • Mode is the most frequent value. It is the only one that works on categories rather than numbers, and the only one that can legitimately have several answers or none at all.
Seven salaries in a small company $480k $28k–$36k median $33k mean $96k "The average salary here is $96,000" is arithmetically true and describes nobody. Six of the seven earn a third of it.
When one value sits far from the rest, the mean follows it and the median does not. That gap is the signal to report the median instead — or to report both and explain the difference.

The warnings this tool gives you

Two automatic checks run on every data set. The first flags outliers using the standard 1.5 × interquartile range rule, and shows which values triggered it. An outlier is not necessarily an error; it might be your most interesting data point. But you should know it is there before you quote a mean. The second flags a large gap between mean and median, which indicates skew. When the mean sits well above the median, the distribution has a long right tail, and the median is almost certainly the more honest summary.

Reading the working

The panel at the bottom shows each step: the sorted values, the sum, the division, and how the middle position was found. For an even count there is no single middle value, so the median is the mean of the two central numbers — the tool shows which two it used. This is the part most textbook questions actually test, and the part most calculators hide.

Advertisement

Frequently Asked Questions

When should I use the median instead of the mean?
Whenever the data has a long tail or extreme values: incomes, house prices, response times, wealth, page load times. The mean is pulled toward extremes and can end up describing nobody in the data set. If the tool flags a large gap between mean and median, that is your signal that the median is the more honest summary.
What if there is no mode, or several?
Both are normal and neither is an error. If every value appears once there is no mode, which usually means the data is continuous rather than categorical. If several values tie for the highest frequency, all of them are modes — two is bimodal, three or more is multimodal, and it often means you have mixed two different populations together.
How is the median found when there is an even number of values?
There is no single middle value, so you take the two central values and average them. With ten values sorted, that means positions five and six. The working panel shows exactly which two were used, which is what most exam questions are actually checking.
Why does one extreme value change the mean so much?
Because the mean divides the total by the count, so every value contributes in proportion to its size. In a set of seven salaries around $32,000, one salary of $480,000 adds roughly $64,000 to the total per person. The median only cares about position, so it moves by at most one place.
What counts as an outlier?
The common convention is any value more than 1.5 interquartile ranges below the first quartile or above the third, which is the rule this tool applies. It is a heuristic, not a law. An outlier may be a data-entry error, a genuinely unusual case, or the most important observation you have — investigate before deleting.
Can I calculate the mode of non-numeric data?
Conceptually yes, and mode is the only one of the three that works on categories such as colours or product names. This tool reads numbers only, so for categorical data count the frequencies directly. Mean and median require an ordering, which categories do not have.
Does the order I enter the numbers matter?
No. All three measures are computed after sorting, so any order produces the same result. The tool shows the sorted list in the working panel so you can verify what it read, which is the fastest way to spot a value that was mistyped or accidentally split.

Related tools in Math & Statistics

Browse all Math & Statistics tools