Mean, Median, Mode Calculator (with Range)

This free mean, median, mode calculator finds the three measures of center and the range of any data set in one go. Paste a list of numbers, a frequency table (value and count) or grouped data (classes like 10–20). You get the mean, median, every mode (or “no mode”), the range, count, sum, minimum and maximum, a frequency chart with the mean and median marked, step-by-step working with your numbers and the exact TI-84 keystrokes. It also tells you what score you need to reach a target mean. Results update as you type.

Contents

How to Use the Mean, Median, Mode Calculator

  1. Pick the data type. List of numbers for raw data, Value + frequency when each value comes with a count (for example “3, 9” means nine 3s), or Grouped data for classes such as “20-30, 12”.
  2. Paste or type your data. Commas, spaces, tabs and new lines all work, so you can copy a column straight from Excel or Google Sheets. Negative numbers and decimals are fine.
  3. Read the purple boxes: mean, median, mode and range, then count, sum, minimum and maximum. The chart highlights the mode in pink and draws the mean (solid line) and the median (dashed line).
  4. Use the extras: the frequency table, other averages (midrange, trimmed, geometric, harmonic and quadratic means), the target mean box, step-by-step working and the TI-84 keys.

Results update as you type. Copy share link saves your data in the URL. Need the spread as well? The standard deviation calculator gives the variance and SD, and the quartile calculator draws a box plot.

What Are the Mean, Median and Mode?

The mean, median and mode are the three common measures of central tendency: three different answers to “what is a typical value?”

  • The mean (the average) is the total divided by the count. Every value counts, so one very large or very small value can pull it a long way.
  • The median is the middle value once the data are sorted. Half the values sit at or below it and half at or above it, and an extreme value hardly moves it.
  • The mode is the value that appears most often. A data set can have one mode, several modes, or none at all, and the mode is the only one of the three that also works for categories (the most common shoe size or favourite colour).

The range is not a measure of center. It is the simplest measure of spread, the distance from the smallest to the largest value, and homework usually asks for it alongside the other three.

Mean, Median, Mode and Range Formulas

Mean: x̄ = Σx / n (frequency table: x̄ = Σf·x / Σf)

Median: the value at position (n + 1)/2 of the sorted data. If n is even, average the values at positions n/2 and n/2 + 1.

Mode: the value(s) with the highest frequency

Range = maximum − minimum Midrange = (maximum + minimum) / 2

The population mean is written μ and the sample mean x̄, but the arithmetic is identical. Unlike the standard deviation, there is no n versus n − 1 choice for the mean, median or mode.

Worked Example: 10 Test Scores

The calculator opens with this list of ten test scores: 72, 85, 90, 85, 68, 77, 85, 94, 72, 81.

  1. Sort: 68, 72, 72, 77, 81, 85, 85, 85, 90, 94 (n = 10).
  2. Mean: Σx = 809, so x̄ = 809 / 10 = 80.9.
  3. Median: n is even, so average the 5th and 6th values: (81 + 85) / 2 = 83.
  4. Mode: 85 appears three times, more than any other score, so the mode is 85. (72 appears twice, which is not enough.)
  5. Range: 94 − 68 = 26. The midrange is (94 + 68) / 2 = 81.
  6. Shape: the mean (80.9) is below the median (83), which is below the mode (85). That ordering points to a slight lean to the left: the low score of 68 drags the mean down.
MeasureResultWhat it says
Mean80.9The average score
Median83Half scored 83 or less
Mode85The most common score
Range26Lowest to highest is 68 to 94
10% trimmed mean80.875The mean without the top and bottom score

No Mode, Bimodal and Multimodal Data

  • One mode (unimodal): 2, 4, 4, 6, 8 has mode 4.
  • Two modes (bimodal): 10, 12, 12, 14, 15, 15 has modes 12 and 15. Both appear twice. Report both, not their average.
  • More than two (multimodal): 1, 1, 2, 2, 3, 3, 4 has modes 1, 2 and 3.
  • No mode: 1, 2, 3, 4, 5. Every value appears once, so none is more common than the others. The same goes for 5, 5, 7, 7: every value appears twice, so there is no mode.

Some textbooks call every value a mode when they all tie. This calculator follows the more common classroom rule: when every value has the same frequency, it reports no mode, and it names all the modes when two or more values share the top count. A one-number list such as 7 has mode 7.

Mean, Median and Mode from a Frequency Table

