What is standard deviation?
Standard deviation is a measure of how much the values in a dataset tend to spread around their mean. When observations sit close to the mean, the standard deviation is small; when they are more widely dispersed, it becomes larger.
For an educational view, think of the mean as the center and each observation as a point that has a signed distance from that center. Standard deviation turns all of those distances into one scale of typical spread by squaring them, averaging them, and taking the square root.
How to use this standard deviation calculator
Paste your measurements, choose sample or population, and the calculator recomputes the center, spread, deviations, and frequency table as you edit the data.
Paste the data
Use commas, spaces, or new lines. Values such as 12.5 and 1.2e3 are accepted.
Choose the dataset
Sample uses n−1; population uses n.
Inspect deviations
See each value's distance from the mean and the squared contribution to variance.
Read the spread
Compare SD with the mean and units before interpreting how variable the dataset is.
Standard deviation formulas
Both formulas follow the same structure: measure each value's distance from the center, square those distances, average them with the appropriate denominator, and take the positive square root.
Use this when the dataset contains every member of the population being described.
Use this when the observed values are a sample used to estimate population variability.
- xᵢ
- the i-th observation
- μ
- population mean
- x̄
- sample mean
- N / n
- number of observations
Why is the sample divisor n − 1?
When a sample mean is estimated from the same observations, using n in the variance denominator tends to underestimate population variability. Replacing it with n − 1 is Bessel's correction, the standard adjustment used for sample variance and sample standard deviation.
Standard deviation vs variance
Variance is mathematically useful because squaring makes every deviation non-negative, but the units are squared. Standard deviation takes the square root so the final spread measure returns to the original unit of the data.
The empirical rule: 68–95–99.7
The familiar 68–95–99.7 rule applies to data that are approximately normally distributed. It does not mean that any dataset automatically has 68% of its observations within one standard deviation of the mean.
Standard deviation example: 2, 4, 5, 6, 6, 9, 10
Suppose these seven observations are a sample. The mean is 6, so the deviations are −4, −2, −1, 0, 0, +3, +4. Squaring them gives 16, 4, 1, 0, 0, 9, 16.
Find the center
Measure spread from the mean
Use n − 1
Take the square root
This example matches the conventional sample calculation shown by standard deviation references: a mean of 6, sample variance about 7.6667, and sample standard deviation about 2.7689.
How to interpret standard deviation
Same units matter
Compare SD with the original measurement and its context. A 5 cm SD and a 5 kg SD are not the same practical quantity.
Compare within context
For repeated measurements in the same unit, a smaller SD indicates a tighter cluster around the mean; a larger SD indicates a wider spread.
Look at the mean too
An SD of 2 may be large when the mean is 5 and small when the mean is 500. The coefficient of variation can help for positive values when a relative measure makes sense.
Outliers can pull it upward
Because deviations are squared, an extreme observation can have a large effect on variance and standard deviation.
Where standard deviation is used
Standard deviation turns a long list of measurements into a compact description of variability. It appears in measurement science, laboratory work, quality control, data analysis, and many inferential procedures.
Laboratory and scientific measurements
Repeated measurements can be summarized by a mean and standard deviation to communicate how consistent the observations are.
Public-domain image · National Cancer Institute / NIHManufacturing and quality control
Process measurements can be compared across batches or time periods to understand consistency and variation.
Public-domain image · NIST Digital CollectionsCommon standard deviation mistakes
| Mistake | Why it matters | Better habit |
|---|---|---|
| Using n for every dataset | Sample and population calculations use different denominators. | Decide what the dataset represents before calculating. |
| Calling variance and SD the same thing | Variance is in squared units; SD returns to the original units. | Check the units beside the result. |
| Assuming every dataset is normal | The 68–95–99.7 rule is a normal-distribution result. | Inspect the data shape before using the empirical rule. |
| Ignoring an extreme value | Squared deviations give outliers substantial influence. | Inspect the raw values and the deviation chart. |
Standard deviation calculator FAQ
It summarizes the spread of the observations around their mean. A larger SD means greater dispersion in the same measurement context.
Use population standard deviation when your values contain the entire population of interest. Use sample standard deviation when they are a sample used to estimate a larger population.
The n − 1 denominator is the standard Bessel correction used when the sample mean is estimated from the observations and the goal is to estimate population variance.
Yes. If every observation is identical, every deviation from the mean is zero, so the variance and standard deviation are both zero.
No. Standard deviation is descriptive. Whether more or less variation is desirable depends on the measurement and the purpose of the analysis.
No. About 68% within ±1 SD is the empirical rule for an approximately normal distribution. It is not a universal rule for arbitrary datasets.