How Spread Out Is the Data?
Two classes can have the same average mark and still be very different. In one class nearly everybody scores close to the average. In the other, some students score very high and some very low. The mean cannot show this difference, so we need a number that measures how widely the observations are scattered around the mean. Such a number is called a measure of dispersion.
Mean deviation was one such measure. It takes the distance of each observation from the mean and ignores the signs. Standard deviation does the same job in a more powerful way: instead of ignoring the signs, it squares each deviation, so every squared value is positive. It is the measure of dispersion used most often in statistics.

Definition of Standard Deviation
Standard deviation: the square root of the average of the squared differences of the given observations from their mean. It is written SD or \( \sigma \), the lower case Greek letter sigma.
Read the definition from the inside out, because that is the order in which you calculate it. First find the mean \( \bar{X} \). Then find each difference \( X - \bar{X} \). Square each difference. Take the average of the squares by adding them and dividing by \( N \), the number of observations. Finally take the square root. In symbols:
\[ \sigma = \sqrt{\frac{\sum (X - \bar{X})^2}{N}} \]
Root-mean squared deviation: another name for standard deviation. The name lists the steps backwards: the root of the mean of the squared deviations.
A low standard deviation means the observations lie close to the mean, which is also called the expected value. A high standard deviation means the observations are spread over a wide range of values.
Formulas for an Individual Series
In an individual series every observation \( X_1, X_2, X_3, \ldots, X_n \) is listed separately. The standard deviation can be found by any one of three methods. All three give the same answer; they only organise the arithmetic differently.
(i) Actual mean method. Here \( d = X - \bar{X} \), the deviation from the real mean:
\[ \sigma = \sqrt{\frac{\sum (X - \bar{X})^2}{N}} \]
\[ \sigma = \sqrt{\frac{\sum d^2}{N}} \]
(ii) Direct method. This works with the observations themselves and their squares, so no deviations are needed:
\[ \sigma = \sqrt{\frac{\sum X^2}{N} - \left(\frac{\sum X}{N}\right)^2} \]
(iii) Assumed mean method. Here \( d = X - A \), where \( A \) is an assumed mean, any convenient value you choose, usually one near the middle of the data:
\[ \sigma = \sqrt{\frac{\sum d^2}{N} - \left(\frac{\sum d}{N}\right)^2} \]
Formulas for a Discrete Series
In a discrete series each value \( X_1, X_2, \ldots, X_n \) comes with a frequency \( f_1, f_2, \ldots, f_n \) telling how many times it occurs. Every quantity from the individual series is now multiplied by its frequency, and \( N = \sum f \).
| Method | Formula | Meaning of d |
| Actual mean | \( \sigma = \sqrt{\frac{\sum fd^2}{N}} \) | \( d = X - \bar{X} \) |
| Direct | \( \sigma = \sqrt{\frac{\sum fX^2}{N} - \left(\frac{\sum fX}{N}\right)^2} \) | not used |
| Assumed mean | \( \sigma = \sqrt{\frac{\sum fd^2}{N} - \left(\frac{\sum fd}{N}\right)^2} \) | \( d = X - A \) |
The actual mean formula can also be written \( \sigma = \sqrt{\frac{\sum f(X - \bar{X})^2}{N}} \), which is the definition with each squared deviation counted as many times as it occurs.
Coefficient of Standard Deviation
Standard deviation is an absolute measure of dispersion. It carries the same unit as the data: marks, centimetres or rupees. That makes it hard to compare the spread of two sets measured in different units or with very different means. Dividing by the mean removes the unit and gives a relative measure.
Coefficient of standard deviation (CSD): the relative measure of dispersion obtained by dividing the standard deviation by the mean. It is also called the standard coefficient of dispersion. It has no unit.
\[ \text{CSD} = \frac{\text{SD}}{\bar{X}} = \frac{\sigma}{\bar{X}} \]
Variance
Variance: the average of the squared deviations of the observations from their mean. It is the square of the standard deviation, so the standard deviation is the square root of the variance.
\[ \text{Var} = \sigma^2 = \frac{\sum (X - \bar{X})^2}{N} \]
Every formula for \( \sigma \) becomes a formula for variance when you simply leave out the square root sign. For example, by the direct method \( \sigma^2 = \frac{\sum X^2}{N} - \left(\frac{\sum X}{N}\right)^2 \) for an individual series, and \( \sigma^2 = \frac{\sum fX^2}{N} - \left(\frac{\sum fX}{N}\right)^2 \) for a discrete series.
Variance and standard deviation are different numbers. If a question asks for the standard deviation, do not stop at \( \sigma^2 \): take the square root. If it asks for the variance, do not take the square root.
Coefficient of Variation
Coefficient of variation (CV): a measure of relative variability. It is the ratio of the standard deviation to the mean, expressed as a percentage.
\[ \text{CV} = \frac{\sigma}{\bar{X}} \times 100\% \]
So the coefficient of variation is just the coefficient of standard deviation multiplied by 100. When two sets of data are compared, the one with the smaller CV is the more consistent or more uniform one, and the one with the larger CV is the more variable one.
Example 1: Individual Series by the Actual Mean Method
Find the standard deviation and the coefficient of variation of the marks 22, 25, 30, 35, 40, 45, 48.
Step 1: Finding the mean. There are 7 marks and they add up to 245, so:
\[ \bar{X} = \frac{245}{7} = 35 \]
Step 2: Making a table. Each mark has 35 subtracted from it, and each difference is squared. Because the mean is a whole number, this method is quick here.

