U

Mean, Median, Mode, Range Calculator

Calculates mean, average, median, mode and range of up to 10 numbers, instantly, with a data chart.
Input Details

Summary

Your data set

Breakdown

Sum
0
Largest value
0
Smallest value
0
Midrange
0

Key Assumptions

  • All ten value slots are treated as real data points — a slot left at 0 counts as the number 0, just like a 0 you type into the calculator.
  • The median of ten values is the mean of the 5th and 6th values when the data is sorted ascending.
  • When several values tie for most frequent, the mode shown is the average of those tied values.
  • The range is max − min of all ten values; it is fully controlled by the two extreme values, so 1 outlier can stretch it.
  • Decimals are allowed — the same formulas work on fractional numbers.

Formula Used

Mean = Σx ÷ n Median = the middle when sorted Mode = most frequent Range = max − min
Embed this calculator on your website

Add this embed page to your site — visitors use the calculator right from your page.

What are mean, median, mode and range?

Descriptive statistics begin with four measures that describe a data set in one number each: mean (the arithmetic average), median (the middle of a sorted list), mode (the most frequent value) and range (how far the values stretch from smallest to largest). Each answers a different question about the same set of numbers, and none of them tells the whole story alone. Report all four together and you have a compact, honest summary of almost any list: the average test score, monthly expenses, sensor readings, delivery times, retail footfall.

This calculator takes up to ten values, computes all four measures at once, and draws a bar chart of your data so the shape of the set is visible at a glance.

The arithmetic mean (average)

The mean is the sum of every value divided by how many values there are. For the default set — 12, 23, 5, 41, 38, 23, 7, 19, 23, 30 — the sum is 221, and 221 ÷ 10 = 22.1. The notation μ for a population or xÌ„ for a sample hides nothing: it is always "add everything, divide by the count".

The mean is the most popular measure because it uses every value, which is also its weakness: it is dragged hard by outliers. Add one value of 1,000,000 to a small set and the mean leaps even though nothing typical changed. So an average is trustworthy when the values cluster together; when they do not, the median often serves better.

The median (middle value)

Sort the list from smallest to largest and the median is the value sitting in the middle. Sorted, the default set becomes 5, 7, 12, 19, 23, 23, 23, 30, 38, 41. Ten values have two middle numbers — position 5 and 6 — and the median is their mean: (23 + 23) ÷ 2 = 23.

The median's strength is indifference to monsters. Push an enormous 1,027,892 into a set and the median changes barely at all, because it only ever looks at the middle. That is why median household income is the standard for "typical" salaries, and why real estate listings quote median prices — one mega-mansion cannot inflate it. When the question is "what is the usual, typical, expected" value in a set with a few extreme entries, prefer the median; when the question is "what is the total per head", prefer the mean.

The mode (most frequent)

The mode is the value that appears most often. In the default set, 23 appears three times — every other value appears once — so the mode is 23. A data set can have two modes (bimodal), three or more (multimodal): in 10, 10, 20, 20, 25 both 10 and 20 are modes. When several values tie, this calculator shows the tie-break average of the tied values, so a bimodal set answers with the midpoint of its pair of modes; the subtitle of the card always reminds you the answer is "most frequent value".

The mode is the only one of the four that works on labels, not just numbers: the most-sold colour, the most common surname, the most popular delivery slot. Classifying rows by their modal answer — "this group's typical brand" — uses the same idea in a spreadsheet.

The range (spread)

The range is the difference between the maximum and the minimum: 41 − 5 = 36 in the example. It is the fastest row about spread, but it uses only two values, so it is captive to the extremes. Remove or add one outlier near the edge and the range jumps while nothing "really" changes. For a better read of spread you normally want a measure of variation based on every value — see the standard deviation calculator for that — but the range remains the natural first glance: it tells you instantly whether numbers bunch or scatter.

Why the four together are better than any one

Each measure on its own can mislead; the classic example is the salary list. Suppose {20k, 22k, 25k, 28k, 900k}: the mean (189k) suggests great pay, the median (25k) suggests ordinary pay, and both are correct on their own terms. Means are great for totals and budgets, medians for "typical" values, modes for the crowd favourite, and range paints the extremes. Use the quartet and "the size" no longer menu-dependent.

