What this calculator does
Standard deviation measures how far a set of numbers typically sits from its mean. Report the sample version when your numbers are a subset of a larger group, and the population version when they are the whole group. The two differ only in the divisor: n − 1 for a sample and n for a population. This calculator returns both, along with the variance, mean, count, and sum, so you can see how much the choice of divisor changes the answer.
How to use it
- Type or paste the numbers, separated by commas, spaces, or line breaks.
- Remove labels or units so that each entry is a plain number.
- Select Calculate to see both standard deviations, both variances, the mean, count, and sum.
- Compare the sample and population values to see the effect of the divisor.
How it works
Example calculations
Example 1: eight values around 5
For 2, 4, 4, 4, 5, 5, 7, 9 the sum is 40 and the count is 8, so the mean is 5. The squared deviations add to 9 + 1 + 1 + 1 + 0 + 0 + 4 + 16 = 32. Population variance is 32/8 = 4, so population standard deviation is 2. Sample variance is 32/7 ≈ 4.571, so sample standard deviation is about 2.138. The two values differ by about 0.14, and that gap shrinks as the list grows.
Example 2: three evenly spaced values
For 10, 12, 14 the mean is 12. The squared deviations are 4, 0, and 4, which add to 8. Population variance is 8/3 ≈ 2.667 and population standard deviation is about 1.633. Sample variance is 8/2 = 4 and sample standard deviation is exactly 2. The gap between 2 and 1.633 comes from dividing the same sum of squares by 2 instead of 3.
Example 3: a single value
For one value such as 7, the count is 1, the sum is 7, and the mean is 7. Population standard deviation is 0, because there is no spread at all. Sample standard deviation is undefined, since n − 1 is zero and division by zero has no value. Add a second value before asking for the sample result.
What the result means
Standard deviation is in the same units as the data. A standard deviation of 2 in a list of test scores means 2 points, and in a list of prices it means 2 dollars, so the number only makes sense next to the mean and the units. A small value means the numbers cluster near the mean; a large value means they scatter widely. Variance squares the deviations, so it is in squared units, which is why the standard deviation is easier to read. For roughly bell-shaped data, about 68% of values fall within one standard deviation of the mean, but that is a rule of thumb, not a property of every list. Two lists can share a mean and a standard deviation and still look different, so treat it as a summary of spread, not a description of shape. Doubling every value in a list doubles the standard deviation.
Common mistakes
- Using the sample formula when the list is the whole population, or the reverse.
- Dividing by n when the sample formula calls for n − 1.
- Reporting the variance as if it were the standard deviation.
- Comparing standard deviations from data measured in different units.
- Leaving units or labels inside the list, such as 12 kg.
Assumptions and limits
- Values are plain numbers separated by commas, spaces, or line breaks.
- Blank entries and stray separators are ignored rather than counted.
- The population option treats the list as the complete group.
- The sample option needs at least two values.
- All values in one list share the same unit.
Frequently asked questions
When should I use the sample standard deviation?
Use the sample version when your numbers are a subset used to estimate a larger group, as in surveys and experiments. Use the population version when the list is the complete group.
Why divide by n − 1 instead of n?
Deviations are measured from the sample mean, which is itself built from the data, so the squared deviations run a little small. Dividing by n − 1 corrects that bias.
Why is the sample value larger than the population value?
The divisor n − 1 is smaller than n, so the same sum of squares is divided by a smaller number. For the same list, the sample standard deviation is always at least as large.
What if my list has only one number?
The mean exists and the population standard deviation is 0, but the sample standard deviation is undefined because n − 1 is zero. Add at least one more value.
Can standard deviation be negative?
No. Squared deviations are never negative, so the variance and its square root cannot be negative. A value of 0 means every number in the list is identical.
Does the order of the numbers matter?
No. The count, sum, mean, and both standard deviations depend only on the set of values, not on the order in which you enter them.
Sources
2026 update
How to use the professional output
This page is not just a formula box. The result is designed to be checked, compared, and taken away.
- Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
- A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
- Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.
The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.
Part of a decision center
Math Decision Center
See the companion tools, decision guides, and patterns that go with this calculator.
Go deeper
