📊 Standard Deviation Calculator
Calculate mean, median, variance, and standard deviation for any data set. Supports both population and sample standard deviation. Enter numbers separated by commas or new lines.
Data (sorted)
Standard Deviation Formulas
Use population SD (σ) when you have data for the entire population. Use sample SD (s) when your data is a sample from a larger population — the (N−1) denominator corrects for bias.
How to Calculate Standard Deviation
-
1Choose Population or SampleSelect population SD (σ) if you have all the data, or sample SD (s) if your data is a subset.
-
2Enter Your NumbersType or paste your numbers separated by commas, spaces, or new lines. Decimals are supported.
-
3Read Your ResultsThe calculator instantly shows count, mean, median, min, max, range, variance, and standard deviation.
-
4Review Sorted DataThe sorted data list helps you spot outliers and understand the distribution visually.
Real-World Example
Data set: 4, 8, 15, 16, 23, 42
Frequently Asked Questions
Standard deviation measures how spread out data values are from the mean. A low SD means data points are clustered close to the average; a high SD means they are widely spread. It is fundamental in statistics, finance, and science.
Use population SD (σ) when you have data for every member of the group (e.g. all test scores in one class). Use sample SD (s) when your data represents a subset of a larger group (e.g. a survey sample). Sample SD uses N−1 to reduce bias.
Variance is the square of the standard deviation. It represents the average squared distance from the mean. While variance is useful in calculations, standard deviation is easier to interpret because it is in the same units as the original data.
For a normal (bell-curve) distribution: about 68% of data falls within 1 SD of the mean, 95% within 2 SD, and 99.7% within 3 SD. This rule helps identify outliers — values beyond 3 SD are statistically unusual.
Outliers have a large effect on SD because each deviation is squared before averaging, amplifying the impact of extreme values. If you have suspected outliers, consider reporting both the full SD and the SD with outliers removed.
Related Calculators
Mean Calculator
Calculate arithmetic mean, geometric mean, and harmonic mean for any data set.
Variance Calculator
Calculate population and sample variance for any data set.
Z-score Calculator
Calculate z-score (standard score) and find corresponding probabilities.