Summarize this article:
253 LearnersLast updated on December 1, 2025

In mathematics and statistics, variance and standard deviation are fundamental measurements for understanding data distribution. Variance measures how much the data points spread out from the mean, whereas standard deviation represents the spread of data in the same units as the original values. In this topic, we take a closer look at both variance and standard deviation.
Variance measures how the data values are spread around the mean. It shows how much the values in a data set differ from the average. The symbol for variance is σ². In simple words, variance is the average of the squared differences between each value and the mean.
Example:
The test scores of five students are: 6, 8, 10, 12, and 14. Find the variance of the scores.
Solution:
Step 1: Find the mean, which means average.
Mean = \(\frac{6 + 8 + 10 + 12 + 14}{5}\)
Mean = 10
Step 2: Then find each value’s deviation from the mean.
\(6 - 10 = -4\)
\(8 - 10 = -2\)
\(10 -10 = 0\)
\(12 - 10 = 2\)
\(14 - 10 = 4\)
Step 3: Square each deviation.
\((-4)^2 = 16 \\ (-2)^2 = 4 \\ 0^2 = 0 \\ 2^2 = 4 \\ 4^2 = 16\)
Step 4: Find the average of the squared deviations.
Variance = \(\frac{16 + 4 + 0 + 4 + 16}{5}\)
Variance = \(\frac{40}{5}\)
Variance = 8
Variance helps us determine how far the data values are from the mean. To understand this concept more clearly, we can look at the basic properties of variance. These properties help to explain how the variance behaves and why it is an important tool in statistics.
To measure how spread out the data values are, we use variance. Depending on whether we are working with an entire population or only a sample, the formula changes slightly. Below are the two main formulas used in statistics: population variance and sample variance.
1. Formula for Population Variance
\(\sigma^2 = \frac{\sum_{i=1}^{N} (x_i - \bar{x})^2}{N}\)
Where:
σ2 = Population variance
N = Number of observations in the population
xi = Each observation
\(\bar{x}\) = Mean of the population
This is called the population variance formula because it is used when we have the data for every member of the group.
2. Formula for Sample Variance
\(s^2 = \frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n - 1}\)
Where:
s2 = Sample variance
n = Number of observations in the sample
xi = Each sample observation
\(\bar{x}\) = Sample mean
This formula is used when we only have a sample from the population, not the entire population.


