Toolvist

Standard Deviation Calculator

Calculate mean, variance and standard deviation for both population and sample, plus median, mode and quartiles.

Separate numbers with commas, spaces or new lines. Decimals are fine.

Population standard deviation (σ)

—

Divides by n

Sample standard deviation (s)

—

Divides by n − 1

Mean

—

Population variance (σ²)

—

Sample variance (s²)

—

Count (n)

0

Sum

—

Median

—

Mode

—

Range

—

Minimum

—

Q1

—

Q3

—

Maximum

—

Spread at a glance

Deviation table

# x x − mean (x − mean)²

Standard Deviation Calculator

Calculate the standard deviation, variance and mean of a data set, for both a population and a sample. The five-number summary, mode and interquartile range are included, along with a table of every deviation so you can check the working.

The related statistical views are the Percentage Calculator and the GPA Calculator, which averages scores. For the arithmetic underneath, the Scientific Calculator is the general-purpose tool.

How to use the Std Deviation

  1. 1 Paste or type your data set, one value per line or separated by commas.
  2. 2 Read the mean, variance and standard deviation, alongside the median, mode and quartiles.
  3. 3 Check whether you need the population or sample figure, and use the matching row.
  4. 4 Note how many values fell within one and two standard deviations of the mean.

What the number describes

Standard deviation measures how far values typically sit from the mean, expressed in the same units as the data. A mean of 50 with a standard deviation of 2 describes a tightly clustered set; the same mean with a standard deviation of 20 describes values spread across a much wider range.

For data that follows a normal distribution, roughly two thirds of values fall within one standard deviation of the mean and about ninety five percent within two. That rule of thumb is why the figure appears so often — it converts a single number into a statement about where most of the data lies.

  • Population divides by n; sample divides by n − 1.
  • The standard deviation is in the same units as the original data.
  • Variance is the square of the standard deviation.
  • A mean far from the median indicates skew.

Population or sample?

Use the population figures when your data is the complete set you care about. Use the sample figures when your numbers are a subset drawn from a larger group, which is the usual case in experiments and surveys. The only difference is the divisor: the population variance divides by n, the sample variance by n − 1.

  • Mean, sum and count
  • Population and sample variance
  • Population and sample standard deviation
  • Median, mode, range and quartiles
  • Deviation table showing every step

What the number means

The standard deviation is the typical distance of a value from the mean. A small standard deviation means the data clusters tightly around the average; a large one means it is spread out. It is measured in the same units as the original data, whereas the variance is in squared units.

Frequently asked questions

What is the difference between population and sample standard deviation?

The population formula divides by the number of values; the sample formula divides by one less than that. The correction exists because a sample's mean is not the true population mean, which makes the raw spread slightly too small. Dividing by one fewer value compensates, and the difference matters most for small samples.

Why is the median sometimes a better summary than the mean?

Because the mean is pulled by extreme values. One very large number moves the mean substantially while leaving the median almost unchanged, so a mean that differs greatly from the median is a signal that the data is skewed. For income, house prices and similar distributions, the median is the honest summary.

Does a small standard deviation mean the data is consistent?

It means the values are close together, which is usually but not always the same thing. A tight spread can also arise from a narrow measurement window that missed the variation entirely. Worth asking what the data would look like if the sample had been drawn differently.

Related Calculators

Browse all Calculators →

You might also need

Tools from other categories that people pair with the Std Deviation:

Browse the full tool directory →