What does standard deviation tell you?
Standard deviation tells you how spread out a set of numbers is. Two classes can share the same average score and still look very different. In one, nearly everyone scores close to the average. In the other, scores range widely. The standard deviation captures that difference in one number.
A small standard deviation means values cluster near the mean. A large one means they are scattered. It is measured in the same units as your data, which makes it easy to interpret. Heights in centimeters give a standard deviation in centimeters.
How do you calculate standard deviation step by step?
There are five steps. Find the mean. Subtract it from every value. Square those differences. Average the squares to get the variance. Take the square root of the variance.
Try the data set 6, 7, 8, 9, 10 as a population.
- Mean: (6 + 7 + 8 + 9 + 10) ÷ 5 = 8.
- Differences from the mean: −2, −1, 0, 1, 2.
- Squares: 4, 1, 0, 1, 4.
- Variance: (4 + 1 + 0 + 1 + 4) ÷ 5 = 2.
- Standard deviation: √2 ≈ 1.414.
The formula for a population is:
Paste your own numbers into the standard deviation calculator to see each step laid out.
What is the difference between a population and a sample?
A population is every member of the group you want to describe. A sample is a smaller part of it. If you have all the scores for your class and you only care about your class, that is a population. If you survey 30 students to learn about the whole school, that is a sample.
The difference changes the divisor. A population divides the sum of squares by n. A sample divides by n − 1:
For the same data, 6, 7, 8, 9, 10, the sample variance is 10 ÷ 4 = 2.5, and the sample standard deviation is √2.5 ≈ 1.581. That is larger than the population value of 1.414.
Why do we divide by n − 1 for a sample?
A sample's own mean sits closer to its values than the true group mean would, so dividing by n would understate the spread. Dividing by n − 1 corrects for that, which is also why the calculator needs at least two values in sample mode. The full reasoning, with both formulas run on the same data, is in sample vs population standard deviation.
What is the difference between variance and standard deviation?
Variance is the average of the squared distances from the mean. Standard deviation is the square root of the variance. They carry the same information, but standard deviation is in the original units while variance is in squared units.
If the data are test scores in points, the variance is in "points squared," which is hard to picture. Taking the square root returns to points. Variance has its uses in higher statistics because it adds nicely for independent variables, but for describing a data set, standard deviation is easier to read.
How do you interpret a standard deviation?
For data with a roughly bell-shaped distribution, a rule of thumb applies. About 68 percent of values fall within one standard deviation of the mean, about 95 percent within two, and about 99.7 percent within three.
Suppose a test has a mean of 70 and a standard deviation of 8.
- About 68 percent of students score between 62 and 78.
- About 95 percent score between 54 and 86.
- A score of 86 is two standard deviations above the mean. Its z-score is (86 − 70) ÷ 8 = 2.
The rule is only a guide. It works best for bell-shaped data and can be misleading for skewed data, such as incomes, where a few large values stretch the spread.
How does standard deviation relate to grades?
Some teachers use the class mean and standard deviation to curve scores or to describe how a test went. A score that is one standard deviation above the mean stands out more on a test with a small spread than on one with a large spread.
This also matters when you plan for a final. If the exam is hard and the class spread is wide, scores may fall further from the mean in both directions. For the math of turning an exam score into a course grade, read what grade you need on your final.
What does the 68-95-99.7 rule say?
For data that follows a roughly bell-shaped curve, about 68 percent of values fall within one standard deviation of the mean. About 95 percent fall within two, and about 99.7 percent fall within three.
Say test scores have a mean of 70 and a standard deviation of 10. Then about 68 percent of scores lie between 60 and 80. About 95 percent lie between 50 and 90. A score of 95 is 2.5 standard deviations above the mean, so it is unusually high. The rule only holds for roughly bell-shaped data, so do not apply it to data that is very skewed.
How do you compare two data sets?
Compare their means first, then their standard deviations. Two classes can share a mean and still differ a lot.
- Class A scores: 70, 72, 74, 76, 78. The mean is 74, and the population standard deviation is √8 ≈ 2.83.
- Class B scores: 50, 62, 74, 86, 98. The mean is also 74, but the population standard deviation is √288 ≈ 16.97.
Class A is tightly grouped, so the mean describes everyone well. Class B is scattered, so many students are far from 74. The standard deviation calculator shows these results. To choose between the two formulas, read sample vs population standard deviation.
What mistakes should you avoid?
Most errors are about the steps or the type of data.
- Choosing population when you have a sample. This understates the spread slightly.
- Forgetting to square the distances. Without squaring, positive and negative differences cancel to zero.
- Forgetting the square root. That gives the variance, not the standard deviation.
- Using the wrong mean. Every distance is measured from the mean of the same data set.
- Reading a big number as bad. A large spread can be natural for the data. Compare it to the mean and to the context.
When you finish, check that the result is positive, that it is no larger than the range, and that it makes sense for how spread out the data looks.