Mean, Median, Mode and Range Calculator (With Steps and Outliers)

Enter any list of numbers, or a frequency table written as value:count, and get the mean, median, mode, range, quartiles and outliers in one go. The working is shown, with a histogram that marks the mean and the median so you can see which one describes your data better.

Mean Median Mode Calculator

Paste your numbers, add counts with value:count if you have a frequency table, and see all three averages with the working and the shape of the data.

Mean, Median and Mode in One Minute

MeasureWhat it isBest forWeak spot
MeanSum ÷ countSymmetric data, further calculationsPulled by outliers
MedianMiddle value after sortingSkewed data (pay, prices, waiting times)Ignores most of the values’ size
ModeMost frequent valueCategories, shoe sizes, “most common”May not exist, or be several

All three are measures of central tendency, three different answers to “what is typical?”. The word “average” usually means the mean, but in news stories about house prices or salaries it often means the median, which is why the two can seem to contradict each other.

How to Find the Mean

Add every value and divide by how many there are. For 3, 7, 7, 9, 10, 12, 12, 12, 40 the sum is 112 and there are 9 values, so the mean is 112 ÷ 9 = 12.44. With a frequency table, multiply each value by its count first: 1:4, 2:7, 3:12 means (1×4 + 2×7 + 3×12) ÷ 23.

Finding a missing number. If you know the target mean and all values but one, the missing value is target × (n + 1) − current sum. The calculator has a small field for exactly this, which is one of the most common exam variations.

How to Find the Median (Odd and Even Counts)

  1. Sort the numbers from smallest to largest.
  2. With an odd count, the median is the value in position (n + 1) ÷ 2.
  3. With an even count, average the two middle values, positions n ÷ 2 and n ÷ 2 + 1.

For 3, 7, 7, 9, 10, 12, 12, 12, 40 there are nine values, so the median is the fifth: 10. For 4, 8, 15, 16, 23, 42 the middle pair is 15 and 16, so the median is 15.5. The most common slip is forgetting to sort first.

How to Find the Mode, and What If There Is None

The mode is the value that appears most often. In our nine-number example 12 appears three times, so the mode is 12. If two values tie, the data is bimodal; with three or more it is multimodal. If every value appears equally often, as in 4, 8, 15, 16, 23, 42, there is no mode. A mode of “1” in a list where nothing repeats is wrong, and the calculator says “no mode” instead.

Bimodal data is often a hint that two groups have been mixed, for example heights of adults of both sexes. Reporting a single mean for such data hides the story.

Range, Quartiles, IQR and Outliers

The range is the maximum minus the minimum. The quartiles Q1 and Q3 split the sorted data into quarters (the calculator uses the median-of-halves method, which excludes the median when n is odd), and the IQR is Q3 − Q1. A value is flagged as a possible outlier when it falls below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR. Software packages use slightly different quartile conventions, so a textbook answer can differ in the last digit.

Mean vs Median: Which Should You Report? A Salary Example

Nine salaries at a small firm, in thousands: 31, 34, 35, 36, 38, 40, 42, 45 and 400 (the owner).

VersionMeanMedian
With the owner (400)77.938
Owner paid 48 instead38.838

One salary doubles the mean while the median barely moves. Our opinion: the mean is overused and the median is underused outside classrooms. When a few extreme values are possible, always show both. If they differ a lot, that gap is the finding. In the chart under the calculator the orange line (mean) and green dashed line (median) pull apart exactly when the data is skewed.

Tip

Mean above median suggests right skew (a long tail of high values). Mean below median suggests left skew. Roughly equal suggests a symmetric shape.

Mean, Median and Mode for Grouped Data

With class intervals you only know ranges, so the answers are estimates. Mean ≈ Σ(midpoint × frequency) ÷ Σfrequency. The modal class is the interval with the highest frequency. The median class is the one containing the (n ÷ 2)th value, and the median is estimated by L + ((n ÷ 2 − F) ÷ f) × w, where L is the lower boundary, F the cumulative frequency before the class, f its frequency and w the class width. If you can, prefer the raw numbers.

Doing It in Excel, Google Sheets and TI-84