Working with the data set: ten slots

The form has exactly ten value slots. All ten slots are real data — an empty-looking 0 is a genuine 0 in the set, so a snake 0 for an unmeasured value is a data entry error, not a missing slot. Decimals are fine. Once you press Calculate the four headline cards (Mean, Median, Mode, Range) plus Sum, Largest, Smallest and Midrange form the full summary, while the bar chart shows the ten values side by side.

The bar chart

The chart is plainwood: one bar per value, in position order. Two visual checks solve a surprising number of data problems: any bar out of line with its neighbours is a candidate outlier or a typo; the gap between the smallest and the tallest is exactly the range you read under it. If three bars are identical heights, that is the mode you just read. This turns the chart into a verification tool for the numbers above it, which is why the calculator always prints both.

Worked examples

Try changing the ten slots and watch each card respond:

  • Duplicate almost every value once — e.g. five copies of 10 and five of 11. Mean 10.5, median 10.5, mode splits 10/11 (shown 10.5), range 1.
  • One huge value — 1, 2, 3, 4, 5, 6, 7, 8, 9, 1000. Mean ≈ 104.5, median 5.5! The chart exposes the outlier instantly while the median stays peaceful.
  • All equal — ten 7s: mean, median and mode all 7, range 0. The set is dead; no spread left.
  • Negatives and decimals — −3, −1, 0, 0.5, 1, 2.5 etc. work identically; the mean of -1 and 1 is 0, which can surprise but is correct popular.

Mean vs median vs mode: which to report?

SituationMeasure that fits best
Total cost, total production, ratio per headMean
Salaries, rents, city house pricesMedian
Most sold size, most common ratingMode
Scores with a strong outlier presentMedian
First glance at spread of a groupRange
School report cards and GPA-style averagesMean (weighted)

Step beyond the four

Once mean, median, mode and range are clear, the next level is measure of variation: standard deviation tells you how far values normally stray from the mean, and with it a set becomes "mean 50 ± 12". Weighted sums — where each position matters — work with the average calculator; proportions per hundred with the percentage calculator; and after the numbers are final, the rounding helpers keep the report clean. Learning the four on ten slots such as these is the foundation on which each of those fancier tools sits.

Summary

Mean responds to totals and outliers, median to typicals and resilience, mode to favourites and categories, and range to spread. Enter up to ten numbers, read all four answers plus the chart, and keep in mind the two warnings built into this page: zeros count as data, and the mode card falls back to the tie-break average when the crown is shared.

Real-world scenarios where each measure shines

Choosing which measure to report is as important as computing the number correctly. A school principal comparing class test scores uses the mean because every student's performance contributes to the school average, and the total matters for funding. A real estate agent pricing homes in a neighbourhood reports the median because one luxury mansion cannot distort the "typical" home price. A clothing retailer ordering stock checks the mode — the most frequently purchased size — to avoid overstocking unpopular sizes. A quality-control engineer monitoring widget weights uses the range daily: if the morning batch has a twenty-gram spread and the afternoon batch suddenly shows a sixty-gram spread, something in the manufacturing line has shifted before a single widget fails inspection.

Combining the four measures in a report

A single-sentence report that says "The average temperature was 22 degrees" is incomplete. A complete summary says "Average temperature was 22°C, the median was 21°C, the most common reading was 20°C, and the range spanned from 15°C to 30°C." The mean and median together tell you whether the distribution is skewed — if they are far apart, outliers are pulling the mean away from the centre. The mode tells you the most likely value on any given day, useful for planning. The range immediately signals whether conditions were steady or volatile. When all four measures point in the same direction and complement each other without contradiction, you have a dataset that tells a clean story. When they contradict, that contradiction itself is the story worth investigating further — dig into the outliers, check the data collection method, or split the set into subgroups to find where the real pattern hides.

Disclaimer

Results are provided as estimates for informational purposes only and may be inaccurate. Always verify outcomes with a qualified professional before making financial or personal decisions based on these calculations.

FAQs

Related Calculators