Skip to main content
DataVelix
FR

Standard Deviation Calculator

Sample and population standard deviation with steps.

  • Free
  • No sign-up
  • Runs locally

Enter your data or load the example to see the results.

How to use it

  1. 1Paste or type your numbers, separated by commas, spaces, semicolons or line breaks, or load the example.
  2. 2Choose the decimal separator that matches your data (point or comma).
  3. 3Read the sample and population standard deviations, the variances, the mean and the count.
  4. 4Check each step in the formulas panel, then copy the results.

What is the standard deviation?

The standard deviation measures how spread out values are around their mean. A small standard deviation means the values are close to the mean; a large one means they are widely dispersed. It is the square root of the variance, the average squared deviation from the mean.

For the dataset 2, 4, 4, 4, 5, 5, 7, 9, the mean is 5, the sum of squared deviations is 32, the population variance is 32 / 8 = 4 and the population standard deviation is 2.

Sample or population?

The population formulas divide by N, the number of values. The sample formulas divide by n − 1 (Bessel’s correction), which gives an unbiased estimate of the variance when your values are only a sample of a larger population. With the example above, the sample variance is 32 / 7 ≈ 4.571 and the sample standard deviation ≈ 2.138.

The calculator accumulates moments exactly from the browser’s binary64 values. A standard deviation can be available when its variance is outside the numeric range. Digits lost when entering or converting the data cannot be recovered.

Frequently asked questions

Which standard deviation should I report?

Use the sample standard deviation (s) for survey results, experiments and most real-world data. Use the population standard deviation (σ) only when your list contains every member of the group you are describing.

Why is the sample standard deviation missing for one value?

With a single value, n − 1 equals zero, so the sample variance is undefined. The population standard deviation of one value is 0.

Can I paste a column from Excel?

Yes. Values separated by line breaks or tabs are accepted. Select “Comma” as the decimal separator if your spreadsheet uses decimal commas.

How many values can I enter?

Up to 100,000 values, calculated instantly in your browser.