Standard Deviation: Definition, Method and Examples

MathPublished

Standard Deviation: Definition, Method and Examples

Standard deviation measures how spread out numerical data are around their mean. A small standard deviation indicates that values tend to lie close to the mean, while a larger standard deviation means they are more dispersed. It is a fundamental measure of spread that is always zero or positive and shares the exact same units as the original data.

What is standard deviation?

Standard deviation is a foundational statistical tool used to understand data variability. When you only know the average of a data set, you do not know if the numbers are tightly clustered or widely scattered. Standard deviation meaning is tied to finding that typical distance between each data point and the center of the data.


Standard deviation measures how closely data clusters around the mean.


The symbol for population standard deviation is the lowercase Greek letter sigma, written as σ\sigma.

A number line shows data points at 2, 4, 8, and 10 around a central mean of 6. Arrows highlight the distance from each point to the mean.

Connect deviation to the mean

To measure spread, you must first find the center using the mean. A deviation is simply the mathematical distance of a single data point from that mean.


If a data point is exactly equal to the mean, its deviation is zero. If you sum all the raw deviations for a data set, the positive distances and negative distances will perfectly cancel each other out, always resulting in zero.


To prevent this cancellation, statisticians square each deviation to make them all positive. Averaging these squared deviations gives a value called the variance. Because variance leaves you with squared units, you take the square root to return to the original units. That final result is the standard deviation.

Calculate standard deviation step by step

Understanding how to calculate standard deviation builds directly on finding deviations from the mean. Follow these sequential steps for any complete data set.

  1. Calculate the mean of the data set.
  2. Subtract the mean from every individual data point to find the deviations.
  3. Square each of these deviations.
  4. Calculate the average of these squared deviations to find the variance.
  5. Take the square root of the variance to find the standard deviation.

The standard deviation formula always ends by taking a square root.

Compare two data sets

Two data sets can have the exact same mean but entirely different standard deviations depending on how their numbers are distributed.


Consider one group where every value is closely clustered. The standard deviation is very small because there is minimal spread. Now consider a group where values are scattered far to the left and right. The range in statistics increases, and the standard deviation becomes much larger.

Two dot plots stacked vertically. Set A shows values tightly clustered between 49 and 51. Set B shows values spread out between 46 and 54.


When you graph data using histograms, a narrow, tall shape indicates a low standard deviation, while a wide, flat shape indicates a high standard deviation. Both graphs can be centered on the same mean.

Use the correct population or sample convention

The denominator in your calculation changes slightly depending on whether you are working with a complete population or a sample.


When your data represents every member of a complete group, it is a population. You calculate the variance by dividing the sum of squared deviations by the total number of items, NN.


σ=∑(x−μ)2N\sigma = \sqrt{\dfrac{\sum(x - \mu)^2}{N}}


When your data is only a smaller sample drawn from a larger group, you divide by n−1n - 1 instead of the total number nn. This adjustment corrects for the fact that a sample usually underestimates the true spread of the full population. Sample standard deviation uses the letter ss instead of σ\sigma.


s=∑(x−xˉ)2n−1 s = \sqrt{\dfrac{\sum(x - \bar{x})^2}{n - 1}}

Worked examples

Review these step-by-step calculations to see how the standard deviation formula works in practice.


Example 1: Calculating standard deviation for a population


Question: A complete population consists of the values 44, 88, 66, 55, and 77. What is the standard deviation?


Method:

  1. Find the mean: 4+8+6+5+75=305=6\dfrac{4 + 8 + 6 + 5 + 7}{5} = \dfrac{30}{5} = 6.
  2. Find the deviation for each value:

4−6=−24 - 6 = -2

8−6=28 - 6 = 2

6−6=06 - 6 = 0

5−6=−15 - 6 = -1

7−6=17 - 6 = 1

  1. Square each deviation:

(−2)2=4(-2)^2 = 4

22=42^2 = 4

02=00^2 = 0

(−1)2=1(-1)^2 = 1

12=11^2 = 1

  1. Find the variance by averaging these squares: 4+4+0+1+15=105=2\dfrac{4 + 4 + 0 + 1 + 1}{5} = \dfrac{10}{5} = 2.
  2. Take the square root: σ=2≈1.41\sigma = \sqrt{2} \approx 1.41.

