Standard Deviation Calculator
Sample and population standard deviation, with working
By Team Vind · Updated · How we check
Quick answer: Standard deviation is the square root of the average squared distance from the mean; divide by n − 1 for a sample and by N for a whole population.
Example: Numbers: 10, 12, 23, 23, 16, 23, 21, 16; Your data is a: Sample (part of a larger group). This gives Standard deviation (s): 5.2372294; Variance: 27.428571; Mean: 18.
- 1Paste your numbersCommas, spaces or new lines
- 2Sample or population?Most data is a sample
- 3See the spreadSD, variance and the working
How is standard deviation calculated?
Standard deviation measures how spread out numbers are around their mean. The two versions differ only in what you divide by:
Sample: s = √( Σ(x − x̄)² ÷ (n − 1) )
Population: σ = √( Σ(x − μ)² ÷ N )
Variance = SD²
Sample or population?
Use population when your data covers every member of the group you care about, such as the marks of every student in one class. Use sample when it's a subset used to estimate a bigger group, such as 50 households surveyed from a city. Dividing by n − 1 (Bessel's correction) stops a sample from underestimating the spread.
Reading the result
For roughly bell-shaped data, about 68% of values lie within one standard deviation of the mean, 95% within two and 99.7% within three.
Related calculators
Frequently asked questions
What does a high standard deviation mean?
The values are spread far from the mean. A low standard deviation means they cluster tightly around it.
Why divide by n − 1 for a sample?
A sample's values sit closer to their own mean than to the true population mean, so dividing by n would underestimate the spread. Dividing by n − 1 corrects that bias.
What is the difference between variance and standard deviation?
Variance is the average squared distance from the mean; standard deviation is its square root, which puts it back in the same units as the data.
How do I calculate standard deviation in Excel?
=STDEV.S(range) for a sample and =STDEV.P(range) for a whole population.
Related guides
- NumbersHow to Calculate Percentage: 3 Formulas and Quick TricksThe three types of percentage question, mental shortcuts, a fraction table and the reverse percentage.4 min read · Updated 12 October 2026
- StudentsSGPA to CGPA: How to Calculate It with CreditsThe credit-weighted formulas for SGPA and CGPA, a worked grade card, and the SGPA needed for a target.4 min read · Updated 12 October 2026
- StudentsGPA on the 4.0 Scale: A Guide for Indian StudentsThe 4.0 scale, how GPA is calculated, why Indian marks don't convert directly, and what to report.4 min read · Updated 12 October 2026
Sources
Last reviewed: 15 October 2026

