=Calculator Hub

Statistics Calculator (Mean, Median, Standard Deviation)

Paste or type any list of numbers — separated by commas, spaces or line breaks — and get the full set of descriptive statistics at once: mean, median, standard deviation (sample and population), variance, minimum, maximum, sum and range.

Mean (average)5
Median4.5
Standard deviation (sample)2.13809
Standard deviation (population)2
Variance (sample)4.571429
Count (n)8
Sum40
Minimum2
Maximum9
Range7

How this calculation works

The mean is the sum of all values divided by how many there are. The median is the middle value once the data is sorted — for an even count, the average of the two middle values.

Variance measures spread: the average of squared distances from the mean. The sample variance divides by n − 1 (Bessel's correction) because a sample underestimates the true spread; the population variance divides by n.

Standard deviation is the square root of variance, bringing spread back into the same units as the data.

Worked example

For 2, 4, 4, 4, 5, 5, 7, 9: the mean is 5, the median is 4.5, the population standard deviation is exactly 2, and the sample standard deviation is about 2.138.

Sample vs population — which standard deviation?

Use the population standard deviation (÷ n) when your numbers are the entire group you care about — every student in one class, every order this month.

Use the sample standard deviation (÷ n − 1) when your numbers are a sample drawn from a bigger group and you want to estimate that group's spread — survey responses, quality-control samples, experiment measurements. Dividing by n − 1 corrects the bias that makes small samples look tighter than the population really is. With large n the two values converge.

Mean or median — which average to report?

The mean uses every value, which makes it efficient but sensitive to outliers: one billionaire in the room drags the mean income up dramatically. The median only cares about rank, so it resists outliers — that is why house prices and incomes are usually reported as medians.

A quick skew check: if the mean is well above the median, the data has a long right tail (a few large values); well below, a long left tail.

Reading standard deviation

For roughly bell-shaped data, about 68% of values fall within 1 standard deviation of the mean, 95% within 2, and 99.7% within 3 — the empirical rule. A test with mean 70 and SD 8 means most scores land between 62 and 78.

Standard deviation shares the data's units (points, kg, ₩), which makes it more interpretable than variance, whose units are squared.

Frequently asked questions

How do I enter my data?
Paste or type the numbers separated by commas, spaces, semicolons or new lines — any mix works. Anything that is not a number is ignored, and the count (n) shows how many values were actually used.
Why are there two standard deviations?
Sample SD divides by n − 1 and is right when your data is a sample of a larger population. Population SD divides by n and is right when the data is the whole population. Statistics classes and spreadsheets (STDEV vs STDEVP) make the same distinction.
What is a "good" standard deviation?
There is no universal threshold — it depends on the scale and context. Compare it to the mean (the coefficient of variation, SD ÷ mean) or to other groups measured the same way.
How many numbers can I enter?
Thousands — the calculation runs locally in your browser, so the practical limit is what you can paste. Nothing is uploaded.
This tool is provided for general information only. Verify important figures independently. · Last reviewed: August 25, 2026