Summarize this article:
275 LearnersLast updated on November 24, 2025

A statistical metric known as the variance is used to quantify the dispersion of numbers in a given data collection. It assesses how far numbers are from the mean. Variance is helpful in understanding the distribution of data and evaluating both spread and risk. In this article, we are going to delve deeper into the concepts and properties of variance.
Variance shows the degree of deviation of values from the mean . It is represented by the symbol σ2 and calculated by squaring the standard deviation. Low variance indicates the numbers are close to one another, and high variance means the numbers are dispersed. Some key takeaways of variance are listed below:
Variance, represented by \(σ²\), is calculated differently for ungrouped and grouped data: for ungrouped data, it is the average of the squared differences between each data point and the mean; for grouped data, the calculation incorporates the frequency of each group and the midpoints of these groups to accurately measure data spread in both cases.
Grouped Data:
The variance formula for grouped data is as follows:
Here, \(f\) denotes the frequency of each group, \(m_i\) is the midpoint of the \(i^{th}\) group, represents the mean of the grouped data.
The mean for grouped data is calculated by:
\(\text {Mean}(\bar{x}) = \frac{\sum f_i x_i}{\sum f_i} \)
Where \(f_i\) is the frequency and \(x_i\) is the midpoint of the \(i^{th}\) group.
These formulas account for the frequencies of grouped data intervals to accurately measure variability.
Variance and standard deviation are both measures of how much the values in a data set differ from the mean. There is a clear mathematical relationship between the two: variance is equal to the square of the standard deviation. In other words, if you square the standard deviation, you obtain the variance.
\(\text{Variance = (Standard Deviation)}^2\)
This relationship allows variance to be used to measure the average squared deviation from the mean. In contrast, standard deviation provides the dispersion in the same units as the original data, making it easier to interpret. Variance is defined as the square of the standard deviation, meaning that squaring the standard deviation of any data set results in the variance of that data. The symbol for variance is σ², while the standard deviation is represented by σ. Variance is expressed in squared units, reflecting the average squared deviations from the mean. In contrast, the standard deviation is measured in the same units as the data, making it easier to interpret relative to the mean.
Variance measures variability by averaging the squared deviations from the mean. Population variance and sample variance are the two types of variance. The main differences between these two types are given below:
Variance is used to measure how much of the data actually varies from each other. It can be calculated by finding the average of the squared differences from the mean. We have to follow the below mentioned steps to find the variance of a set of values.
Step 1: We have to find the mean in the first step. The mean can be calculated by dividing the number of values by the sum of all values. \( \text{Mean} = \frac{\text{Sum of all values}}{\text{Total number of values}} \)
Step 2: Determine the squared deviations of the data values from the mean. To get the deviation, subtract the mean from each score. (Data value - Mean)2
Step 3: Determine the data set’s variance, which is the mean of the squared deviations from the given values. We can find the square by multiplying each deviation by itself from the mean. As a result, we will get positive numbers.
Step 4: Calculate the sum of squares by adding up all the squared deviations.
Step 5: To calculate a sample variance, divide the sum of the squared deviations by (n -1). To determine a population variance, divide the sum by N.
Now, let us examine the formulas used to find the variance.
The formula for calculating the population variance is:
\( \sigma^2 = \frac{\sum (x_i - \mu)^2}{N} \)
Here, σ2 = Population variance
xi = Each individual value
μ = Population mean
N = Total number of values in the population
Next, the formula for sample variance is:
\( s^2 = \frac{\sum (x_i - \bar{x})^2}{n - 1} \)
Here, s2 = Sample variance
xi = Each individual value
x̄ = Sample mean
n = Total number of values in the sample
n - 1 = Degrees of freedom
Most statistical software can automatically compute variance, but working through the calculations by hand helps deepen your understanding of the formula. There are five essential steps to manually finding the variance. To illustrate this process, you can use a small sample data set, such as six scores, and walk through each step consecutively.
To calculate variance by hand, follow these five steps using a small data set of six scores as an example: Let us take the data set 46, 69, 32, 60, 52, 41.
In reference to the mean, variance plays an important role in measuring the spread of data points. It helps us in understanding the consistency and variability of data by assessing the deviations from the mean. On the basis of data set, variance can be of two types: Population (σ2) and sample variance (s2).
Population Variance (σ2): It calculates the population’s overall dispersion. Population variance determines how the data points are distributed in the population. A population symbolizes a group of individuals. This variance shows how the group’s population is different from the mean population.
Each data point’s squared distance from the population mean is calculated by the population variance. The formula for population variance is:
Population variance \( \sigma^2 = \frac{\sum (x_i - \mu)^2}{N} \)
Sample Variance: Calculating population variance becomes challenging when the population data is too large. Instead, we use sample variance, which refers to a sample from the dataset and we calculate its variance. While doing this, rather than the population mean, we use the sample mean.
Sample variance is the average of the squared differences between the sample data points and the sample mean. The formula for sample variance:
sample variance \( s^2 = \frac{\sum (x_i - \bar{x})^2}{n - 1} \)
Variance of Binomial Distribution
The binomial distribution is a discrete probability distribution that represents the number of positive outcomes in a binomial experiment conducted n times, where each trial has only two possible outcomes: success (1) or failure (0). The variance of a binomial distribution, denoted as σ2, is calculated by the formula:
\(σ^2 =np(1−p)\)
Where n is the number of trials, p is the probability of success in each trial, and (1−p) represents the probability of failure. Additionally, np is the mean (expected value) of the binomial distribution, indicating the average number of anticipated successes in n trials.
Variance of Poisson Distribution
The Poisson distribution is a discrete probability distribution used to model the likelihood of a certain number of events occurring within a fixed interval of time or space. It is characterized by the parameter λ (lambda), which represents both the mean and the variance of the distribution. In other words, for a Poisson distribution, the mean and variance are equal, and the formula gives the variance σ2:
\(σ^2 =λ\)
Where λ indicates the average rate of event occurrences in the interval.
Variance of Uniform Distribution
The uniform distribution is a continuous probability distribution in which all outcomes within a specific interval, defined by the lower bound a and the upper bound b, are equally likely. Because of this equal probability for all values in the range, the uniform distribution is also called a rectangular distribution. The variance of a uniform distribution is calculated using the formula:
\(σ^2 = \frac{(b−a)^2}{12}\)
and its mean is given by:
\(Mean = \frac{(a+b)}{2}\)
Where ‘a' is the minimum value and 'b' is the maximum value of the distribution.
Variance is an easy yet powerful tool that statisticians use to visualize how individual points in a data set relate to each other, providing more than just the median on which the quartiles were based. A significant advantage is that the variance accounts for all deviations from the mean, regardless of sign, so you get a better sense of the level of risk or variety. Furthermore, because squaring deviations, variance prevents positive and negative deviations from offsetting each other, resulting in the misleading conclusion that there is no variability.
Variance has a dark side as well. The squaring of deviations magnifies the effect of extreme values, leading to bias. In addition, variance is seldom used on its own; it is a step in determining the standard deviation, which provides an easily interpreted number because it has the same units as the data and allows investors and analysts to judge whether consistency exists over time.
Variance is extensively applied in mathematics, statistics, and other scientific fields for various analyses. It has key properties that aid in solving numerous problems:
For any constant ‘c’,
\( \operatorname{Var}(x + c) = \operatorname{Var}(x)\\[1em] \operatorname{Var}(cx) = c^2․ \operatorname{Var}(x)\)
Where x is a random variable.
Also, if a and b are constant values and x is a random variable, then
\( \operatorname{Var}(ax + b) = a^{2}\,\operatorname{Var}(x) \)
For some independent variables x1, x2, x3, …, xn we know that,
\( \operatorname{Var}(x_1 + x_2 + \cdots + x_n) = \operatorname{Var}(x_1) + \operatorname{Var}(x_2) + \cdots + \operatorname{Var}(x_n) \)
Compound probability can be understood better with some tips and tricks, and in this discuss some very help tips and tricks to master compound probability.
In order to measure the data dispersion, we use a fundamental statistical concept called variance. Clear concepts help students to solve mathematical problems accurately. Few commonly made mistakes and solutions are discussed below:
To evaluate the data and make well-informed decisions, variance is used in various fields. The real-world importance of variance is countless. They are listed as follows:
Find the sample variance of the given data.2, 4, 6, 8, 12.
14.8
To find the variance, we can use the formula for sample variance.
s2 = (xi - x̄)2/ n -1
Mean = 2 + 4 + 6 + 8 + 12 / 5 = 32 / 5 = 6.4
To find the squared deviation of each value, we have to subtract the mean from each value and then square the answers.
(2−6.4)2 = (−4.4)2 = 19.36
(4−6.4)2 = (−2.4)2 = 5.76
(6−6.4)2 = (−0.4)2 = 0.16
(8−6.4)2 = (1.6)2 = 2.56
(12−6.4)2 = (5.6)2 = 31.36
Next, add up all the squared differences:
19.36 + 5.76 + 0.16 + 2.56 + 31.36 = 59.2
This is a sample variance, so, n -1 = 5 - 1 = 4
s2 = 59.2 / 4 = 14.8
The sample variance of the given data set is 14.8.
Find the population variance of the data set: 5, 9, 10, 13.
8.1875
The mean = 5 + 9 + 10 + 13 / 4 = 37 / 4 = 9.25
Next, the squared deviations from the mean:
(5−9.25)2 = (−4.25)2 = 18.0625
(9−9.25)2 = (−0.25)2 = 0.0625
(10−9.25)2 = (0.75)2 = 0.5625
(13−9.25)2 = (3.75)2 = 14.0625
Now, we can find the population variance:
(σ2) = (xi - μ)2/ N
(σ2) = 18.0625 + 0.0625 + 0.5625 + 14.0625 / 4 = 32.75 / 4
32.75 / 4 = 8.1875
The population variance of the given data set is 8.1875
Find the population variance of the data (1.5, 2.5, 3. 5)
0.666
Mean = 1.5 + 2.5 + 3.5 / 3 = 7.5 / 3 = 2.5
Population variance = (σ2) = (xi - μ)2/ N
(1.5−2.5)2 = (−1)2 = 1
(2.5−2.5)2 = (0)2 = 0
(3.5−2.5)2 = (1)2 = 1
The population variance = 1 + 0 + 1 / 3
σ2 = 2 / 3= 0.666
The population variance is 0.666
Find the sample variance of the given sample: 1, 3, 6, 7.
7.583
The mean = 1 + 3 + 6 + 7 / 4
The mean = 17 / 4 = 4.25
Next, find the squared deviations:
(1−4.25)2 = (−3.25)2 = 10.5625
(3−4.25)2 = (−1.25)2 = 1.5625
(6−4.25)2 = (1.75)2 = 3.0625
(7−4.25)2 = (2.75)2 = 7.5625
The formula for sample variance is: s2 = (xi - x̄)2/ n -1
s2 = 10.5625 + 1.5625 + 3.0625 + 7.5625 / 4 - 1
s2 = 22.75 / 3 = 7.583
The sample variance is 7.583
Find the population variance of the data: 13, 15, 17, 19.
5
The population mean = 13 + 15 + 17 + 19 / 4
μ = 64 / 4 = 16
Next, find the squared deviations:
(13−16)2 = (−3)2 = 9
(15−16)2 = (−1)2 = 1
(17−16)2 = (1)2 = 1
(19−16)2 =(3)2 = 9
The formula for calculating the population variance is: Population variance (σ2) = (xi - μ)2/ N
σ2 = 9 + 1 + 1 + 9 / 4
σ2 = 20 / 4 = 5
The population variance of the given data is 5.
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!






