Enter comma-separated numbers (e.g. 2, 4, 4, 4, 5, 5, 7, 9)
Sample SD: s = √(Σ(xi − x̄)² / (n−1)) | Population SD: σ = √(Σ(xi − μ)² / n)Both formulas measure how spread out the data is around the mean. The sample formula uses n−1 in the denominator (Bessel's correction) to produce an unbiased estimate of population variance from a sample. The population formula divides by n and is used when the entire population is known. The mean x̄ is the sum of all values divided by the count n.
Enter a list of numbers to get sample SD, population SD, mean, variance, count, sum, min, and max.
Enter a comma-separated list of numbers to calculate sample and population standard deviation, mean, variance, count, sum, minimum, and maximum. Useful for students, researchers, and anyone analyzing data spread. Works for any size dataset.
Standard deviation measures how spread out a set of numbers is around their average. A small standard deviation means the values cluster tightly around the mean. A large one means they are scattered widely. It is one of the most used statistics in science, finance, and engineering. The key distinction is between sample and population standard deviation. Use sample SD (divides by n−1) when your data is a subset drawn from a larger population. Use population SD (divides by n) when you have data for every member of the entire group. This calculator accepts any list of numbers, computes both standard deviations, and also returns the mean, variance, count, sum, min, and max, the full descriptive statistics summary.
You came here because
Common situations
- Academic research and surveys: Researchers report mean ± standard deviation for measurements. Paste the raw data to compute both values without spreadsheet software.
- Quality control in manufacturing: Production measurements should cluster around a target value. High SD signals inconsistency and prompts investigation of the process.
- Finance and portfolio risk: Daily returns with high standard deviation indicate volatile investments. Compare SD across assets to assess relative risk.
- Sports and performance analytics: Athlete performance metrics (times, scores, distances) analyzed with SD reveal consistency. A low SD means a reliable performer.
Under the hood
How the calculation works
- 1Enter numbers separated by commas in the input box.
- 2The calculator parses the input and converts each token to a number.
- 3It computes the mean (arithmetic average) of all values.
- 4It finds the squared difference between each value and the mean.
- 5Sample variance divides the sum of squared differences by n−1. Population variance divides by n.
- 6Standard deviation is the square root of variance for each type.
Show me
A real example
Example: 2, 4, 4, 4, 5, 5, 7, 9
- 1n = 8 values
- 2Sum = 2+4+4+4+5+5+7+9 = 40
- 3Mean = 40 / 8 = 5
- 4Squared deviations: (2-5)²=9, (4-5)²=1, (4-5)²=1, (4-5)²=1, (5-5)²=0, (5-5)²=0, (7-5)²=4, (9-5)²=16
- 5Sum of squared deviations = 9+1+1+1+0+0+4+16 = 32
- 6Population variance = 32/8 = 4, Population SD = √4 = 2
- 7Sample variance = 32/7 ≈ 4.571, Sample SD ≈ 2.138
Watch out for
What can go wrong
- Using population SD when you have a sample: If your data is a sample from a larger population (common in surveys and experiments), use sample SD. Population SD is for when you have measurements of every member of the group.
- Including non-numeric text in the input: The parser splits on commas and converts each token to a number. Any non-numeric character (letters, extra symbols) causes an error. Remove headers, units, or labels before pasting.
- Interpreting SD without knowing the mean: A SD of 5 could be large or small depending on the mean. For data with a mean of 6, SD=5 means huge spread. For data with a mean of 500, SD=5 is very tight. Always report both.
- Confusing SD with standard error: Standard error of the mean (SEM) = SD / √n. It measures uncertainty of the mean estimate, not variability of individual data points. SD and SEM are different quantities with different interpretations.
Glossary
Related concepts
| Term | Definition |
|---|---|
| Variance | The average of the squared differences from the mean. Standard deviation is the square root of variance. Variance is in squared units; standard deviation is in the original units. |
| Bessel's correction | The reason sample variance divides by n−1 instead of n. Dividing by n underestimates the true population variance when working with a sample. Using n−1 produces an unbiased estimate. |
| Mean (arithmetic average) | The sum of all values divided by the count. It is the balance point of the distribution. Standard deviation measures spread around this center. |
| Normal distribution | A symmetric bell-shaped distribution completely described by its mean and standard deviation. About 68% of values fall within 1 SD of the mean, 95% within 2 SD, and 99.7% within 3 SD. |
Make it better
Pro tips
- Use the 68-95-99.7 rule for normal data: For normally distributed data, mean ± 1 SD covers 68% of values, ± 2 SD covers 95%, and ± 3 SD covers 99.7%. This gives you a quick sense of what is typical versus unusual.
- Check for outliers using SD: Values more than 3 SDs from the mean are statistical outliers in a normal distribution. Compare your min and max against mean ± 3 × SD to spot potential data entry errors.
- Paste data from spreadsheets: Copy a column of numbers from Excel or Google Sheets and paste it here. The comma-separated format matches what most spreadsheets produce when copying a single column.
- Compare CV (coefficient of variation) across datasets: For comparing variability across datasets with different means, compute CV = (SD / mean) × 100. A dataset with mean 100 and SD 10 has CV = 10%. This calculator gives you both values to compute it.
Common questions
Frequently asked questions
For related calculations, try the Average Calculator, Percentage Calculator, or Combinations Calculator. Browse all Calculator Online calculators for the full catalog.
Methodology
This calculator uses the standard standard deviation calculator formula. Results match those from established financial, scientific, and health references.
Reviewed by
Calculator Online Editorial Team. All formulas verified against authoritative sources before publication.
Last updated
2026-05-24
Sources & References
- NIST/SEMATECH e-Handbook of Statistical Methods, Measures of Scale
Official US government reference for standard deviation and other dispersion statistics.
- Weisstein, Eric W., Standard Deviation (MathWorld)
Mathematical derivation and properties of standard deviation.
- Wikipedia, Bessel's Correction
Explanation of why sample variance divides by n−1.