Ace My Homework - Official Online Homework Help
Login
Ace My Homework - Official Online Homework Help

Standard Deviation Calculator with Steps

Use this standard deviation calculator to find the sample or population standard deviation, variance and mean of a data set, with every deviation shown.

Paste a list of numbers into this standard deviation calculator and it returns the sample standard deviation, the population standard deviation, or both, along with the count, sum, mean, variance, range and coefficient of variation. A deviations table under the results shows every step, so you can copy the working onto your homework the way your instructor expects to see it.

How to Use the Standard Deviation Calculator

  1. Paste or type your data. Separate values with commas, spaces, tabs, semicolons or new lines, so a column copied from a spreadsheet works as it is. Write thousands without a comma (1250, not 1,250), because a comma is read as a separator. Leave out labels and units, so type 24.1, not 24.1 mL. Negative numbers and decimals are fine, and the Try example buttons load a sample data set if you want to see the layout first.
  2. Choose sample, population or both. Sample divides by n − 1 and population divides by n. If you aren't sure, choose both and compare.
  3. Read the summary. You get n, the sum Σx, the mean x̄, the sum of squares, the variance and the standard deviation for each version, then the minimum, maximum, range and CV. Results show up to four decimals and are computed from unrounded values.
  4. Open the deviations table. Each row lists a value, its deviation from the mean and the squared deviation. The last row totals the squares.

Results update as you type. Copy link stores your data set in the address so you can reopen it or send it to a study partner.

Sample and Population Standard Deviation Formulas

Both formulas start the same way: find the mean, subtract it from every value, square those deviations and add them up. That total is the sum of squares, SS = Σ(x − x̄)². They differ only in what you divide by.

SamplePopulation
Variances² = SS ÷ (n − 1)σ² = SS ÷ N
Standard deviations = √[Σ(x − x̄)² ÷ (n − 1)]σ = √[Σ(x − μ)² ÷ N]
Mean symbolx̄μ
Use it whenThe data are a subset of a larger groupThe data are every member of the group
TI-84 (1-Var Stats)Sxσx
Excel / Google SheetsSTDEV.S / STDEVSTDEV.P / STDEVP

Here x is each data value, n (or N) is the number of values, and Σ means "add them all." Dividing by n − 1 in the sample formula is Bessel's correction. A sample's values sit a little closer to their own mean than to the true population mean, so dividing by n would understate the spread on average.

The standard deviation is the square root of the variance, which puts it back in the units of the original data. A variance of 3.5 square points becomes a standard deviation of 1.87 points.

Example 1: Six Values with the Full Deviations Table

Find the standard deviation of 4, 8, 6, 5, 3 and 7.

First, n = 6 and Σx = 33, so the mean is 33 ÷ 6 = 5.5.

xx − x̄(x − x̄)²
4−1.52.25
82.56.25
60.50.25
5−0.50.25
3−2.56.25
71.52.25
Total017.5

The deviations add to 0, which is a useful check: if your column doesn't sum to zero (allowing for rounding), the mean is wrong.

  • Sample variance: 17.5 ÷ 5 = 3.5, so s = √3.5 = 1.8708
  • Population variance: 17.5 ÷ 6 = 2.9167, so σ = √2.9167 = 1.7078
  • Minimum 3, maximum 8, range 5
  • CV: 1.8708 ÷ 5.5 × 100 = 34.02%. With Show both or Sample selected, the standard deviation calculator bases the CV on s. Choose Population and it uses σ instead, giving 31.05%.

Example 2: Lab Measurements and the Coefficient of Variation

In a chemistry lab, five titrations used 24.1, 24.3, 23.9, 24.2 and 24.0 mL of titrant. Lab reports usually want the sample standard deviation, because five trials are a sample of all the trials you could have run.

  • Σx = 120.5 and x̄ = 120.5 ÷ 5 = 24.1 mL
  • Deviations: 0, 0.2, −0.2, 0.1, −0.1
  • Squared deviations: 0, 0.04, 0.04, 0.01, 0.01, so the sum of squares is 0.10
  • s² = 0.10 ÷ 4 = 0.025 and s = √0.025 = 0.1581 mL
  • CV: 0.1581 ÷ 24.1 × 100 = 0.66%

You would report the result as 24.1 ± 0.2 mL, rounding the standard deviation to match the precision of the measurements. The coefficient of variation, also called the relative standard deviation, lets you compare precision across experiments with different volumes or units.

Example 3: A Quick Check with a Known Answer

Before trusting any standard deviation calculator, including this one, test it on data with a known answer. The values 2, 4, 4, 4, 5, 5, 7 and 9 have a mean of 5 and a sum of squares of 32.

  • Population: σ² = 32 ÷ 8 = 4, so σ = 2
  • Sample: s² = 32 ÷ 7 = 4.5714, so s = 2.1381

OpenStax Introductory Statistics (section 2.7) gives a larger check: for its fifth-grade ages data set, the sum of squares is 9.7375, the sample variance 0.5125 and the sample standard deviation 0.715891. Paste that data in and the results match to four decimals.