Notice that the negative deviations become positive once squared, and that the deviations themselves add up to 0. Squaring is what stops them cancelling.
Step 3: Putting the total into the formula, with \( N = 7 \):
\[ \sigma = \sqrt{\frac{588}{7}} = \sqrt{84} \]
Step 4: Taking the square root:
\[ \sigma = 9.17 \]
Step 5: Dividing by the mean and multiplying by 100 to get the coefficient of variation:
\[ \text{CV} = \frac{9.17}{35} \times 100\% = 26.2\% \]
The variance of these marks is \( \sigma^2 = 84 \), and the coefficient of standard deviation is \( \frac{9.17}{35} = 0.262 \).
Example 2: Discrete Series by the Actual Mean Method
Find the standard deviation and its coefficient from the marks of 50 students shown in this frequency table.

Step 1: Finding the mean. Multiplying each mark by its frequency gives \( \sum fX = 1430 \) and \( N = \sum f = 50 \), so:
\[ \bar{X} = \frac{\sum fX}{N} = \frac{1430}{50} = 28.6 \]
Step 2: Building the rest of the table. For each row, \( d = X - 28.6 \) is found, then \( fd \) by multiplying by the frequency, then \( fd^2 \) by multiplying \( fd \) by \( d \) once more.

Step 3: Using the formula with both terms. Since d was measured from the actual mean, \( \sum fd = 0 \), so the second term vanishes:
\[ \sigma = \sqrt{\frac{7602}{50} - \left(\frac{0}{50}\right)^2} \]
Step 4: Dividing and taking the square root:
\[ \sigma = \sqrt{152.04} = 12.33 \]
Step 5: Dividing by the mean for the coefficient of standard deviation:
\[ \text{CSD} = \frac{12.33}{28.6} = 0.43 \]
Deviations taken from the actual mean always add up to zero, so \( \sum fd = 0 \) is a free check on your table. If your total is not 0 (or very nearly 0 after rounding), a row is wrong.
Example 3: The Direct Method on the Same Marks
Find the standard deviation of 22, 25, 30, 35, 40, 45, 48 again, this time without finding any deviations.
Step 1: Squaring each mark and adding. The squares are 484, 625, 900, 1225, 1600, 2025 and 2304, so:
\[ \sum X = 245, \quad \sum X^2 = 9163 \]
Step 2: Substituting into the direct formula with \( N = 7 \):
\[ \sigma = \sqrt{\frac{9163}{7} - \left(\frac{245}{7}\right)^2} \]
Step 3: Working out each term. Since \( \frac{9163}{7} = 1309 \) and \( 35^2 = 1225 \):
\[ \sigma = \sqrt{1309 - 1225} = \sqrt{84} = 9.17 \]
The answer matches Example 1 exactly, as it must. The direct method is useful when the mean is an awkward decimal, because it never subtracts the mean from each observation.
In the direct method the second term is the square of the mean, \( \left(\frac{\sum X}{N}\right)^2 \). It is not \( \frac{\sum X^2}{N} \) again, and it is not \( \frac{(\sum X)^2}{N} \). Divide first, then square.
Example 4: The Assumed Mean Method on the Same Marks
Find the standard deviation of the same seven marks by taking the assumed mean \( A = 30 \).
Step 1: Finding \( d = X - 30 \) for every mark, and squaring it:
| X | d = X - 30 | d² |
| 22 | -8 | 64 |
| 25 | -5 | 25 |
| 30 | 0 | 0 |
| 35 | 5 | 25 |
| 40 | 10 | 100 |
| 45 | 15 | 225 |
| 48 | 18 | 324 |
| Total | Σd = 35 | Σd² = 763 |
Step 2: Substituting into the assumed mean formula. This time \( \sum d \) is not zero, because 30 is not the real mean:
\[ \sigma = \sqrt{\frac{763}{7} - \left(\frac{35}{7}\right)^2} \]
Step 3: Working out each term. Since \( \frac{763}{7} = 109 \) and \( 5^2 = 25 \):
\[ \sigma = \sqrt{109 - 25} = \sqrt{84} = 9.17 \]
Once more the answer is \( \sqrt{84} \). The second term \( \left(\frac{\sum d}{N}\right)^2 \) is the correction for having guessed the mean instead of using the true one.
Example 5: A Discrete Series by the Assumed Mean Method
Find the standard deviation of the marks of the 50 students from Example 2, taking \( A = 30 \). The real mean 28.6 is a decimal, so a whole-number assumed mean keeps the table simple.
Step 1: Making the table with \( d = X - 30 \):
| X | f | d = X - 30 | fd | fd² |
| 10 | 8 | -20 | -160 | 3200 |
| 20 | 12 | -10 | -120 | 1200 |
| 30 | 15 | 0 | 0 | 0 |
| 40 | 9 | 10 | 90 | 900 |
| 50 | 6 | 20 | 120 | 2400 |
| Total | N = 50 | Σfd = -70 | Σfd² = 7700 |
Step 2: Substituting the totals into the formula:
\[ \sigma = \sqrt{\frac{7700}{50} - \left(\frac{-70}{50}\right)^2} \]
Step 3: Working out each term. Since \( \frac{7700}{50} = 154 \) and \( (-1.4)^2 = 1.96 \):
\[ \sigma = \sqrt{154 - 1.96} = \sqrt{152.04} \]
Step 4: Taking the square root:
\[ \sigma = 12.33 \]
This is the same as Example 2, and every number in the table was a whole number. The same table also gives the mean: \( \bar{X} = A + \frac{\sum fd}{N} = 30 - 1.4 = 28.6 \). The variance of these marks is 152.04 and the coefficient of variation is \( \frac{12.33}{28.6} \times 100\% = 43.1\% \).
With an assumed mean, the term \( \left(\frac{\sum fd}{N}\right)^2 \) must never be left out. It is only zero when A happens to equal the real mean.
Which Method Should You Use?
- Use the actual mean method when the mean is a whole number or a simple decimal, as in Example 1.
- Use the direct method when the numbers are small enough to square comfortably, or when the mean is an awkward decimal.
- Use the assumed mean method when the mean is an awkward decimal and the values are large or evenly spaced; choose A from the middle of the data.
- Whatever method you choose, the standard deviation comes out the same, so an examiner accepts any of them.
The full lesson is waiting for you
The notes are free to read in full. A free account opens the rest of the practice, and tracks your progress and confidence score for every subject. Presentations and videos need approval from Learn Yeti.