Answer: The standard deviation is approximately 1.411.41.


Check: The original data ranges tightly from 44 to 88 around a mean of 66. A typical distance of roughly 1.411.41 makes logical sense for this compact spread.


Example 2: Calculating sample standard deviation


Question: A sample of three plant heights measures 1010, 1414, and 1818 centimeters. What is the sample standard deviation?


Method:

  1. Find the mean: 10+14+183=423=14\dfrac{10 + 14 + 18}{3} = \dfrac{42}{3} = 14.
  2. Subtract the mean and square each result:

(10−14)2=(−4)2=16(10 - 14)^2 = (-4)^2 = 16

(14−14)2=02=0(14 - 14)^2 = 0^2 = 0

(18−14)2=42=16(18 - 14)^2 = 4^2 = 16

  1. Sum the squared deviations: 16+0+16=3216 + 0 + 16 = 32.
  2. Divide by n−1n - 1 because this is a sample: 323−1=322=16\dfrac{32}{3 - 1} = \dfrac{32}{2} = 16.
  3. Take the square root: s=16=4s = \sqrt{16} = 4.

Answer: The sample standard deviation is 44 centimeters.


Check: The original heights are evenly spaced 44 units away from the central mean, so a sample standard deviation of 44 perfectly matches the data's dispersion.

Common mistakes

Learners often make a few predictable errors when calculating and interpreting standard deviation.


Forgetting the final square root: A frequent mistake is stopping after finding the average of the squared deviations. This value is the variance, not the standard deviation. You must calculate the square root to finish the method.


Writing a negative standard deviation: Standard deviation measures absolute mathematical distance, which cannot be less than zero. If a calculation results in a negative number, a squaring step was calculated incorrectly.


Assuming a larger mean means a larger spread: The center of the data does not dictate its spread. A data set with a mean of 1,0001{,}000 could have a standard deviation of 22, while a completely different data set with a mean of 55 could have a standard deviation of 1010.

Frequently asked questions

Here are common questions that arise when studying data dispersion.


Can standard deviation be the same as the range?

They measure related ideas but use different methods. The range only measures the distance between the absolute maximum and minimum values, while standard deviation incorporates every single data point to find a typical distance from the center.


How does standard deviation relate to a normal distribution?

In a normal distribution, data symmetrically surrounds the mean in a bell-shaped curve. A famous statistical rule states that roughly 6868 percent of the data points fall within exactly one standard deviation of the mean, making it a critical tool for predicting probabilities.

Practice questions

Question

Two dot plots labeled Set X and Set Y. Set X has data spread evenly from 10 to 14. Set Y has all data points stacked directly on 12.

The dot plots show two different sets of data. Which statement correctly compares their standard deviations?

  • Set X has a smaller standard deviation because its values are lower on the graph.

  • Set X has a larger standard deviation because its values are more spread out.

  • They have the exact same standard deviation because they have the same mean.

  • Set Y has a larger standard deviation because its data points are taller.

Answer:

Set X has a larger standard deviation because its values are more spread out.

Question

What is the standard deviation of the population data set containing the values 55, 55, 55, and 55?

  • 00

  • 11

  • 55

  • 2020

Answer:

00

Question

What is the sample standard deviation of the data set 1010, 2020, and 3030?

  • 1010

  • ≈8.16\approx 8.16

  • 2020

  • 100100

Answer:

1010

Question

A student calculated the standard deviation of a data set and obtained a result of −2.5-2.5. What can be logically concluded?

  • The data set mostly contains negative numbers.

  • The mean of the data set is a negative value.

  • The calculation is incorrect because standard deviation cannot be negative.

  • The data points are very tightly clustered around the mean.

Answer:

The calculation is incorrect because standard deviation cannot be negative.

Question

A bell-shaped normal distribution curve centered symmetrically around a dashed line labeled Mean equals 50. An arrow points to the right to mark exactly plus one standard deviation.

The diagram shows a symmetric normal distribution with a mean of 5050 and a standard deviation of 55. What data value is positioned exactly one standard deviation above the mean?

  • 4545

  • 5050

  • 5555

  • 6060

Answer:

5555