When data come as values with counts, multiply each value by its frequency. For the Value + frequency example (1, 2, 3, 4, 5, 6 with frequencies 4, 7, 9, 5, 3, 2):

  1. n = Σf = 30.
  2. Mean: Σf·x = 1·4 + 2·7 + 3·9 + 4·5 + 5·3 + 6·2 = 92, so x̄ = 92 / 30 = 3.0667.
  3. Median: n = 30 is even, so the median is the average of the 15th and 16th values. The cumulative frequencies are 4, 11, 20, …, so positions 12 to 20 are all 3s and the median is 3.
  4. Mode: the highest frequency is 9, for the value 3.
  5. Range: 6 − 1 = 5.

The common slip is to take the mean of the frequencies, or the median of the six values 1 to 6, instead of the data the table describes.

Grouped Data: Estimated Mean, Median and Mode

With grouped data (classes such as 0–10, 10–20, …) the original values are gone, so the mean, median and mode can only be estimated. The Grouped data example uses classes 0–10, 10–20, 20–30, 30–40, 40–50 with frequencies 3, 7, 12, 6, 2 (n = 30).

  • Estimated mean = Σf·m / Σf, where m is each class midpoint: (5·3 + 15·7 + 25·12 + 35·6 + 45·2) / 30 = 720 / 30 = 24.
  • Median = L + ((n/2 − CF) / f) × h. n/2 = 15, so the median class is 20–30 (cumulative frequency reaches 22 there). L = 20, CF = 10 (before the class), f = 12, h = 10: 20 + (5 / 12) × 10 = 24.1667.
  • Mode = L + (f₁ − f₀) / ((f₁ − f₀) + (f₁ − f₂)) × h, using the modal class 20–30 (f₁ = 12) and its neighbours (f₀ = 7, f₂ = 6): 20 + 5 / (5 + 6) × 10 = 24.5455.

Enter the classes with touching limits (10-20, 20-30, …). If your book writes 10–19, 20–29, use the class boundaries 9.5-19.5, 19.5-29.5 for the median and mode formulas. The standard deviation calculator accepts the same grouped format if you also need the estimated SD.

Mean vs Median vs Mode: Which Should You Use?

Change the 94 in the example to 194 (a typing error, or one exceptional score) and look at what moves:

OriginalWith 194 instead of 94
Mean80.990.9
Median8383
Mode8585
Range26126

One value raised the mean by 10 points and the range by 100, while the median and mode did not change at all. That is the practical rule:

  • Use the mean for roughly symmetric data without outliers (test scores, measurements, most lab data). It uses all the information and is what later formulas (standard deviation, t-tests) are built on.
  • Use the median for skewed data or data with outliers: incomes, house prices, waiting times, reaction times.
  • Use the mode for categories and for the most common value: the best-selling size, the most frequent number of siblings.

As a rough guide, mean > median suggests a right-skewed set (a long tail of high values) and mean < median a left-skewed set. The calculator writes this comparison under the chart. To check whether a value like 194 is formally an outlier, use the 1.5 × IQR fences in the quartile calculator or z-scores in the z-score calculator.

What Score Do I Need for a Target Mean?

“My first ten scores average 80.9. What do I need on the next test to raise my average to 82?” The new total must be 82 × 11 = 902. The current total is 809, so the next score must be

x = target × (n + k) − Σx, divided by k → (82 × 11 − 809) / 1 = 93

where k is the number of new values. With two more tests, each would need to average (82 × 12 − 809) / 2 = 87.5. The target mean box under the results does this for your own data and warns you when the answer is above 100 on a 100-point scale.

How to Find Mean, Median and Mode on a TI-84

Mean and median: 1-Var Stats

  1. Press STAT 1 (Edit). Clear L1 by arrowing onto the name, then CLEAR ENTER.
  2. Type the data into L1, pressing ENTER after each value. For a frequency table, put the values in L1 and the frequencies in L2.
  3. Press STAT, arrow right to CALC, press 1 (1-Var Stats). Set List: L1 (and FreqList: L2 for a table), then Calculate and ENTER.
  4. The mean is x̄ at the top. Scroll down for n, minX, Med (the median) and maxX. For the example: x̄ = 80.9, n = 10, minX = 68, Med = 83, maxX = 94.

Range

Range = maxX − minX = 94 − 68 = 26. You can type it from the stored results: VARS 5 (Statistics), choose maxX, press −, choose minX, then ENTER. Run 1-Var Stats first so the values are up to date.

Mode: there is no mode button

The TI-84 Plus, TI-84 Plus CE and TI-83 have no built-in mode command. The quickest way is to sort the list so equal values sit together: STAT 2 (SortA(), 2nd 1 (L1), ), ENTER. Then open STAT 1 and scan L1 for the value that repeats most. For a frequency table, the mode is the L1 value beside the largest L2 entry. The calculator above names the mode and shows the sorted list, so you can check your scan.

