Skip to content
Statculator
Descriptive Statistics

Mean, Median, Mode and Range Calculator

Free mean, median, mode and range calculator. Paste a list of numbers to get all four with steps, a sorted data table and the frequency of every value.

Free, no sign-up Runs in your browserBy Hira Noor, BS MathematicsUpdated

Try
10 values

Separate values with commas, spaces or new lines. Order does not matter; the calculator sorts them.

Results

Mean
6.1
Median
6.5
Positions 5 and 6 of 10 sorted values
Mode
7
Unimodal, appears 3×
Range (max − min)
6
Count, n
10
Sum, Σx
61
Minimum
3
Maximum
9
Distinct values
7

Interpretation: The mean (6.1) is below the median (6.5), a sign that smaller values are stretching the lower end. The mode is 7, which appears 3 times.

Sorted data

PositionValueNote
13minimum
24
35
45
56median position
67median position, mode
77mode
87mode
98
109maximum

Highlighted: positions 5 and 6; the median is the average of these two values.

Frequency of each value

ValueFrequencyCumulative frequency
311
412
524
615
738
819
9110
Total10

Highlighted rows are the mode(s).

Step-by-step solution

  1. 1

    Sort the data from smallest to largest

    3, 4, 5, 5, 6, 7, 7, 7, 8, 9
  2. 2

    Mean: add the values and divide by n

    Mean = Σx / n = 61 / 10 = 6.1
  3. 3

    Median: find the middle of the sorted list

    n = 10 is even, so average the values in positions 5 and 6
    Median = (6 + 7) / 2 = 6.5
  4. 4

    Mode: find the most frequent value

    The mode is 7, which appears 3 times.

    3: 1, 4: 1, 5: 2, 6: 1, 7: 3, 8: 1, 9: 1
    Mode = 7
  5. 5

    Range: subtract the minimum from the maximum

    Range = 9 − 3 = 6

What is a Mean, Median, Mode Calculator?

The mean, median and mode are the three measures of central tendency, and the range measures spread. The mean is the sum of the values divided by how many there are, the median is the middle value once the data are sorted, the mode is the value that occurs most often, and the range is the maximum minus the minimum. This calculator finds all four for one list of numbers and shows the working for each.

What the Mean, Median, Mode Calculator does

Enter one list of numbers and get its mean, median (with its position in the sorted list), mode (with how many times it occurs) and range. A sorted data table marks the median position, a frequency table highlights the modal value or values, and the step-by-step solution walks through sorting, dividing, locating the middle and counting, which is the order most homework problems expect.

It works as a mean median mode finder and a mean, median, mode and range solver (sometimes called an MMMR calculator) in one: you do not need four separate tools for one homework question. For a single measure with more detail, the Mean Calculator, Median Calculator, Mode Calculator and Range Calculator each cover one in depth.

Seeing the measures together is the point. When the mean and median agree, the data are balanced and either describes a typical value. When they disagree, the gap tells you something: a mean above the median points to a few large values, and a mode far from both suggests clustering. The calculator also handles the awkward cases: data with no mode, with two modes (bimodal) or with several (multimodal).

How to use the Mean, Median, Mode Calculator

  1. Type or paste your numbers into Data values in any order, separated by commas, spaces or new lines. A column copied from Excel or Google Sheets works too.
  2. Read the mean, median and mode at the top. The note under the median gives its position in the sorted list; the note under the mode says how often it occurs and whether the data are unimodal, bimodal or multimodal. The range is listed with the count, sum, minimum and maximum.
  3. Below the results, the Sorted data table highlights the middle position(s) and the frequency table highlights the modes.
  4. Open the step-by-step solution for the sorted list and the working for each measure. Use the example buttons to see an odd count, a bimodal dataset, a dataset with no mode and a typical homework set.

How to calculate the mean, median, mode and range by hand

The calculator follows the same five steps you would use on paper. Sorting first makes every other step easier.

  1. Sort the values from smallest to largest, and count them to get n.
  2. Mean: add all the values and divide the sum by n.
  3. Median: if n is odd, take the value in position (n + 1) / 2. If n is even, average the values in positions n / 2 and n / 2 + 1.
  4. Mode: count how often each value appears. The value with the highest count is the mode; if several tie, each is a mode; if all counts are equal, there is no mode.
  5. Range: subtract the smallest value from the largest.

Mean, median, mode and range formulas

Mean
x̄ = Σxᵢ / n
Median (sorted data x₍₁₎ ≤ … ≤ x₍ₙ₎)
n odd: x₍(n+1)/2₎ n even: [ x₍n/2₎ + x₍n/2+1₎ ] / 2
Mode
the value(s) with the highest frequency
Range
Range = max − min
Formula symbols
SymbolMeaning
xᵢeach value
x₍ₖ₎the k-th value after sorting
nnumber of values

