Mean, Median, Mode and Range Calculator

This mean, median, mode and range calculator finds all four from one list of numbers, with the working shown. It also gives the midrange, quartiles and the interquartile range.

Separate numbers with commas, spaces or new lines.

Checks on your data

  • No outliers beyond 1.5 × IQR and no strong skew detected.

Results

Mean
6.125
Median
7
Mode
7 (appears 3 times)
Range
8
Sum
49
Count (n)
8
Minimum / maximum
2 / 10
Quartiles Q1 / Q3 (IQR)
3.5 / 8 (4.5)
median of halves method
Mean vs median
Mean below median: left-skewed
Midrange
6
(min + max) ÷ 2
Your data with the mean
246810mean 6.125
Box plot: median, quartiles and outliers
246810Q1 3.5Q3 8median 7
Frequency table
ValueFrequencyCumulativeRelative %
21112.5
31212.5
41312.5
73637.5
91712.5
101812.5
Show step-by-step solution
  1. Sort the data: 2, 3, 4, 7, 7, 7, 9, 10.
  2. Mean = sum ÷ count = 49 ÷ 8 = 6.125.
  3. Median = the average of the two middle values, 7 and 7, which is 7.
  4. Mode = 7 (appears 3 times).
  5. Range = max − min = 10 − 2 = 8.
MeanSum ÷ count
MedianMiddle of sorted data
ModeMost frequent value
RangeMax − min

What Is Mean, Median, Mode and Range?

The mean is the average, the median is the middle value when the data are sorted, the mode is the most frequent value and the range is the difference between the largest and smallest values. Together they describe the centre and basic spread of a small data set, and they are the four statistics taught first in most courses.

Enter your numbers separated by commas, spaces or new lines. The calculator sorts the data, shows how the median is found for odd and even counts, lists every mode when there is more than one, and compares the mean with the median to hint at skew.

Below you will find the formulas, a variables table, worked examples and answers to common questions such as what to do when there is no mode or two modes.

How to Use the Mean, Median, Mode and Range Calculator

  1. Type or paste your numbers, separated by commas, spaces or new lines.
  2. Read the mean, median, mode and range in the results.
  3. Open the step-by-step solution to see how each one was worked out.

Mean, Median, Mode and Range Formula

Mean

xˉ=∑xin\bar{x}=\frac{\sum x_i}{n}

Median (odd n)

median=x(n+1)/2\text{median}=x_{(n+1)/2}

Median (even n)

median=xn/2+xn/2+12\text{median}=\frac{x_{n/2}+x_{n/2+1}}{2}

Range

range=xmax⁡−xmin⁡\text{range}=x_{\max}-x_{\min}
Which measure of centre should I use?
MeasureBest forAffected by outliers?
MeanSymmetric data, further calculationsYes, strongly
MedianSkewed data such as incomes or house pricesNo
ModeCategories and most common valuesNo

Mean, Median, Mode and Range Variables Explained

SymbolMeaningNotes
x̄MeanSum ÷ count
nNumber of values
MedianMiddle valueAverage of the two middle values if n is even
ModeMost frequent valueThere can be none, one or several
RangeMaximum − minimum

Mean, Median, Mode and Range Worked Example

Using the example values (press “Load example” above to try them):

  1. Sort the data: 2, 3, 4, 7, 7, 7, 9, 10.
  2. Mean = sum ÷ count = 49 ÷ 8 = 6.125.
  3. Median = the average of the two middle values, 7 and 7, which is 7.
  4. Mode = 7 (appears 3 times).
  5. Range = max − min = 10 − 2 = 8.

Result: Mean = 6.125; Median = 7; Mode = 7 (appears 3 times); Range = 8.

Worked example

Take the data 3, 7, 7, 2, 9, 4, 10, 7. Sorted it reads 2, 3, 4, 7, 7, 7, 9, 10. The sum is 49 and there are 8 values, so the mean is 49 ÷ 8 = 6.125. With an even count the median is the average of the two middle values, 7 and 7, which is 7. The value 7 appears three times, so the mode is 7. The range is 10 − 2 = 8.

Notice that the mean (6.125) is below the median (7). That small gap, together with the low outlier 2, hints at slight left skew.

Which average should you use?

“Average” usually means the mean, but it is not always the best summary. Choose the measure that matches your data and your question.

Mean, median and mode compared
MeanMedianMode
DefinitionSum ÷ countMiddle valueMost common value
Works forNumeric dataOrdered dataAny data, including categories
OutliersPulled stronglyResistantResistant
Always existsYesYesMay be none or several
Best exampleTest scores, temperaturesHouse prices, incomesShoe size, favourite colour

Reading skew from mean and median

In symmetric data the mean and median are nearly equal. When a long tail pulls the mean toward it, the mean moves away from the median: mean greater than median means right skew (income distributions), mean less than median means left skew. The results panel flags this for your data.

Range, quartiles and spread

The range is simple but depends on only two values, so one outlier changes it a lot. The interquartile range (Q3 − Q1) describes the middle half of the data and ignores extremes, and the box plot draws it for you with outliers marked as separate points.

Where Mean, Median, Mode and Range Is Used

Homework and exam practice

Checking all four measures with the working shown.

Quick data summaries

Describing the centre and spread of a short list.

Comparing mean and median

Seeing whether outliers or skew are pulling the average.

Finding the mode

Identifying the most common value, including ties.

Common Mean, Median, Mode and Range Mistakes to Avoid

  • Not sorting before finding the median.
  • Forgetting to average the two middle values when the count is even.
  • Reporting a mode when no value repeats; there is none.
  • Using the mean for heavily skewed data such as incomes.
  • Mixing up the range with the interquartile range.
  • A data set can have one mode, several modes, or none at all.
  • When the mean and median are far apart, the data is probably skewed.
  • The range uses only two values, so a single outlier can change it a lot.

Mean, Median, Mode and Range Terms and Definitions

Mean
The arithmetic average: sum divided by count.
Median
The middle value of ordered data.
Mode
The value that occurs most often; there can be several.
Range
Largest minus smallest value.
Quartile
One of the three values that split ordered data into four equal parts.
Outlier
A value far from the rest of the data.

Mean, Median, Mode and Range FAQs

How do you find the mean, median, mode and range?

Mean: add and divide by the count. Median: sort and take the middle (or average the two middle values). Mode: find the most frequent value. Range: subtract the smallest from the largest.

What if there is no mode?

If every value appears once, the data has no mode. If several values tie, they are all modes.

What is the difference between average and mean?

In everyday use “average” means the mean. Strictly, mean, median and mode are all averages (measures of central tendency).

Which is better, mean or median?

Use the mean for roughly symmetric data and the median for skewed data or data with outliers.

How do I find the median of an even number of values?

Average the two middle values after sorting.

Does this calculator work for decimals and negatives?

Yes. Enter any real numbers separated by commas, spaces or new lines.

What is the midrange?

The midpoint between the smallest and largest values. It is quick but very sensitive to outliers.

How do you find the median?

Sort the numbers. If there is an odd count, the median is the middle one. If the count is even, it is the average of the two middle numbers.

Can there be more than one mode?

Yes. If two or more values tie for the highest frequency, all of them are modes. If every value appears once, there is no mode.

What is the difference between mean and median?

The mean is the sum divided by the count. The median is the middle value of the sorted list. The median is less sensitive to extreme values.

What is the range?

The range is the largest value minus the smallest value. It is the simplest measure of spread.

Related calculators

Last updated 2026-11-09. See our disclaimer.