Home/Statistics calculator
FREE · RUNS IN YOUR BROWSER · SHOWS EVERY STEP

Statistics calculator

Paste a list of numbers to get the centre, the spread and the shape of your data: mean, median, mode, quartiles, variance and standard deviation. Every step of the working is shown, and you can switch between sample and population formulas.

Enter your data ↓
Examples
Sample: your numbers stand in for a larger group, so variance divides by n − 1.
Count n8
Sum835
Mean104.375
Median100
Mode100
Range45
Min · Max85 · 130
Q1 · Q398.75 · 111.25
IQR12.5
Sample variance188.8393
Sample SD13.7419
Std. error of mean4.8585
DOT PLOT · CLICK A DOT FOR ITS z-SCOREshaded: mean ± 1 SD · bar: median
82.3132.7
Click any dot to see how many standard deviations it is from the mean.
THE WORKING, FOR YOUR DATA

Four steps to the standard deviation

1
MeanΣx ÷ n = 835 ÷ 8 = 104.375
2
Squared deviationsΣ(x − mean)² = 1321.875
3
Variance1321.875 ÷ (n − 1) = 7 = 188.8393
4
Standard deviation√188.8393 = 13.7419
#VALUE xx − MEAN(x − MEAN)²
1100-4.37519.1406
211510.625112.8906
385-19.375375.3906
413025.625656.6406
5100-4.37519.1406
695-9.37587.8906
71105.62531.6406
8100-4.37519.1406
Σ83501321.875
n OR n − 1?

Divide by n for a whole population, n − 1 for a sample

Use population when your numbers are everyone you care about: all 30 students in one class. Use sample when they stand in for a larger group: 30 survey answers from a city. A sample's own mean sits closer to its points than the true mean does, so dividing by n underestimates spread. Bessel's correction, dividing by n − 1, fixes that.

The gap shrinks fast as n grows. Slide to see it.

Sample size n8
Sample SD is larger by6.9%
Factor √(n ÷ (n − 1)) applied to the population SD. At n = 2 it's 41% bigger; by n = 100 it's half a percent.
MEAN, MEDIAN, MODE

One outlier drags the mean; the median barely moves

The mode is the most frequent value; a dataset can have one, several or none. For skewed data, such as incomes with a few very high earners, the median usually describes the typical value better. Add an outlier to your own data to watch.

Mean104.375pulled by extremes
Median100middle value
Mode100most frequent
WHY 15 MATTERS

IQ scores are a mean and an SD

Modern IQ tests set the mean to 100 and the standard deviation to 15. Any score's z is (score − 100) ÷ 15, so 130 is z = 2, about the 98th percentile. On a normal curve about 68% fall within 1 SD, 95% within 2 and 99.7% within 3.

±1 SD
68.27%
±2 SD
95.45%
±3 SD
99.73%
Your data: 75% of values lie within 1 SD of the mean, 100% within 2. Close to 68 and 95 suggests a roughly normal shape.
MORE FREE CALCULATORS

Find your own z-score.

Take the free IQ test and see where you sit on the 100-mean, 15-SD scale, with four domain subscores.

Take the IQ test →