Standard Deviation Calculator
Enter a list of numbers to get the standard deviation and variance. Choose sample (n − 1) or population (n), and see the mean, sum of squared deviations, standard error of the mean and coefficient of variation alongside both versions of the standard deviation.
Standard deviation calculator
On this calculator: Ctrl+Enter copies the result, Shift+Alt+L copies a link to the current inputs, Shift+Alt+R resets, Shift+Alt+P opens Print / Save PDF. These shortcuts do not run while you type in a field, except Ctrl+Enter.
Saved results on this device
Stored only in this browser, not on our servers.
How to use the standard deviation calculator – sample and population
- Enter your data. Type or paste numbers separated by commas or spaces.
- Choose sample or population. Use sample if your numbers are a subset of a larger group, and population if they are everyone.
- Read the standard deviation. The headline shows the one you chose, with the other one in the list.
- Use the extras. The standard error and coefficient of variation help you compare spread and precision.
Formulas
Population: σ = √( Σ(x − μ)² ÷ n )
Sample: s = √( Σ(x − x̄)² ÷ (n − 1) )
Standard error = s ÷ √n
Worked examples
2, 4, 4, 4, 5, 5, 7, 9. The mean is 5 and the squared differences sum to 32. The population variance is 32 ÷ 8 = 4, so σ = 2. The sample variance is 32 ÷ 7 = 4.571, so s = 2.138.
10, 12, 23, 23, 16, 23, 21, 16. The mean is 18 and the sum of squares is 192. The population standard deviation is 4.899 and the sample standard deviation is 5.237.
How to read the result
Standard deviation only has meaning next to the mean. A standard deviation of 5 is large for numbers that average 20 and small for numbers that average 2,000. The coefficient of variation, standard deviation divided by the mean, puts both on a common scale. In the first example it is 40% (population), which is a fairly spread-out set.
Spread and the normal curve
If data is roughly bell-shaped, about 68% of values lie within one standard deviation of the mean and about 95% within two. A test score that is two standard deviations above the mean is therefore unusually high. These rules do not hold for skewed data, so look at the shape first.
Common mistakes
Using the population formula on a small sample understates the spread. Mixing units, such as cm and metres, inflates it. Adding one outlier can double the standard deviation, so review extreme values. Finally, standard deviation needs at least two numbers for a sample, since one value has no spread to measure.
Related tools
Start with the average calculator to get the mean, median and mode, and use the grade calculator when values carry different weights. The NIST e-Handbook is a free reference for statistical methods.
Frequently asked questions
What is standard deviation?
A measure of how spread out the numbers are around the mean. A small value means the data is clustered, and a large value means it is spread out.
How do I calculate standard deviation?
Find the mean, subtract it from each value and square the differences, add them, divide by n (population) or n − 1 (sample), then take the square root.
Should I use sample or population standard deviation?
Use the population version when you have every member of the group, and the sample version when your data is a sample used to estimate a larger group. Sample is the more common choice.
Why divide by n − 1 for a sample?
A sample is on average closer to its own mean than to the true mean, so dividing by n would underestimate the spread. The n − 1 divisor (Bessel's correction) fixes that bias for the variance.
What is the difference between variance and standard deviation?
Variance is the average squared deviation, and standard deviation is its square root. The standard deviation is in the same units as the data, which makes it easier to interpret.
What does the 68-95-99.7 rule mean?
For data that follows a normal distribution, about 68% of values fall within one standard deviation of the mean, about 95% within two and about 99.7% within three.
What is the standard error?
The sample standard deviation divided by the square root of n. It estimates how much the sample mean would vary between samples.
Related calculators
Average Calculator – Mean, Median, Mode and Range
Mean, median, mode, range and more for any list of numbers.
Percentage Calculator – What Is X% of Y?
X% of Y, X is what % of Y, and X is Y% of what number.
Grade Calculator – Final Exam Score Needed and Weighted Grade
Final exam score needed for a target grade, and weighted course grade.
Ratio Calculator – Simplify, Solve and Split by Ratio
Simplify ratios, solve proportions and split a total by a ratio.
Sources and references
About this calculator
Written and maintained by Rashid Mehmood, founder of CalcTen. The formulas are unit-tested against hand-worked examples, and the content is reviewed whenever product sizes or guidance change. Last updated and reviewed 14 November 2026. See our editorial policy. If you spot a mistake, report it.
Results are calculated from the numbers you enter and shown with the working. Rounding is applied only when displaying results. Grade and GPA scales, and weighting rules, vary by school, so confirm with your institution. Read the disclaimer.