Standard Deviation Calculator
Updated on June 18, 2026
Enter any data set and get the population or sample standard deviation instantly — with the formula, variance, mean, and a step-by-step breakdown your child (or you) can actually follow. Our standard deviation calculator does the arithmetic in one click, shows every step, and works for any number of values, with no sign-up and no limit on how much data you paste in.
Step-by-Step Solution
Quick answer: Standard deviation tells you how spread out a data set is. To find it by hand, calculate the mean, square each value’s distance from the mean, average those squares (divide by N for a population or N−1 for a sample), and take the square root. Our calculator runs all five steps for you and shows the working.
How to Use This Standard Deviation Calculator
Step 1: Enter your data. Paste or type your numbers into the input box, separated by commas, spaces, or line breaks. The calculator reads data copied directly from Excel or Google Sheets.
Step 2: Choose population or sample. Pick “Sample” when your data is part of a larger group, which covers most homework problems. Pick “Population” when your numbers cover every member of the group.
Step 3: Read your results. You see the standard deviation, variance, mean, and count instantly — plus an optional step-by-step breakdown so you can check every calculation yourself.
Answer a few quick questions about your child’s learning, and we’ll recommend next steps.
Help your child reach their full potential!
Population vs. Sample Standard Deviation — Which Should You Use?
Use the population standard deviation (σ) when your data includes every single member of the group you care about, and divide the squared differences by N. Use the sample standard deviation (s) when your numbers are only a sample drawn from a bigger group, and divide by N−1 instead. That small change is called Bessel’s correction, and it matters more than it looks: a sample almost always sits a little closer to its own mean than to the true population mean, so dividing by N would make the spread look smaller than it really is. Dividing by N−1 nudges the estimate upward to a value that, on average, lands much closer to the real population variance and standard deviation. A quick rule of thumb — a full set of every test score in one class is a population, while a survey of 30 students chosen from a school of 500 is a sample.
Population Standard Deviation Formula
σ = √[ Σ(xᵢ − μ)² / N ]
- xᵢ = each data point
- μ = population mean
- N = total number of data points
Sample Standard Deviation Formula
s = √[ Σ(xᵢ − x̄)² / (N − 1) ]
- xᵢ = each data point
- x̄ = sample mean
- N = sample size
- N−1 = Bessel’s correction
Step-by-Step Example — How to Calculate Standard Deviation
Let’s find the sample standard deviation of this data set: 4, 7, 13, 2, 1 (so N = 5).
Step 1: Find the mean. Add every value and divide by how many there are: (4 + 7 + 13 + 2 + 1) ÷ 5 = 27 ÷ 5 = 5.4.
Step 2: Subtract the mean from each value and square it. For every number, find how far it is from 5.4, then square that distance so all the gaps become positive.
| xᵢ | xᵢ − x̄ | (xᵢ − x̄)² |
|---|---|---|
| 4 | −1.4 | 1.96 |
| 7 | 1.6 | 2.56 |
| 13 | 7.6 | 57.76 |
| 2 | −3.4 | 11.56 |
| 1 | −4.4 | 19.36 |
Step 3: Add up the squared differences. Σ(xᵢ − x̄)² = 1.96 + 2.56 + 57.76 + 11.56 + 19.36 = 93.2.
Step 4: Divide by N − 1 to get the sample variance. Because this is a sample, divide by 5 − 1 = 4: 93.2 ÷ 4 = 23.3.
Step 5: Take the square root. The square root of the variance is the standard deviation: √23.3 ≈ 4.83.
A sample standard deviation of about 4.83 tells us that, on average, the values in this set sit roughly 4.83 units away from the mean of 5.4 — a fairly wide spread, driven mostly by the value 13 sitting far above the rest.
What Is Standard Deviation?
Standard deviation is a single number that measures how far, on average, each value in a data set sits from the mean. A low standard deviation means the values are bunched tightly around the average, so the data is consistent; a high standard deviation means the values are scattered far from the average. It also sets the scale of the familiar bell-shaped normal distribution: for data that follows this curve, about 68% of all values land within one standard deviation of the mean. In short, the mean tells you where the center of your data is, and the standard deviation tells you how tightly the data crowds around it.
Standard Deviation vs. Variance
Variance is the average of the squared differences from the mean, and standard deviation is its square root — so they describe the same spread. The catch is that variance comes out in squared units (squared dollars, squared inches), which is hard to picture, while standard deviation is in the original units, making it the more readable of the two.
Standard Deviation vs. Mean Absolute Deviation (MAD)
Mean absolute deviation is the simpler cousin: it averages the absolute distances of each value from the mean, with no squaring involved. Standard deviation is used far more often because squaring gives extra weight to large outliers and because it plugs directly into normal-distribution theory, z-scores, and most of the statistics students meet later on.
Where Is Standard Deviation Used?
Standard deviation is not just a homework exercise — it is how people measure risk, consistency, and reliability in the real world. Understanding it, not just calculating it, is what turns a number into a decision.
Finance & Investing
Investors use standard deviation to measure how much a stock’s returns bounce around — its volatility. Two funds can share the same average return, yet the one with the higher standard deviation is the riskier ride. That is why it sits at the heart of portfolio analysis.
Education & Test Scores
A teacher uses standard deviation to see whether a class scored evenly or whether results were all over the place. It flags outliers, shows whether two class sections performed similarly, and reveals how reliable a test was at separating students.
Science & Quality Control
Factories measure standard deviation to keep products inside their tolerances — a low value means parts come out nearly identical. Scientists report it alongside results to show experimental error and how repeatable a measurement is.
Weather & Climate Data
Two cities can have the same average temperature but feel completely different to live in. A coastal city has a small standard deviation (steady, mild days), while an inland city has a large one (hot summers, cold winters) — the spread tells the real story.
If a problem like this comes up in class and your child wants more practice, our 1:1 statistics tutoring covers everything from dispersion to probability.
Struggling With Statistics Homework?
You can get the right answer from the calculator above and still feel stuck on why it works — and that is exactly where most students lose marks. Our certified tutors close that gap one problem at a time, so your child stops memorizing formulas and starts understanding them. Your child can work through standard deviation, variance, and the full AP Statistics curriculum with a certified tutor, one lesson at a time, inside our structured math courses. The first lesson is free, with no card required.
- ⭐ 4.8/5 rating from 200,000+ parents
- Certified math tutors for Grades 6–12
- Starting from $17.70/lesson — first lesson free, no card required
The Empirical Rule and Standard Deviation
For data that follows a normal (bell-shaped) distribution, the empirical rule tells you how the values spread out around the mean in fixed, predictable bands. It is the fastest way to turn a standard deviation into a real-world interpretation — once you know the mean and the standard deviation, you can immediately say where most of the data lives. Here is the breakdown:
- 68% of values fall within 1 standard deviation of the mean.
- 95% of values fall within 2 standard deviations of the mean.
- 99.7% of values fall within 3 standard deviations of the mean.
One caution: the empirical rule only holds for roughly normal, symmetric data. If a data set is heavily skewed or has long tails, these percentages no longer apply, and you need other tools to describe its shape.
Frequently Asked Questions
What is standard deviation?
Standard deviation is a single number that measures how far, on average, each value in a data set sits from the mean. A small standard deviation means the values cluster tightly around the average, while a large one means they are spread out.
What is the difference between population and sample standard deviation?
Population standard deviation divides the sum of squared differences by N and is used when your data includes every member of the group. Sample standard deviation divides by N−1 and is used when your data is only a subset drawn from a larger group, which covers most homework problems.
How do I calculate standard deviation step by step?
Find the mean, subtract the mean from each value and square the result, add those squared differences together, divide by N for a population or N−1 for a sample, then take the square root. That square root is the standard deviation.
What does a high or low standard deviation mean?
A low standard deviation means the values are close to the mean and to each other, so the data is consistent. A high standard deviation means the values are spread far from the mean, so the data is more variable.
What is the standard deviation formula?
The population formula is σ = √[Σ(xᵢ − μ)² / N], and the sample formula is s = √[Σ(xᵢ − x̄)² / (N−1)]. The only difference is dividing by N for a population versus N−1 for a sample.
How do I calculate standard deviation in Excel?
Use =STDEV.S(range) for a sample standard deviation and =STDEV.P(range) for a population standard deviation, where “range” is the cells that hold your numbers.
What is the empirical rule for standard deviation?
The empirical rule states that for normally distributed data, about 68% of values fall within one standard deviation of the mean, about 95% within two, and about 99.7% within three. It is also known as the 68-95-99.7 rule.
What is variance and how is it related to standard deviation?
Variance is the average of the squared differences from the mean, and standard deviation is the square root of the variance. Because variance is in squared units, standard deviation is easier to interpret since it shares the same units as the original data.
What is the standard error of the mean?
The standard error of the mean is the standard deviation divided by the square root of the sample size, written SE = s / √n. It estimates how much the sample mean would vary if you repeated the study many times.
How is standard deviation used in AP Statistics?
In AP Statistics, standard deviation describes the spread of a distribution, sets the scale for the normal curve, and feeds directly into z-scores and confidence intervals. It is one of the core measures used throughout statistical inference.
What is a relative standard deviation (RSD)?
Relative standard deviation expresses the standard deviation as a percentage of the mean, calculated as RSD = (standard deviation ÷ mean) × 100%. It is common in chemistry and lab science for comparing the precision of measurements of different sizes.
Is standard deviation the same as margin of error?
No. Standard deviation measures the spread of individual data points, while margin of error measures how much a sample estimate is likely to differ from the true population value.
How can a tutor help my child understand standard deviation? A tutor turns the formula into something a student can reason about, linking each step to what the number actually says about the data rather than asking them to memorize symbols. One-to-one sessions let a student ask questions in the moment and practice on problems matched to their grade and course. A Brighterly math tutor can walk through a full problem with your child until it clicks.