Numbrik

Standard Deviation Calculator

Paste or type a list of numbers to get the sample and population standard deviation, the variance, mean, median, range and count.

Loading calculator…

How do you calculate standard deviation?

Find the mean, subtract it from each value and square the results. Add the squares, divide by n − 1 for a sample (or n for a whole population), and take the square root.

How to use the Standard Deviation Calculator

  1. Type or paste your numbers, separated by commas, spaces or new lines.
  2. Read the sample standard deviation and the other statistics.
  3. Use the population figures only when your list contains every value in the group.

How it works

Standard deviation measures how spread out the values are around the mean. The calculator finds the mean, subtracts it from each value, squares the differences, adds them up and divides. Taking the square root of that variance gives the standard deviation.

For a sample, the sum is divided by n − 1 rather than n. This correction, called Bessel's correction, makes the sample a better estimate of the whole population's spread. With large data sets the two results are very close.

Formula

Mean  x̄ = Σx ÷ n
Population SD  σ = √( Σ(x − x̄)² ÷ n )
Sample SD  s = √( Σ(x − x̄)² ÷ (n − 1) )

Example

For 10, 12, 23, 23, 16, 23, 21, 16 the mean is 18 and the squared differences add up to 192. The population standard deviation is √(192 ÷ 8) = 4.899 and the sample standard deviation is √(192 ÷ 7) = 5.237.

Frequently asked questions

Should I use sample or population standard deviation?

Use the sample version when your data is part of a bigger group, such as 30 students surveyed out of a whole school. Use population when you have every value.

What does a high standard deviation mean?

The values are spread far from the mean. A low standard deviation means most values sit close to the average.

What is variance?

Variance is the standard deviation squared. It is used in many formulas, but the standard deviation is easier to read because it uses the same units as the data.

How many numbers can I enter?

As many as you like. The calculation runs in your browser.

Last reviewed December 3, 2026. Spotted an error? Tell us.

Add this calculator to your website

Free for blogs, schools and businesses. Copy the code and paste it into your page (in WordPress, use a Custom HTML block). Please keep the credit link.