Mean, Median & Mode Calculator & Guide

Statistics Guide

Mean, Median & Mode Calculator & Guide

Find the mean, median, mode and range of any data set. Learn exactly how each measure of central tendency is calculated, when to use each one, and see fully worked examples.

Mean, Median & Mode
📐 Step-by-Step Formulas
📋 Worked Examples
📱 Mobile Friendly

Understanding Mean, Median & Mode

Mean, median and mode are the three most common “measures of central tendency” — different ways of describing the typical or central value in a set of numbers. Each one tells you something slightly different about your data.

How Each Measure Is Calculated

The formulas behind mean, median, mode and range

1

Mean (the average)

Add up every value in the data set, then divide by how many values there are. This is what most people mean by “average”.

Mean = (Sum of all values) ÷ (Number of values)
2

Median (the middle value)

Arrange the values in ascending order. If there’s an odd number of values, the median is the one in the middle. If there’s an even number, average the two middle values.

Odd count: middle value | Even count: (value1 + value2) ÷ 2
3

Mode (the most frequent value)

Count how many times each value appears. The value that appears most often is the mode. A data set can have one mode, more than one mode, or no mode at all.

4

Range (the spread)

Although not a measure of central tendency, range is often calculated alongside the others. It shows how spread out the data is.

Range = Highest value − Lowest value
⚠️ Common Mistake: Forgetting to sort the data before finding the median is one of the most common errors. The median only works correctly on values arranged in ascending or descending order — don’t use the original, unsorted order of the data.
Mean: Best for evenly distributed data with no extreme outliers.
Median: Best when data has outliers or is skewed, e.g. incomes or house prices.
Mode: Best for categorical data or finding the most common item.
Bimodal/Multimodal: A data set can have two or more modes if values tie for most frequent.
No mode: If every value appears exactly once, there is no mode.
💡 Pro Tip: If the mean and median are very different, that’s usually a sign your data has outliers or a skewed distribution — worth investigating before drawing conclusions.

Worked Example: Finding Mean, Median & Mode

Here’s exactly how to work through a real data set, step by step, using the numbers: 4, 8, 6, 5, 3, 8, 9.

1

Calculate the Mean

Add the values: 4 + 8 + 6 + 5 + 3 + 8 + 9 = 43. Divide by the count of values, which is 7. 43 ÷ 7 = 6.14 (to 2 decimal places).

2

Find the Median

Sort the values in order: 3, 4, 5, 6, 8, 8, 9. With 7 values (odd), the median is the 4th value: 6.

3

Identify the Mode

Count how often each value appears: 8 appears twice, every other value appears once. The mode is 8.

4

Calculate the Range

Subtract the lowest value from the highest: 9 − 3 = 6. The range of this data set is 6.

When to Use Each Measure

A side-by-side summary to help you pick the right measure for your data.

Measure Best Used For Sensitive to Outliers?
MeanEvenly distributed numerical data.Yes — heavily affected by outliers.
MedianSkewed data, e.g. income, house prices, exam scores.No — largely unaffected by outliers.
ModeCategorical data, or finding the most common item.No — based on frequency, not magnitude.
RangeUnderstanding the spread of the data.Yes — determined entirely by the two extreme values.

Mean, Median & Mode FAQ

Answers to the most frequently asked questions about calculating mean, median and mode.

The mean is the average of all values, found by adding them together and dividing by how many there are. The median is the middle value when the data is arranged in order. The mode is the value that appears most often in the data set.

When there is an even number of values, arrange the data in order and take the two middle numbers, then find their average by adding them together and dividing by two. That result is the median.

Yes. If two values appear with the same highest frequency, the data set is bimodal and has two modes. If more than two values share the highest frequency, it is multimodal. If every value appears the same number of times, the data set has no mode.

The median is less affected by extreme values, or outliers, than the mean. In data sets with a few very high or very low values, such as household incomes, the median often gives a more realistic picture of the typical value than the mean does.

Similar Posts