Home Statistics Statistics Calculator

Statistics Calculator

Mean, median, standard deviation and variance for a data set, population and sample.

Advertisement

How it works

Type or paste your numbers separated by commas. The calculator sorts them for the median, averages them for the mean, and measures spread with variance and standard deviation (Standard Deviation). The population version divides by n; the sample version divides by n - 1, which corrects the bias when your data is a sample of something bigger.

Advertisement

Formula

Mean = sum / n.
Population variance = average of (x - mean)^2 over all n values.
Sample variance divides the same total by n - 1.
Standard deviation is the square root of variance.

Example

Example in plain words. The data 2, 4, 6, 8, 10.

Mean 6, median 6.

Population standard deviation 2.828427, sample 3.162278, population variance 8. Count 5, sum 30.

Frequently asked questions

Population or sample?

Use population when your numbers are the whole group you care about, like the heights of your five plants. Use sample when they stand for a bigger group, like fifty voters out of a city.

Mean or median?

The median resists outliers. If one value is wildly larger than the rest, the mean chases it while the median stays put. Comparing the two is itself informative.

Advertisement

Related calculators

Percent Error Calculator

How far a measured value is from the true value, as a percent.

Mean, Median, Mode and Range Calculator

Type a list of numbers and get the mean, median, mode, range, sum, smallest and largest.

Standard Deviation Calculator

Sample and population standard deviation and variance for a list of numbers.

Z-Score Calculator

How many standard deviations a value is from the mean, with the share of values below and above it.