## This article is part of the guide:

Discover 17 more articles on this topic

Don't miss these related articles:

## Explore full scheme

The standard deviation is the square root ofdifference. So the way we calculate the standard deviation is very similar to the way we calculate the variance.

In fact, to calculate the standard deviation, we must first calculate the variance and then take its square root.

## standard deviation formula

The standard deviation formula is similar to the variance formula. It is given by:

σ = standard deviation

x

_{eu}= each value in the datasetx( = oarithmetic meaningof the data (This symbol will be indicated as the mean from now on)

N = the total number of data points

∑ (x

_{eu}-x)^{2}= a bit of (x_{eu }- x)^{2}for all data points

For simplicity, let's rewrite the formula:

σ = √[ ∑(x - mean)

^{2}/norte]

This is to minimize the possibility of confusion in the examples below.

## Standard Deviation Calculation Example (for Population)

As an example for calculating the standard deviation, consider a sample of IQ scores given by 96, 104, 126, 134, and 140.

**Write the formula.**

σ = √[ ∑(x - x̄)^{2}/norte]

**How many numbers are there (N)?**

There are five numbers.

σ = √[ ∑(x - x̄)^{2}/ 5]

**What is the meaning?**

The average of these data is (96 + 104 + 126 + 134 + 140) / 5 = 120.

σ = √[ ∑(x- 120)^{2}/ 5]

**What are the respective deviations from the mean?**

The deviation from the mean is given by 96 -120 = -24; 104 - 120 = -16; 126 - 120 = 6; 134 - 120 = 14 and 140 - 120 = 20.

σ = √[ ((-24)^{2}+(-16)^{2}+(6)^{2}+(14)^{2}+(20)^{2}) / 5 ]

σ = √[ ((96 - 120)^{2}+(104 - 120)^{2}+(126 - 120)^{2}+(134 - 120)^{2}+(140 - 120)^{2}) / 5 ]

**Square it and add the deviations:**

The sum of their squares is given by (-24)^{2}+ (-16)^{2}+ (6)^{2}+ (14)^{2}+ (20)^{2}= 1464.

σ = √[ (576 + 256 + 36 + 196 + 400) / 5 ]

σ = √[(1464) / 5]

σ = √[ ((-24)x(-24)+(-16)x(-16)+(6)x(6)+(14)x(14)+(20)x(20)) / 5]

**Divide by the number of scores**(minus one if it's a sample, not a population):

The average of this value is given by 1464/5 = 292.8. The number in parentheses is thedifferenceof the data

σ = √[292.8]

**Square root of the total:**

To calculate the standard deviation, we take the square root √(292.8) = 17.11.

σ = 17.11

Now we can see that the sample standard deviation is greater than the data standard deviation.

## data interpretation

The calculation of the standard deviation is important to correctly interpret the data. For example, in physical sciences, a minorStandard deviationsince the same measure implies greater precision for the experiment.

In addition, when it is necessary to interpret the mean, it is important to quote the standard deviation as well. For example, the average temperature for a day in two cities might be 24°C. However, if the standard deviation is too large, it can mean extreme temperatures: very hot during the day and very cold at night (like in the desert). On the other hand, if the standard deviation is small, it means a fairly uniform temperature throughout the day (as in a coastal region).

## Standard deviation for samples

As with variance, we define a sample standard deviation when we are dealing with samples rather than populations. This is given by a slightly modified equation:

where the denominator is N - 1 instead of N in the previous case. This correction is necessary to obtain an unbiased estimator of the standard deviation.

### Sample standard deviation example

The same calculation as the previous example follows, for the population standard deviation, with one exception: the division must be "N - 1" and not "N".

σ = √[ ∑(x - mean)^{2}/ (N - 1) ]

Then follow the same example as above, except there is a 4 where there was a 5.

**Write the formula.**

σ = √[ ∑(x - mean)^{2}/ (N - 1) ]

**How many numbers are there (N)?**

There are five numbers.

σ = √[ ∑(x-media)^{2} / (5-1)]

σ = √[ ∑(x-media)^{2}/ 4]

**What is the meaning?**

The average of these data is (96 + 104 + 126 + 134 + 140) / 5 = 120.

σ = √[ ∑(x-120)^{2}/ 4]

**What are the respective deviations from the mean?**

The deviation from the mean is given by 96 - 120 = -24; 104 - 120 = -16; 126 - 120 = 6; 134 - 120 = 14 and 140 - 120 = 20.

σ = √[ ((-24)^{2}+(-16)+(6)^{2}+(14)2+(20)^{2}) / 4 ]

σ = √[ ((96 - 120)^{2}+(104-120)+(126-120)^{2}+(134-120)^{2}+(140-120)^{2}) / 4 ]

**Square it and add the deviations:**

The sum of their squares is given by (-24)2 + (-16)2 + (6)2 + (14)2 + (20)2 = 1464.

σ = √[ (576 + 256 + 36 + 196 + 400) / 4 ]

σ = √[(1464) / 4]

σ = √[ ((-24)x(-24)+(-16)x(-16)+(6)x(6)+(14)x(14)+(20)x(20)) / 4]

**Divide by the number of scores minus one**(minus one, as it is a sample, not a population):

The average of this value is given by 1464 / 4 = 366. The number in parentheses is thedifferenceof the data

σ = √[366]

**Square root of the total:**

To calculate the standard deviation, we take the square root √(366) = 19.13.

σ = 19.13

## FAQs

### How do you calculate standard deviation? ›

**Step 1: Find the mean.** **Step 2: For each data point, find the square of its distance to the mean.** **Step 3: Sum the values from Step 2.** **Step 4: Divide by the number of data points**.

**Why do we calculate standard deviation? ›**

A standard deviation (or σ) is **a measure of how dispersed the data is in relation to the mean**. Low standard deviation means data are clustered around the mean, and high standard deviation indicates data are more spread out.

**What is the fastest way to calculate standard deviation? ›**

**To calculate the standard deviation of those numbers:**

- Work out the Mean (the simple average of the numbers)
- Then for each number: subtract the Mean and square the result.
- Then work out the mean of those squared differences.
- Take the square root of that and we are done!

**What is standard deviation with an example? ›**

The standard deviation **measures the spread of the data about the mean value**. It is useful in comparing sets of data which may have the same mean but a different range. For example, the mean of the following two is the same: 15, 15, 15, 14, 16 and 2, 7, 14, 22, 30. However, the second is clearly more spread out.

**What is sample standard deviation? ›**

1.3 Sample Standard Deviation. **The root-mean square of the differences between observations and the sample mean, s j = σ ^ j** , is called the sample standard deviation: s j = 1 N ∑ t = 1 N ( X j t − X ¯ j ) 2 . Two or more standard deviations from the mean are considered to be a significant departure.

**What are the two ways to calculate standard deviation? ›**

There are two main ways to calculate standard deviation: **population standard deviation and sample standard deviation**. If you collect data from all members of a population or set, you apply the population standard deviation.

**What is the most used formula for standard deviation? ›**

Population Standard Deviation Formula | σ = ∑ ( X − μ ) 2 n |
---|---|

Sample Standard Deviation Formula | s = ∑ ( X − X ¯ ) 2 n − 1 |

**Is standard deviation difficult to calculate? ›**

In a practical situation, when the population size N is large it becomes difficult to obtain value x_{i} for every observation in the population and hence **it becomes difficult to calculate the standard deviation (or variance) for the population**.

**What is standard deviation in math? ›**

Standard deviation, denoted by the symbol σ, describes the square root of the mean of the squares of all the values of a series derived from the arithmetic mean which is also called the root-mean-square deviation. 0 is the smallest value of standard deviation since it cannot be negative.

**What is standard deviation simplified? ›**

What is standard deviation? Standard deviation tells you how spread out the data is. It is **a measure of how far each observed value is from the mean**. In any distribution, about 95% of values will be within 2 standard deviations of the mean.

### What is standard deviation and how is it used? ›

The standard deviation is a measure of the spread of scores within a set of data. Usually, we are interested in the standard deviation of a population. However, as we are often presented with data from a sample only, we can estimate the population standard deviation from a sample standard deviation.

**How to calculate standard deviation with mean and sample size? ›**

**Standard Deviation**

- First, take the square of the difference between each data point and the sample mean, finding the sum of those values.
- Next, divide that sum by the sample size minus one, which is the variance.
- Finally, take the square root of the variance to get the SD.

**What is the standard deviation of a set of numbers? ›**

Standard deviation is a measure of dispersion of data values from the mean. The formula for standard deviation is the square root of the sum of squared differences from the mean divided by the size of the data set.

**How to calculate standard deviation in Excel? ›**

Say there's a dataset for a range of weights from a sample of a population. Using the numbers listed in column A, the formula will look like this when applied: **=STDEV.S(A2:A10)**. In return, Excel will provide the standard deviation of the applied data, as well as the average.

**What is standard deviation for dummies? ›**

What is standard deviation? Standard deviation **tells you how spread out the data is**. It is a measure of how far each observed value is from the mean. In any distribution, about 95% of values will be within 2 standard deviations of the mean.