Standard Deviation Calculator
Paste a list of numbers to calculate its standard deviation and variance, treating the data either as a sample or as the entire population.
| Standard deviation | 1.8257 |
|---|---|
| Variance | 3.3333 |
| Mean | 6 |
| Sum of squared deviations | 30 |
| Coefficient of variation | 30.43% |
| Count | 10 |
Link to this calculation – copied!
Formula
Population: σ = √( Σ(x − μ)2 ÷ N )
| Symbol | Meaning |
|---|---|
| s, σ | Sample and population standard deviation |
| x | Each individual value |
| x̄, μ | Mean of the data |
| n, N | Number of values |
How to Use This Calculator
- Type or paste the Data set. Numbers separated by commas, spaces or new lines.
- Choose the Data represents (A sample (divide by n − 1), The whole population (divide by N)).
- Press Calculate. Results also update automatically as you type.
Worked Example
Using the values pre-filled in the calculator above:
| Data set | 4, 8, 6, 5, 3, 7, 9, 5, 6, 7 |
|---|---|
| Data represents | A sample (divide by n − 1) |
| Standard deviation | 1.8257 |
|---|---|
| Variance | 3.3333 |
| Mean | 6 |
| Sum of squared deviations | 30 |
| Coefficient of variation | 30.43% |
| Count | 10 |
About This Calculation
Standard deviation measures how far values typically sit from their mean. A small standard deviation means the data cluster tightly around the average; a large one means they are widely scattered. It is expressed in the same units as the data, which makes it easier to interpret than the variance, its square.
The most common mistake is choosing the wrong formula. If your numbers are the entire group you care about, such as the scores of every student in one class, use the population version and divide by N. If they are a sample used to estimate a larger population, such as 50 customers surveyed out of thousands, divide by n − 1 instead. This adjustment, known as Bessel's correction, compensates for the fact that a sample's own mean sits slightly closer to its values than the true population mean does.
For roughly bell-shaped data, about 68% of values fall within one standard deviation of the mean and about 95% within two. Standard deviation is used to judge investment volatility, manufacturing tolerances, test score spread and measurement error. The coefficient of variation (standard deviation divided by the mean) lets you compare spread between data sets with very different averages.
Frequently Asked Questions
- What is the difference between sample and population standard deviation?
- The population formula divides by N, the sample formula by n − 1. Use the sample version whenever your data are a subset used to estimate something about a larger group, which is the usual case in research.
- Can standard deviation be negative?
- No. It is the square root of an average of squared distances, so it is always zero or positive. It is zero only when every value is identical.
- How does standard deviation relate to z-scores?
- A z-score expresses how many standard deviations a value lies from the mean. You can convert any value with the z-score calculator.