Convention used here: if every distinct value occurs equally often (for example, every value appears once), the data have no mode. If two or more values tie for the highest frequency, all of them are reported as modes.

The mode of a raw list has no algebraic formula: you count. The textbook "mode formula" Mode = L + (f₁ − f₀) / (2f₁ − f₀ − f₂) × h applies only to grouped data in classes, where L is the lower limit of the modal class, h its width and f₁, f₀, f₂ the frequencies of the modal class and the classes before and after it. For class data, use the Grouped Data Mean Calculator.

Worked example

Worked example: goals per match

Problem. A team scored 3, 7, 5, 9, 7, 4, 7, 8, 5, 6 goals in ten matches. Find the mean, median, mode and range.

  1. 01Sort: 3, 4, 5, 5, 6, 7, 7, 7, 8, 9.
  2. 02Mean: the sum is 61, so x̄ = 61 / 10 = 6.1.
  3. 03Median: n = 10 is even, so average the 5th and 6th values: (6 + 7) / 2 = 6.5.
  4. 04Mode: 7 appears three times, more than any other value, so the mode is 7.
  5. 05Range: 9 − 3 = 6.

Answer. Mean = 6.1, median = 6.5, mode = 7, range = 6. The mean sits slightly below the median because the low scores of 3 and 4 pull it down, while the most common result was 7 goals.

Solved examples: mean, median, mode and range of common datasets

These are the datasets students search for most often. Paste any of them into the calculator to see the full working; the first one is also loaded by the Homework set example button.

DataMeanMedianModeRange
13, 16, 12, 14, 19, 12, 14, 13, 14127 / 9 ≈ 14.1114 (5th of 9)14 (3 times)19 − 12 = 7
31, 92, 25, 69, 80, 31, 29357 / 7 = 5131 (4th of 7)31 (twice)92 − 25 = 67
8, 3, 6, 2, 5, 630 / 6 = 5(5 + 6) / 2 = 5.56 (twice)8 − 2 = 6

Measures of central tendency: mean, median or mode?

Each measure of central tendency answers a slightly different question about the center of the data. The measures of central tendency guide covers them in more depth.

MeasureBest forWeak point
Meansymmetric numeric data; totals and further calculationspulled by outliers and skew
Medianskewed data such as incomes, prices and waiting timesignores how far the extreme values are
Modecategories and discrete counts; the most typical choicemay not exist or may not be unique

Beyond the center: range, interquartile range and outliers

The range is the quickest measure of spread, but it depends on only two values, so one extreme value can double it. The interquartile range (IQR = Q3 − Q1) measures the spread of the middle half of the data and ignores the extremes.

An outlier is a value far from the rest. A common rule flags any value below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR. Outliers move the mean and the range a lot, the median very little and the mode not at all, which is why a big gap between the mean and the median is often the first sign of one.

Common use cases

  • Homework and exams: check all three measures of center and the range for a list of numbers in one go.
  • Survey results: report the most common answer (mode) alongside the typical rating (median).
  • Sports and games: summarize scores per match or per round.
  • Quick skew check: compare mean and median before deciding which average to report.

Assumptions and limitations

Frequently asked questions

How do you find the mean, median and mode?

For the mean, add all values and divide by how many there are. For the median, sort the values and take the middle one, or the average of the two middle values when the count is even. For the mode, find the value that appears most often.

How do you calculate the mode of a data set?

Count how many times each value appears; a frequency table makes this quick. The value with the highest count is the mode. In 2, 3, 3, 4, 5 the mode is 3 because it appears twice and every other value once.

What if there is no mode?

If every value appears the same number of times, for example each value once, no value is more common than the others and the data have no mode. Some textbooks instead say every value is a mode; this calculator follows the more common convention of reporting no mode.

Can a dataset have more than one mode?

Yes. If two values tie for the highest frequency, the data are bimodal and both are modes; with three or more tied values the data are multimodal. Two clear modes can mean the data mix two groups, such as heights of adults and children.

What is the median when there is an even number of values?

With an even count there are two middle values, so the median is their average. For 2, 4, 6 and 10 the middle values are 4 and 6, so the median is (4 + 6) / 2 = 5, which does not have to be one of the data values.

How do you find the range?

Subtract the smallest value from the largest. For 3, 7, 5, 9 and 4 the range is 9 − 3 = 6. The range is a measure of spread, not of center, so it is usually reported next to the mean, median and mode rather than instead of them.

Which is better, the mean or the median?

The mean uses every value and is best for symmetric data without extreme outliers. The median is better for skewed data or data with outliers, because one very large or small value barely moves it. Reporting both is often the most informative choice.

Cite this page

Statculator. (2026, November 14). Mean, Median, Mode Calculator. Retrieved November 14, 2026, from https://statculator.com/descriptive-statistics/mean-median-mode-calculator/