BrightChamps Logo
Login

Summarize this article:

Live Math Learners Count Icon275 Learners

Last updated on November 24, 2025

Variance

Professor Greenline Explaining Math Concepts

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.

Professor Greenline from BrightChamps

What is 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 measures the difference between numbers in a data set.
     
  • It specifically quantifies how data spreads around the sample mean. 
     
  • Investors use variance to assess investment risks and potential profits. 
     
  • It is also used to analyze the relative performance of each asset in a portfolio and determine optimal asset allocation. 
     
  • The square root of variance is determined to find the standard deviation. 
Professor Greenline from BrightChamps

Variance Formula for Grouped and Ungrouped Data

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:
 

  • \( \text{Sample Variance}(\sigma^{2}) = \frac{\sum f(m_i - \bar{x})^{2}}{n - 1} \)
     
  • \( \text{Population Variance}(\sigma^{2}) = \frac{\sum f(m_i - \bar{x})^{2}}{n} \)


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.

Professor Greenline from BrightChamps

Variance and Standard Deviation

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.

Explore Our Programs

Grade 1
popular course arrow
No Courses Available
Professor Greenline from BrightChamps

Population and Sample Variance

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:

 

  • Population variance calculates the variance for the whole population. Whereas, a sample variance uses a sample or subset of the population to measure the variance. 
     
  • For population variance, an accurate figure is calculated if the data is gathered from every member of the population. 
     
  • The formula for population variance is \( \sigma^2 = \frac{(x_i - \mu)^2}{N} \) and the formula for sample variance is 
     s2 =  \( \frac{(x_i - \bar{x})^2}{n - 1} \)
     
  • In the population variance, the total number of data points (N) is divided by the value. While in the sample variance, the value is divided by N - 1. 
     
  • The sample variance is usually less than the actual variance of the population. The true variance of the total population is higher than the variance calculated from a sample.
     
  • Population variance is used in census studies and data analysis when population-wide data is available.
     
  •  Sample variance is used in research sampling, experiments, and surveys when estimating population variance through sample analysis. 
     
Professor Greenline from BrightChamps

How to Calculate Variance?

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

Professor Greenline from BrightChamps

Steps to Calculate Variance by Hand

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.
 

  • Calculate the mean by adding all scores and dividing by the total number of scores.

    The mean of 46, 69, 32, 60, 52, and 41 is 50.
     
  • Find each score’s deviation from the mean by subtracting the mean from each score.

    Deviation from the mean

    \(46 – 50 = -4 \\[1em] 69 – 50 = 19\\[1em] 32 – 50 = -18\\[1em] 60 – 50 = 10\\[1em] 52 – 50 = 2\\[1em] 41 – 50 = -9\)
     
  • Square each deviation to ensure positive values.

    Squared deviations from the mean

    \((-4)^2 = 4 × 4 = 16 \\[1em] 19^2 = 19 × 19 = 361 \\[1em] (-18)^2 = -18 × -18 = 324 \\[1em] 10^2 = 10 × 10 = 100 \\[1em] 2^2 = 2 × 2 = 4 \\[1em] (-9)^2 = -9 × -9 = 81\)
     
  • Add all the squared deviations to get the sum of squares.

    Sum of squares

    \(16 + 361 + 324 + 100 + 4 + 81 = 886\)
     
  • Finally, divide the sum of squares by n−1 (for samples) or N (for populations). Using our example and n=6, dividing 886 by 5 gives a variance of 177.2.

    \(\text{Variance} =  \frac{886}{(6 – 1)} = \frac{886}{5} = 177.2\)
Professor Greenline from BrightChamps

What are the Types of Variance?

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} \)

Professor Greenline from BrightChamps

Variance of Different Types of Distribution

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.

Professor Greenline from BrightChamps

Advantages and Disadvantages of Variance

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.

Professor Greenline from BrightChamps

Properties of Variance