For grouped data, enter the class midpoints in L1 and frequencies in L2. The TI-84’s x̄ then equals the estimated mean (24 in the example), but its Med is the median of the midpoints (25), not the interpolated textbook median (24.1667). The calculator explains this when you use the grouped tab. Try the keystrokes on our TI-84 Plus CE calculator online.

How This Differs from the Standard Deviation and Quartile Pages

  • The standard deviation calculator is about spread: sample and population SD, variance, z-scores and a histogram with a ±1 SD band. It shows the mean because the SD needs it. This page is about center: mean, median, mode and range together, with bimodal and no-mode handling, frequency and grouped-data estimates, and the target-mean question.
  • The quartile calculator gives the five-number summary (min, Q1, median, Q3, max), the IQR, outliers and a box plot, with four quartile methods. Use it when the question is about quartiles, percentiles or outliers.
  • The z-score calculator tells you how far one value is from the mean in standard deviations.

Browse every tool on the math and statistics calculators hub.

Common Mistakes

  • Forgetting to sort before finding the median. The median of 7, 3, 3, 10, 12 is 7 (the middle of 3, 3, 7, 10, 12), not 3 (the middle of the list as typed).
  • Taking one middle value when n is even. With 10 values, average the 5th and 6th.
  • Averaging two modes. If 12 and 15 both appear most often, the modes are 12 and 15, not 13.5.
  • Saying the mode is 0 or the whole list when nothing repeats. The answer is “no mode.”
  • Averaging the frequencies in a table instead of computing Σf·x / Σf.
  • Reporting the range as “68–94.” The range is one number: 94 − 68 = 26.
  • Calling grouped-data results exact. They are estimates from the class midpoints and limits.

Why This Mean, Median, Mode Calculator Is Different

  • All three measures of center plus the range, with every mode listed and a clear “no mode” when nothing repeats.
  • Three input types: raw lists, value + frequency tables and grouped classes (estimated mean, interpolated median and modal-class mode, with the formulas filled in).
  • A frequency chart with the mode highlighted and the mean and median drawn, plus a frequency table with relative and cumulative counts.
  • A target-mean box that answers “what do I need on the next test?”
  • Exact TI-84 keys, including the SortA trick for the mode, which the calculator cannot do on its own.
  • Checked against Python’s statistics module and NumPy/SciPy on hundreds of random lists. It works in dark mode, makes share links and fits a phone screen.

Mean, Median, Mode Calculator FAQ

Mean: add all the values and divide by how many there are. Median: sort the values and take the middle one (or the average of the two middle ones when the count is even). Mode: the value that appears most often. For 72, 85, 90, 85, 68, 77, 85, 94, 72, 81 the mean is 80.9, the median is 83 and the mode is 85.

If every value appears the same number of times (for example 1, 2, 3, 4, 5), there is no mode. If two values tie for the highest count, the data are bimodal and both are modes. Three or more tied values make it multimodal. Never average the modes.

Sort the numbers and average the two middle values. With n values, those are the values at positions n/2 and n/2 + 1. For 68, 72, 72, 77, 81, 85, 85, 85, 90, 94 the 5th and 6th values are 81 and 85, so the median is 83.

Subtract the smallest value from the largest: range = max − min. For the example scores that is 94 − 68 = 26. The range is a single number, not the pair “68 to 94.”

Enter the data in L1 (STAT, 1), then run STAT ▸ CALC ▸ 1-Var Stats on L1. x̄ is the mean and Med is the median; minX and maxX give the range. The TI-84 has no mode command: sort the list with SortA(L1) and look for the value that repeats most.

Use class midpoints for the mean: Σf·m / Σf. For the median use L + ((n/2 − CF) / f) × h on the median class. For the mode use L + (f₁ − f₀) / ((f₁ − f₀) + (f₁ − f₂)) × h on the modal class. All three are estimates. Pick the Grouped data tab and the calculator fills in each formula.

Use the mean for symmetric data without outliers, the median for skewed data or data with outliers (incomes, house prices), and the mode for categories or the most common value. If the mean and median are far apart, report the median or both.

Needed score = target mean × (number of scores after the next one) − current total. With ten scores totalling 809 and a target of 82: 82 × 11 − 809 = 93. Use the target-mean box under the results for your own numbers.

TI 84 Calc PRO is not affiliated with or endorsed by Texas Instruments. TI-84 Plus CE is a trademark of Texas Instruments.

About this page

Written and maintained by TI 84 Calc PRO Editorial TeamLast updated