AP Stats Standard Deviation Calculator

Standard deviation tells you how spread out your data are around the mean. A small standard deviation means the values cluster close to the mean; a large one means they are widely scattered. Use this calculator to find both the sample and population standard deviation — and to check which one your AP Statistics question is asking for.

Results

Count (n)—
Mean (x̄)—
Sample SD (s / Sx)—
Population SD (σ / σx)—
Sample Variance (s²)—
Population Variance (σ²)—

Which one should you report? Use the sample standard deviation (s, divided by n − 1) when your data are a sample taken from a larger population — this is the usual AP Statistics case. Use the population standard deviation (σ, divided by n) only when your data are the entire population and you are not generalizing beyond them.

Interactive visual: Live preview

Press Show live preview to redraw this chart from your calculator inputs.

What Is Standard Deviation?

Standard deviation measures how spread out values are around the mean. A small standard deviation means the values cluster close to the mean, and a large one means they are widely scattered. It is the square root of the variance, which puts it back in the original units of the data, such as points or centimeters.

Interactive visual: See the idea

Example: 2, 4, 4, 4, 5, 5, 7, 9 — mean = 5, population SD = 2, sample SD about 2.14.

How to Use This Calculator

Interactive visual: Walk through it

Step 1: Open the AP Stats Standard Deviation Calculator calculator at the top and enter the values it asks for.

  1. Type your numbers into the box, separated by commas — for example, 2, 4, 4, 4, 5, 5, 7, 9.
  2. Click Calculate.
  3. Read the mean, count, and both standard deviations. Compare the sample and population values, then pick the one that matches your question.
  4. Stuck? Click Try the worked example to load a ready-made data set and see exactly how the answer is found.

You need at least 2 numbers. The sample standard deviation is undefined for a single value because it divides by n − 1, which would be zero.

How to Calculate Standard Deviation

Interactive visual: See it on a chart

Press Update visual to redraw this chart from your calculator inputs.

First find the mean, then find how far each value is from that mean, square those distances, average them, and take the square root. Squaring stops positive and negative distances from cancelling each other out.

Sample standard deviation: s = √[ Σ(x − x̄)² / (n − 1) ]

Population standard deviation: σ = √[ Σ(x − μ)² / n ]

The only difference is the denominator: n − 1 for a sample, n for a population. That is why the sample value is always a little larger than the population value for the same data.

Worked example: 2, 4, 4, 4, 5, 5, 7, 9

  1. Count: n = 8.
  2. Mean: (2 + 4 + 4 + 4 + 5 + 5 + 7 + 9) ÷ 8 = 40 ÷ 8 = 5.
  3. Squared deviations: (2−5)² = 9, (4−5)² = 1, (4−5)² = 1, (4−5)² = 1, (5−5)² = 0, (5−5)² = 0, (7−5)² = 4, (9−5)² = 16. Sum = 9 + 1 + 1 + 1 + 0 + 0 + 4 + 16 = 32.
  4. Population variance: 32 ÷ 8 = 4, so population SD σ = √4 = 2.
  5. Sample variance: 32 ÷ 7 ≈ 4.5714, so sample SD s = √4.5714 ≈ 2.1381.

So for this data set: mean = 5, population SD = 2, and sample SD ≈ 2.1381. Try it in the calculator above to confirm.

Tips and Common Mistakes

Interactive visual: Mistake vs correct

Mistake: Dividing by n when you need the sample SD.

Frequently Asked Questions

Interactive visual: FAQ

Tap any question below to show or hide its answer.

What is standard deviation in AP Statistics?

It is a measure of spread: the typical distance of data values from the mean. A standard deviation of 0 means every value is identical; larger values mean the data are more spread out.

What is the difference between sample and population standard deviation?

Sample standard deviation (s) divides the sum of squared deviations by n − 1 and is used when the data are a sample from a larger population. Population standard deviation (σ) divides by n and is used only when the data are the entire population. Dividing by n − 1 corrects for the fact that a sample tends to underestimate the population spread.

When should I use Sx vs. σx on my TI-84?

On a TI-84, run 1-Var Stats and look at the results: Sx is the sample standard deviation and σx is the population standard deviation. In AP Statistics, you will almost always want Sx, because the data are usually a sample. Use σx only when the problem explicitly treats the data as the whole population.

Can standard deviation be negative?

No. It is a square root of a sum of squares, so it is always zero or positive. If you get a negative value, you made an arithmetic or calculator error — check for a misplaced minus sign or a wrong data entry.

Why is standard deviation squared in the calculation, then square-rooted?

Simply averaging the deviations from the mean would always give zero, because values above and below the mean cancel out. Squaring makes every deviation positive, and the final square root brings the result back to the original units.

How does standard deviation relate to variance?

Variance is the standard deviation squared (s² or σ²). Variance is useful in formulas, but standard deviation is easier to interpret because it is in the same units as the data.

What if I have only one number?

Spread is meaningless for a single value, and the sample formula divides by n − 1 = 0. Enter at least 2 numbers to get a standard deviation.

Disclaimer: AP is a trademark of the College Board, which was not involved in the production of, and does not endorse, this site.

Related Calculators and Guides

Keep exploring AP Statistics with calculators and guides related to this tool.

Related Calculators

Interactive visual: Tool path

Start with this tool, then follow the path through the related calculators.

Standard Deviation Calculator → Variance Calculator → Outlier Calculator

Related Guides

All AP Statistics Calculators

Use any of the 25 free calculators below, no login needed. Each calculator opens on its own page with its own formula, worked example, tips, and FAQs.

AP Statistics Score Calculator Z-Score Calculator P-Value Calculator T-Test Calculator Confidence Interval Calculator Margin of Error Calculator Standard Deviation Calculator Chi-Square Calculator Binomial Distribution Calculator Normal Distribution Calculator Expected Value Calculator Hypothesis Testing Calculator Sample Size Calculator Correlation Coefficient Calculator Residual Calculator Linear Regression Calculator Two-Sample T-Test Calculator Proportion Confidence Interval Calculator Variance Calculator Geometric Distribution Calculator Percentile Calculator Degrees of Freedom Calculator Outlier Calculator R-Squared Calculator Poisson Distribution Calculator

Read the AP Statistics guides for worked examples, TI-84 steps, and exam strategy.