Variance is extensively applied in mathematics, statistics, and other scientific fields for various analyses. It has key properties that aid in solving numerous problems:
 

  • Variance is always non-negative, with a value of zero indicating that all data points in the set are identical.
     
  • High variance indicates that the data points are widely spread, meaning they are far from the mean.
     
  • Conversely, a low variance indicates that the data points are closely clustered around the mean, showing less dispersion within the data set.
     

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) \)

Professor Greenline from BrightChamps

Tips and Tricks to Master Compound Probability

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.

 

  • Investment and finance: In finance, variance is used to measure the volatility or risk of a stock or portfolio.
     
  • Manufacturing and quality control: Manufacturers use variance to check product consistency during production.
     
  • Education and student performance: Teachers and educational institutions use variance to analyze differences in students’ marks.
     
  • Weather and climate analysis: Meteorologists calculate variance to study temperature changes over time.
     
  • Sports performance analysis: Coaches and analysts use variance to evaluate consistency of players or teams.
     
  • Start simple: Teachers should start lessons by giving students a simple idea of the topic before teaching them the formulas. The variance measures how spread out the data is. For example, in a classroom, if everyone is nearly the same height, the variance is slight, and if some are very tall and some are short, the variance is significant.
     
  • Conduct classroom activities: Teachers should have students perform classroom activities, such as collecting data on height differences, the number of siblings, and the time they spend doing homework.
     
  • Use visuals: Parents should encourage their children in learning concepts using simple plots. Make them understand dot plots, number lines, and bar charts. Let them plot the values and observe for clusters, gaps, and outliers.
     
  • Compare the sets: Learn how to compare two data sets. Teachers should give two data sets and ask which one is more spread out. Then show them that the variance mathematically would confirm what they see.
     
  • Learn the cancel out trick: Learners should use the cancelling out trick. Parents and teachers can focus more on giving them numbers and the mean, asking them to subtract the mean and then add the deviations. Show them the purpose for squaring the differences. It always becomes zero. Show them how squaring avoids cancellation.
Max Pointing Out Common Math Mistakes

Common Mistakes and How to Avoid Them on Variance

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: 

Mistake 1

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

 Using the formula incorrectly

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students should be aware of the properties of the given data set. If they are calculating for an entire population, they have to use N. Likewise, when working with a sample, use the N - 1.

 

Sometimes, kids mistakenly apply the population formula for calculating sample variance. 

Mistake 2

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Neglecting the importance of squaring the differences 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

 Before averaging, square the differences between each data point and the mean. By squaring, we can prevent the negative values from canceling out.

 

The mean of 3 numbers, 3, 5, and 7 is 5 and one of the values is 7. The difference between these values and the mean is 2. 

The differences from the mean can be calculated as:
3 - 5 = -2
5 - 5 = 0
7 - 5 = 2 
If we do not square the differences: -2 + 0 + 2 = 0 
If we get a sum as zero, then it suggests there is no variance. 

Mistake 3

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Improperly calculating the mean

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students should use a correct formula for calculating the mean of the given data set. While calculating the mean of a given data set, students should use the correct formula.
Mean = Sum of values ÷ Number of values 

 

If we apply any wrong formula, then it leads to incorrect calculations. We get mean by dividing the sum of all the values by the total number of values.  

Mistake 4

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Skipping the negative values

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Kids should remember to square the differences to avoid negative and positive values canceling each other out. This will show how spread out the data is. Some students mistakenly ignore negative differences or treat them as zero.

 

For instance, if we get a difference value of -2, we need to square it. It results in 4 not -4.

Mistake 5

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Confusing standard deviation with variance

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Keep in mind that, variance is the squared value, while the standard deviation is its square root. Variance uses squared deviations from the mean to measure the distribution of data. For instance, if the variance is 25, the standard deviation is √25 = 5, not any other numerals.  

arrow-left
arrow-right
Professor Greenline from BrightChamps

