Statistics Calculator
Standard Deviation Calculator
Calculate the standard deviation, variance, mean, and count for any data set. Supports both population and sample standard deviation.
Enter Values
Calculator loading
The guide, formula, examples, and FAQ are available below.
How to Use This Calculator
Enter Numbers (comma-separated)
Type your numbers (comma-separated) into the input field. For example: e.g., 4, 8, 6, 5, 3.
Select Type
Choose the appropriate option from the "Type" dropdown. Options include: Population (divide by N), Sample (divide by N-1).
View Your Result
The result appears beside the calculator with the main answer and a detailed calculation breakdown.
Adjust and Explore
Change any input value and calculate again. Use the copy and share controls to save or send your result.
On this page
Formula
Standard deviation measures the average distance of data points from the mean. For a population, divide by N (total count). For a sample, divide by N-1 (Bessel's correction) to get an unbiased estimate of the population standard deviation.
Calculation methodology
This calculator uses the formula shown on the page and checks common edge cases before returning a result.
Examples and FAQs are included to explain assumptions, limitations, and practical use cases.
Source and review references
Last reviewed by the Calculator Trust Editorial Team. To report an issue, email contact [at] calculatortrust.com.
Common Examples
Understanding the Concept
Standard deviation is one of the most important concepts in statistics, measuring how spread out values are in a data set relative to the mean. A low standard deviation indicates that data points tend to be close to the mean, while a high standard deviation indicates that data is spread over a wider range of values. This calculator computes both population and sample standard deviation, along with variance, mean, and other key statistics.
What Is Standard Deviation?
Standard deviation quantifies the amount of variation or dispersion in a set of data values. It is expressed in the same units as the original data, making it more interpretable than variance (which is in squared units). Think of it as the average distance each data point sits from the mean.
For example, consider two classes of students who both average 80% on a test. If Class A has a standard deviation of 5%, most students scored between 75% and 85%. If Class B has a standard deviation of 15%, scores are much more spread out, ranging roughly from 65% to 95%. The standard deviation captures this difference in consistency.
Population vs. Sample Standard Deviation
There are two versions of standard deviation, and choosing the right one depends on your data:
- Population Standard Deviation (σ): Used when your data includes every member of the group you are studying. The formula divides by N (the total number of values). Examples include the test scores of every student in a class, or the heights of every player on a specific team.
- Sample Standard Deviation (s): Used when your data is a subset (sample) of a larger population. The formula divides by N-1 instead of N. This correction (called Bessel's correction) compensates for the fact that a sample tends to underestimate the variability of the full population.
When in doubt, use the sample standard deviation, as most real-world data is a sample from a larger population. Only use the population version when you are certain your data includes every possible observation.
How to Calculate Standard Deviation Step by Step
- Find the mean: Add all values and divide by the count.
- Find each deviation: Subtract the mean from each data point.
- Square each deviation: This eliminates negative values and gives more weight to larger deviations.
- Find the average of squared deviations: Divide the sum by N (population) or N-1 (sample). This is the variance.
- Take the square root: The square root of the variance is the standard deviation.
The Empirical Rule (68-95-99.7)
For data that follows a normal (bell curve) distribution, standard deviation has a powerful interpretation known as the empirical rule:
- About 68% of data falls within 1 standard deviation of the mean.
- About 95% of data falls within 2 standard deviations of the mean.
- About 99.7% of data falls within 3 standard deviations of the mean.
This means that values more than 2 standard deviations from the mean are unusual (occurring about 5% of the time), and values more than 3 standard deviations away are rare (about 0.3%). This principle is the basis for identifying outliers and is widely used in quality control, finance, and scientific research.
Variance vs. Standard Deviation
Variance is simply the square of the standard deviation. While variance is important in many mathematical formulas and statistical tests, standard deviation is generally preferred for reporting and interpretation because it is in the same units as the original data.
For example, if you measure heights in centimeters, the standard deviation is also in centimeters, while the variance is in "square centimeters," which is harder to interpret physically. Both measures convey the same information about spread, but standard deviation is more intuitive for communication.
Frequently Asked Questions
When should I use population vs. sample standard deviation?
What does a standard deviation of 0 mean?
Can standard deviation be negative?
What is Bessel's correction and why is it used?
How is standard deviation used in real life?
Learn More

Confidence Intervals Explained: Margin of Error, Sample Size, and Examples
Learn what confidence intervals mean, how margin of error is calculated, why sample size matters, and how to interpret uncertainty without overstating results.
Read Article
What is Standard Deviation? Simple Explanation with Examples
Understand standard deviation with clear explanations, step-by-step calculations, and real-world examples. Learn the difference between population and sample standard deviation.
Read ArticleWritten and reviewed by Calculator Trust Editorial Team
Our calculators are built using verified formulas from academic, government, and scientific sources. Content is fact-checked and reviewed for accuracy.