Math · FREE ONLINE TOOL

Mean, Median, Mode, Range Calculator

Find mean, median, mode and range from a dataset and compare what each measure reveals about its center and spread.

Your inputs

Formula and input guidance

Dataset summary

Mean = Σx / n; population variance = Σ(x − mean)² / n; sample variance uses n − 1.

The mean uses every value. The median is the middle of the sorted dataset. Sample variance corrects for estimating a population from a sample.

Separate numbers with commas, spaces, or new lines.

Calculations run in your browser. No account needed.

EXAMPLE RESULTCalculated locally
Mean
5
Median
4.5
Mode
4
Sample standard deviation
2.14
Sample variance
4.57
Population standard deviation
2
Population variance
4
Count
8
Sum
40
Minimum
2
Maximum
9
Range
7
Sum of squares
232
Geometric mean
4.6
Clear inputs. Transparent methods.
My workspace

Calculate with your inputs to save a result or compare scenarios.

How it works

Illustration for Mean, Median, Mode, Range Calculator: a chart; a bar chart and magnifying glass.
Dataset summaryMean = Σx / n; population variance = Σ(x − mean)² / n; sample variance uses n − 1.
A useful distinction

Range can miss changes in the middle

The lists 0,5,5,10 and 0,0,10,10 share mean 5, median 5 and range 10. Their observations cluster differently. Compare the actual values and frequencies before treating matching summaries as equivalent datasets.

Move the middle value and keep both endpoints

Median. A (1, 2, 9) → 2. B (1, 7, 9) → 7.
Move the middle value and keep both endpoints
DatasetCalculationMedian
A 1, 2, 9(1, 2, 9) → x̃2
B 1, 7, 9(1, 7, 9) → x̃7

Reading the center and spread of a dataset

The mean, median, mode, and range answer different questions about the same data. The mode identifies repeated values, while the range depends only on the smallest and largest entries. Two datasets can share a mean and still have very different distributions. Review the original values as well as these summaries, especially when the list contains outliers or repeated measurements.

Find four summaries that answer different questions

The mean divides the sum by the count. The median locates the middle after sorting. The mode identifies the most frequent value, and the range subtracts the smallest value from the largest. Enter raw observations, including repeated values; sorting them yourself is optional.

These measures need not agree. A useful report explains whether its goal is a typical observation, the most common response or the distance between the extremes.

Worked example with two middle values and two modes

Enter 2, 3, 3, 7, 7, 20. Their sum is 42, so the mean is 7. Six observations leave two middle positions, occupied by 3 and 7; the median is their average, 5. Both 3 and 7 occur twice, making the dataset bimodal. The range is 20 − 2 = 18.

Interpreting 2, 3, 3, 7, 7, 20
MeasureWorkingValue
Mean42 ÷ 67
Median(3 + 7) ÷ 25
ModeTwo values share the highest frequency3 and 7
Range20 − 218

See how an extreme observation changes the summaries

Replace 20 with 200 in the example. The mean becomes 37 and the range becomes 198, while the median stays 5 and the modes stay 3 and 7. This comparison shows why a center and a spread measure should often be reported together.

Neither unchanged median nor a familiar mode proves that the records are correct. Check the unusually large observation against its source rather than deleting it merely because it affects the mean.

Interpret ties, no repeated values and measurement units

Finflo reports the values tied for the greatest repeated frequency. If every number occurs once, it reports No repeated values. Mode conventions can differ when all values have the same frequency, so describe the frequency pattern when that distinction matters.

The range has the same unit as the inputs but uses only two observations. Standard deviation incorporates every observation and gives a different view of spread. Use consistent units throughout the list.

Dataset summary: formula and assumptions

Mean = Σx / n; population variance = Σ(x − mean)² / n; sample variance uses n − 1.

The mean uses every value. The median is the middle of the sorted dataset. Sample variance corrects for estimating a population from a sample.

Use Dataset summary

Worked example

Using the Dataset summary example:

Inputs
Numbers
2, 4, 4, 4, 5, 5, 7, 9
Method

Mean = Σx / n; population variance = Σ(x − mean)² / n; sample variance uses n − 1.

Result

Example result

Mean: 5

Median: 4.5

Mode: 4

Sample standard deviation: 2.14

Sample variance: 4.57

Population standard deviation: 2

Population variance: 4

Count: 8

Sum: 40

Minimum: 2

Maximum: 9

Range: 7

Sum of squares: 232

Geometric mean: 4.6

These are illustrative inputs. Change the values to explore a different scenario.

Formula references

References explain the underlying methods; they do not imply endorsement or individual professional review of Finflo.

Common questions

Why can the mean and median be different?

The mean uses the sum of all values; the median uses their sorted middle. Skewed or extreme values can separate them.

Can a dataset have more than one mode?

Yes. Several values can tie for the highest frequency. A mode describes frequency, not necessarily the center of the data.

How is the median calculated for an even count?

Sort the values, then average the two central positions. For 2, 3, 3, 7, 7, 20, the middle values are 3 and 7, giving 5.

What does No repeated values mean?

Every input appears once, so there is no repeated value to identify as the most frequent. This is distinct from a numeric mode of zero.

Does a small range prove that most values are close to the mean?

Range uses only the minimum and maximum. Inspect standard deviation and the underlying observations to understand how values are distributed inside those endpoints.

See our methodology and editorial policy.