Standard deviation shows how much the values in a data set vary from the mean. In simple terms, the standard deviation tells us how far the data values are from the average. The symbol represents it σ. Another way to understand it is: Standard deviation is the square root of the variance.
Example:
The test scores of 5 students are: 8, 12, 14, 16, 20. Find the standard deviation of the data.
Solution:
Step 1: First, find the Mean
Mean = \(\frac{8 + 12 + 14 + 16 + 20}{5} = 14\)
Step 2: Find Each Value’s Deviation from the Mean
\(8 − 14 = -6\)
\(12 − 14 = -2 \)
\(14 − 14 = 0\)
\(16 − 14 = 2\)
\(20 − 14 = 6\)
Step 3: Square Each Deviation
\((-6)^2 = 36 \\ (-2)^2 = 4 \\ 0^2 = 0 \\ 2^2 = 4 \\ 6^2 = 36\)
Step 4: Find the Variance
Variance = \(\frac{36 + 4 + 0 + 4 + 36}{5} = \frac{80}{5} = 16\)
Step 5: Find the Standard Deviation
\(\sigma^2 = 16 \\ \sigma = \sqrt{\sigma^2} = \sqrt{16} = 4\)
The standard deviation of the given data is 4.
Standard deviation shows how much the values in a data set differ from the mean. To use it well, it helps to know its properties. These properties explain how the standard deviation works and why it is a critical way to measure spread in statistics.
To measure how much the data values are spread out from the mean, we use the standard deviation formula. The formula changes depending on whether we are working with the entire population or only a sample taken from that population. Below are the two main formulas used in statistics.
1. Formula for Population Standard Deviation
\(\sigma = \sqrt{\frac{\sum_{i=1}^{N} (x_i - \mu)^2}{N}}\)
Where:
σ = Population standard deviation
N = Number of observations in the Population
xi = Each observation
μ = Population mean
This is called the population standard deviation formula because it is used when data for the entire population is available.
2. Formula for Sample Standard Deviation
\(s = \sqrt{\frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n - 1}}\)
Where:
s = Sample standard deviation
n = Number of observations in the sample
xi = Each sample observation
\(\bar{x}\) = Sample mean
To understand and measure the risk, consistency, and distribution of data, the measures of variance and standard deviations are employed in the fields of finance, accounting, and statistics. They are used to calculate the deviation of the values from their mean and assess the spread of data. Here are some of the main differences between these two fundamental measurements:
| Features | Variance | Standard Deviation |
| Meaning | Shows how much the data values differ from the mean by calculating the average of the squared deviations. | It indicates the average amount by which the data values deviate from the mean. |
| Symbol | σ² | σ |
| Unit | It is expressed in the squared units of the original data, which makes the interpretation less straightforward. | It is expressed in the same units as the data, making interpretation more straightforward. |
| Interpretation | Harder to understand because the values are in a square. | Easy to understand and helpful in comparing how the different data sets are spread. |
| Indicates | The overall amount of variability within the data set. | How widely the values are spread around the mean. |
| Uses | Helpful in statistical calculations, probability models, and mathematical analysis. Standard Deviation. |
It helps understand real-world variation, such as consistency, stability, and volatility. |
Variance and standard deviation are two important measures that describe how much the values in the data set differ from the mean. Both help us understand the spread or variability of the data.
Relationship Between Them
This means that knowing either one allows you to easily find the other, since they are directly connected through a square–root relationship.
Understanding the variance and standard deviation is essential for analyzing how the data spreads. These measures reveal how values differ from the mean, helping interpret patterns, compare data sets, and make accurate conclusions.
To make predictions and well-informed decisions in the fields of statistics and data analytics, variance and standard deviation are important tools. These fundamental concepts help measure the deviation and spread of data in a given dataset. However, students make some errors when they calculate the standard deviation and variance. Understanding these common mistakes and their solutions will help students make correct calculations and solve complex mathematical problems.
The real-world applications of variance and standard deviation are countless. They help us measure the spread and deviation of the given data from its average or mean.
The weights of 5 students in a class are: 28, 30, 32, 34, and 36 kilograms. Find the variance and standard deviation.
The variance is 8. The standard deviation is approximately 2.83.
Here, we have to find the mean first.
Mean = \(\text{Mean} = \frac{\text{Sum of all values}}{\text{Total number of values}}\)
Mean = \(\frac{28 + 30 + 32 + 34 + 36}{5} = \frac{160}{5} = 32\)
Therefore, 32 is the mean.
Find each value’s deviation from the mean (xi − μ):
\((28 − 32 = −4); (30 − 32 = −2); (32 − 32 = 0); (34 − 32 = 2); (36 − 32 = 4).\)
Square each deviation:
\((-4)^2 = 16, \quad (-2)^2 = 4, \quad 0^2 = 0, \quad 2^2 = 4, \quad 4^2 = 16\)
Calculate the variance using the formula:
\(σ² = {∑_{i=1}^N (xᵢ − μ)²\over N}\)
σ² = \(\frac{16 + 4 + 0 + 4 + 16}{5} = \frac{40}{5} = 8\)
So, the variance is 8.
Find the standard deviation by taking the square root of the variance:
Standard deviation = √Variance
\(√8 = 2.83\)
Thus, the standard deviation is approximately 2.83.
Find the variance of the given numbers: 2, 4, 6, 8, 10.
8 is the variance.
To find the variance, first we have to find the mean.
Mean(μ) = \(\frac{2 + 4 + 6 + 8 + 10}{5} = \frac{30}{5} = 6\)
= \(\frac{30}{5} = 6\)
Next, find each number’s deviation from the mean and square it.
For the numbers, the deviation can be calculated as (x − μ)
\((2 − 6 = −4); (4 − 6 = −2); (6 − 6 = 0); (8 − 6 = 2); (10 − 6 = 4)\)
Then, we can find the squared deviation (x − μ)2:
\((-4)^2 = 16 \\ (-2)^2 = 4 \\ 0^2 = 0 \\ 2^2 = 4 \\ 4^2 = 16\)
Now, we can find the variance:
\(σ² = {∑_{i=1}^N (xᵢ − μ)²\over N}\)
σ² = \(\frac{16 + 4 + 0 + 4 + 16}{5}\)
= \(\frac{40}{5} = 8\)
The heights (in cm) of 3 students in a class are: 150, 160, and 170. Find the variance and standard deviation.
Variance (𝜎²) = 66.67
Standard Deviation (𝜎) ≈ 8.165 cm
Find the mean.
Mean = \( \frac{\text{Sum of all values}}{\text{Total number of values}}\)
Mean = \(\frac{150 + 160 + 170}{3} = \frac{480}{3} = 160\)
So, 160 is the mean height.
Next, we can calculate the squared differences from the mean.
The formula for finding variance is:
\(σ² = {∑_{i=1}^N (xᵢ − μ)²\over N}\)
Here, we have to find (xi − μ) and (xi − μ)2
\((xi − μ) = (150 − 160 = −10); (160 − 160 = 0); (170 − 160 = 10)\)
\((x_i - \mu)^2 = (-10)^2 = 100, \quad 0^2 = 0, \quad (10)^2 = 100\)
Variance = \(σ² = {∑_{i=1}^N (xᵢ − μ)²\over N}\)
\(\frac{100 + 0 + 100}{3} = \frac{200}{3} \approx 66.667\)
Now, we can calculate the standard deviation
Standard deviation = √Variance
\(= √66.667 = 8.165\)
So, the standard deviation is 8.165 cm.
2 friends took a math test, and their scores were 90 and 95. How much do their scores vary from the average score?
Variance (𝜎²) = 6.25
Standard Deviation (𝜎) = 2.5
To find the variance and standard deviation, we have to calculate the mean first.
Mean = \(\frac{90 + 95}{2} = \frac{185}{2} = 92.5\)
92.5 is the mean score.
Next, we can find the squared differences from the mean:
\((90 − 92.5 = −2.5); (95 − 92.5 = 2.5)\)
Now we have to square the deviations:
\((-2.5)^2 = 6.25 \\ (2.5)^2 = 6.25\)
\(σ² = {∑_{i=1}^N (xᵢ − μ)²\over N}\)
∑(x − 𝜇)2 = \(6.25 + 6.25 = 12.5 \)
= \(\frac{12.5}{2} = 6.25\)
So, the variance is 6.25
The formula for standard deviation is:
Standard deviation = √Variance
= \(√6.25 = 2.5 \)
2.5 is the standard deviation of both the scores.
Five kids counted their steps while walking to school from home. They recorded 2000, 2200, 3600, 4000, and 4400 steps. Find the variance.
Variance is 934,400
To calculate the variance, first we have to find the mean:
Mean = \(\frac{2000 + 2200 + 3600 + 4000 + 4400}{5} = \frac{16200}{5} = 3240\)
= \(\frac{16200}{5} = 3240\)
3240 is the mean number of steps.
Next, we can calculate the squared differences from the mean:
(x − 𝜇) = \((2000 − 3240 = −1240)\)
\((2200 − 3240 = −1040)\)
\((3600 − 3240 = 360) \)
\((4000 − 3240 = 760)\)
\((4400 − 3240 = 1160)\)
Now, we can calculate (x − 𝜇)2
\((-1240)^2 = 1,537,600 \\ (-1040)^2 = 1,081,600 \\ (360)^2 = 129,600 \\ (760)^2 = 577,600 \\ (1160)^2 = 1,345,600\)
The formula for calculating variance is:
\(σ² = {∑_{i=1}^N (xᵢ − μ)²\over N}\)
⇒\(\frac{1,537,600 + 1,081,600 + 129,600 + 577,600 + 1,345,600}{5} \)
\(= \frac{4,672,000}{5} = 934,400\)
⇒ σ² = \(\frac{4,672,000}{5} = 934,400\)
The variance is 934,400.
Jaipreet Kour Wazir is a data wizard with over 5 years of expertise in simplifying complex data concepts. From crunching numbers to crafting insightful visualizations, she turns raw data into compelling stories. Her journey from analytics to education ref
: She compares datasets to puzzle games—the more you play with them, the clearer the picture becomes!