TaskExcel / SheetsTI-84
Mean=AVERAGE(A1:A9)1-Var Stats → x̄
Median=MEDIAN(A1:A9)1-Var Stats → Med
Mode=MODE.SNGL(A1:A9) / =MODE.MULT(A1:A9)sort the list, count by eye
Range=MAX(A1:A9)-MIN(A1:A9)maxX − minX

Standard deviation is the natural next step: use the standard deviation calculator on the same list.

Practice Questions

  • Find the mean, median and mode of 5, 8, 8, 10, 12, 14. (Answers: 9.5, 9, 8)
  • The mean of 4 numbers is 15. A fifth number makes the mean 16. What is it? (Answer: 20)
  • Which is bigger for 1, 2, 2, 3, 100: the mean or the median, and why? (Mean 21.6; the outlier pulls it up)

Why Students Get Stuck on Mean, Median and Mode, and What a Good Calculator Should Do

Searching for help with mean, median and mode usually starts late at night with one problem that will not work out. The three averages sound alike, and an outlier changes which one is useful. A good calculator fixes that by showing each step, checking its own answer and explaining the idea in plain words. This section covers what students struggle with, what they want, and how this page responds.

In short: students need to pick the right average and compute it correctly, not just see a final number, and a calculator earns trust only when its steps can be checked.

Understand the pain points

What students get stuck on

Most mistakes here are not about arithmetic. They come from one rule applied the wrong way round, which is why seeing every step matters.

Understand the frustrations and desires

What they feel, and what they want

Each frustration points to a wish: a clearer step, a built-in check, an explanation in plain words.

  • Wants the sorted list shown
  • Wants all three averages and the range together
  • Wants a note on outliers

Build the page around their intent

Each intent has a place on this page

The page follows intent, not features, so each need has a clear starting point.

  • I need an answer now: type the problem into the calculator at the top of this page.Find the mean, median and mode of 3, 7, 7, 2, 9
  • I need to understand: the sections below explain the idea in plain words and list the common mistakes.
  • I need to check my work: every step is shown, so the first line that differs from yours is the one to study.
  • I need practice: open the solver, tap + and choose Create Practice Test.
  • I need it explained aloud: in the solver, tap + and choose Create Video.

Our View: What Is Overrated, Underrated and Wrong About Mean, Median and Mode

Overrated. Treating the mean as the one true “average”. It is the most taught, but a single extreme value drags it away from what is typical.

Underrated. Comparing the mean with the median. When they sit far apart, the data are skewed or contain an outlier. For 20, 22, 23, 25 and 90 the mean is 36 while the median is 23, and the median describes a typical value far better.

Plain wrong. “The median is the middle number of the list as typed.” The list must be sorted first, and with an even count the median is the mean of the two middle values. The mode is simply the most frequent value; a set can have one mode, several, or none.

Test it: enter 20, 22, 23, 25, 90 and check that the mean is 36 and the median is 23.

Mean Median Mode: Questions People Ask

How do you find the mean, median and mode?

Mean: add the numbers and divide by how many there are. Median: sort the numbers and take the middle one, or the average of the two middle ones. Mode: the value that appears most often.

What is the median if there are two middle numbers?

Add the two middle numbers and divide by 2. For 15 and 16 the median is 15.5.

Can a data set have no mode or more than one mode?

Yes. If every value occurs equally often there is no mode, and if two or more values tie for most frequent the data is bimodal or multimodal.

When should I use the median instead of the mean?

Use the median when the data is skewed or has outliers, such as salaries, house prices or waiting times, because extreme values pull the mean but barely move the median.

What does it mean if the mean is greater than the median?

It usually means the data is right-skewed: a few large values are dragging the mean upwards.

What is the range?

The range is the largest value minus the smallest value. It measures total spread but depends only on the two extreme values.

How do I find a missing number when the mean is known?

Multiply the target mean by the new count (n + 1), then subtract the sum of the numbers you already have.

How do I do a frequency table?

Write each value as value:count, for example 1:4 2:7 3:12. The calculator expands it, so the mean, median and mode are weighted correctly.

↑