Real-Life Applications of Variance

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:

 

  •  In the field of investment and finance, variance is a tool to assess stock risk. A stock with high variance indicates high risk and a low variance indicates lower risk. 
     
  • To verify the consistency of the products, the manufacturers use the variance. If there is a high variance, it indicates the production process needs to be modified.
     
  • The teachers and the educational institutions can employ the variance to assess the performance of their students. If there is a low variance, it indicates that there is a small difference between the top and low performers.
     
  • Weather forecasters and sports professionals use variance to analyze the temperature changes over time and evaluate the consistency and performance of players. 
     
  • In healthcare and medical research, variance is used to analyze patient data and treatment results.
Max from BrightChamps Saying "Hey"
Hey!

Solved Examples of Variance

Ray, the Character from BrightChamps Explaining Math Concepts
Max, the Girl Character from BrightChamps

Problem 1

Find the sample variance of the given data.2, 4, 6, 8, 12.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

14.8

Explanation

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.

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 2

Find the population variance of the data set: 5, 9, 10, 13.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

8.1875

Explanation

The mean = 5 + 9 + 10 + 13 / 4 = 37 / 4 = 9.25

Next, the squared deviations from the mean:
(5−9.25)= (−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)= (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

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 3

Find the population variance of the data (1.5, 2.5, 3. 5)

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

0.666

Explanation

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)= (1)= 1

 

The population variance = 1 + 0 + 1​ / 3 
σ2 = 2 / 3= 0.666

 

The population variance is 0.666
 

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 4

Find the sample variance of the given sample: 1, 3, 6, 7.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

7.583

Explanation

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 
s= 22.75 / 3 = 7.583

 

The sample variance is 7.583 

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 5

Find the population variance of the data: 13, 15, 17, 19.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

  5

Explanation

The population mean = 13 + 15 + 17 + 19​ / 4 
μ = 64 / 4 = 16

 

Next, find the squared deviations: 
(13−16)2 = (−3)= 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.

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Ray Thinking Deeply About Math Problems

​FAQs on Variance

1.What do you mean by variance?

It is a statistical metric used to quantify the spread of numbers in a given data collection. It assesses how far numbers are from the mean.

Math FAQ Answers Dropdown Arrow

2.Define the formulas for calculating variance.

The formula for calculating the population variance is: Population variance (σ2) =  (xi - μ)2/ N
The formula for sample variance is: s2 =  (xi - x̄)2/ n -1

Math FAQ Answers Dropdown Arrow

3.Explain the variance and standard deviation.

Variance is the squared value, while the standard deviation is its square root. Variance uses squared deviations from the mean to measure the distribution of data.

Math FAQ Answers Dropdown Arrow

4.Is variance a measure of dispersion?

Yes, variance is a measure of dispersion. Variance quantifies the spread of data points in reference to the mean. Dispersion expresses the extent to which the data points are distributed within a dataset.  

Math FAQ Answers Dropdown Arrow
Math Teacher Background Image
Math Teacher Image

Jaipreet Kour Wazir

About the Author

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

Max, the Girl Character from BrightChamps

Fun Fact

: She compares datasets to puzzle games—the more you play with them, the clearer the picture becomes!

INDONESIA - Axa Tower 45th floor, JL prof. Dr Satrio Kav. 18, Kel. Karet Kuningan, Kec. Setiabudi, Kota Adm. Jakarta Selatan, Prov. DKI Jakarta
INDIA - H.No. 8-2-699/1, SyNo. 346, Rd No. 12, Banjara Hills, Hyderabad, Telangana - 500034
SINGAPORE - 60 Paya Lebar Road #05-16, Paya Lebar Square, Singapore (409051)
USA - 251, Little Falls Drive, Wilmington, Delaware 19808
VIETNAM (Office 1) - Hung Vuong Building, 670 Ba Thang Hai, ward 14, district 10, Ho Chi Minh City
VIETNAM (Office 2) - 143 Nguyễn Thị Thập, Khu đô thị Him Lam, Quận 7, Thành phố Hồ Chí Minh 700000, Vietnam
UAE - BrightChamps, 8W building 5th Floor, DAFZ, Dubai, United Arab Emirates
UK - Ground floor, Redwood House, Brotherswood Court, Almondsbury Business Park, Bristol, BS32 4QW, United Kingdom