What Each Number in the Results Tells You

OutputMeaningExample 1
nHow many values were read6
Sum (Σx)All values added33
Mean (x̄)Sum divided by n5.5
Sum of squaresΣ(x − x̄)², the total squared distance from the mean17.5
VarianceSum of squares divided by n − 1 or N3.5 / 2.9167
Standard deviationSquare root of the variance, in the data's units1.8708 / 1.7078
RangeMaximum minus minimum5
CVSD ÷ |mean|, as a percent34.02% (sample SD)

A larger standard deviation means the values are more spread out around the mean. On its own the number has no "good" or "bad" size; it only makes sense next to the mean and the units. A standard deviation of 2 is huge for titration volumes and tiny for annual salaries.

If your data are roughly bell-shaped, about 68% of values fall within one standard deviation of the mean and about 95% within two. To see where one value sits, plug the mean and standard deviation into the z-score calculator, which turns any value into a standard score and a percentile.

Which Version Your Assignment Wants

Most homework, lab and research data are samples, so the sample standard deviation is the default in introductory statistics. Look for wording like "a random sample of 40 students" or "five trials." Use the population standard deviation when the problem says the data are the entire population, such as "the ages of all 12 employees in the office," or when a textbook explicitly asks for σ.

Online homework systems check the choice of standard deviation closely. If your answer is marked wrong but looks close, compare the two values the calculator gives; you may have used the other standard deviation formula. With large data sets the sample and population standard deviation nearly match, but with n = 5 the gap is easy to see.

Common Mistakes When Finding Standard Deviation by Hand

  • Forgetting the square root. Stopping at 3.5 gives the variance, not the standard deviation.
  • Squaring the sum instead of summing the squares. Square each deviation first, then add.
  • Rounding the mean too early. With a mean like 5.333…, rounding to 5.3 before computing deviations shifts every squared term. Keep full precision until the last step.
  • Dividing by n for sample data. This is the most common reason a hand answer is slightly smaller than the key.
  • Typing a value twice or skipping one. Check that n in the results matches your count.
  • Trusting the CV when the mean is near zero. Dividing by a tiny mean inflates the CV, and when the mean is exactly 0 it is undefined.
  • Typing 1,250 for one thousand two hundred fifty. The comma splits it into 1 and 250. Check that n matches your count.

Going Further with Spread

Standard deviation is one of several measures of spread. The guide to variability in statistics compares it with the range, interquartile range and mean absolute deviation on a single data set. The comparison of descriptive and inferential statistics shows how the sample standard deviation feeds into confidence intervals and t-tests. When a whole problem set is due, a tutor from statistics homework help can explain each step with you.

Last updated . Sample results divide by n − 1 and population results divide by N; the coefficient of variation uses the sample SD unless you choose population, divides by the absolute value of the mean, and is undefined when the mean is 0.

Frequently Asked Questions

How Do You Calculate Standard Deviation Step by Step?

Find the mean, subtract it from each value, and square each result. Add the squares to get the sum of squares. Divide by n − 1 for a sample or by n for a population to get the variance, then take the square root. For 4, 8, 6, 5, 3 and 7, the sum of squares is 17.5 and the sample standard deviation is 1.8708.

What Is the Difference Between Sample and Population Standard Deviation?

The sample version divides the sum of squares by n − 1, while the population version divides by N. Use the sample formula when your data are drawn from a larger group, which covers most homework and lab work. The population formula is for data that include every member of the group. The sample result is always a little larger.

Why Do You Divide by N − 1 for a Sample?

A sample's values cluster slightly closer to the sample mean than to the true population mean, so the squared deviations come out a little small. Dividing by n − 1 instead of n, known as Bessel's correction, makes the sample variance an unbiased estimate of the population variance. The effect is large for small samples and fades as n grows.

Is Variance the Same as Standard Deviation?

No. Variance is the average squared deviation from the mean, and standard deviation is its square root. Because variance is in squared units, such as square centimeters, the standard deviation is easier to interpret: it is in the same units as the data. A sample variance of 3.5 corresponds to a standard deviation of about 1.87.

What Is a Good Standard Deviation?

There is no universal good value. Standard deviation only means something relative to the mean and the units of the data. For lab measurements a small standard deviation shows good precision. For comparing groups with different averages, use the coefficient of variation, which divides the standard deviation by the mean and expresses the spread as a percentage.

Can Standard Deviation Be Negative or Zero?

It can never be negative, because it is the square root of a sum of squared numbers. It equals zero only when every value in the data set is identical, so there is no spread at all. A sample of one value has no defined sample standard deviation, since n − 1 would be zero; the calculator flags that case.

How Do I Find Standard Deviation on a TI-84?

Press STAT, choose Edit, and type your data into L1. Then press STAT, move to CALC, choose 1-Var Stats, and run it on L1. The screen lists Sx, the sample standard deviation, and σx, the population standard deviation. For 4, 8, 6, 5, 3 and 7 you should see Sx = 1.8708 and σx = 1.7078.