How To Calculate

Learn how to calculate anything
Menu
  • bmi
Home
statistics
How to Calculate Variance.
statistics

How to Calculate Variance.

Rosemary Njeri

We can define variance as a measure of how far each value in the data set is from the mean. Standard deviation and variance are almost the same, their only difference is that, standard deviation is the square root of variance.

Formula to calculate variance of ungrouped data.

To calculate variance of ungrouped data;

  • Find the mean of the (μ) numbers given.
  • Subtract the mean from each of the numbers (x), square the difference and find their sum.
  • Divide the result by the total number of observations (N).
How to Calculate Variance.

Example:

Find the variance of the following numbers.

2, 3, 2, 2, 1

We start by finding the mean of the list of data.

How to Calculate Variance.

Then subtract the mean from each of the numbers, square the difference and find their sum.

How to Calculate Variance.

Divide the result by the total number of observations.

How to Calculate Variance.

Therefore, the variance of the dataset is 0.4.

Formula to calculate variance of grouped data.

How to Calculate Variance.

Example:

Find the variance of the following set of data.

ClassFrequency (f)Midpoint (m)
1 – 1085.5
11 – 201215.5
21 – 301625.5

We begin by finding the mean of the data.

ClassFrequency (f)Midpoint (m)Product (m x f)
1 – 1085.544
11 – 201215.5186
21 – 301625.5408
N = 36 = 638
How to Calculate Variance.

Then find the deviation of the midpoint from the mean, square it, multiply each by its frequency and put them together.

How to Calculate Variance.

Then divide the result by N, which is the total number of observations.

How to Calculate Variance.

Therefore, the variance of the data is 61.73.

Share
Tweet
Reddit
Pinterest
Email
Prev Article
Next Article

Related Articles

How to Calculate Age in Excel.
In this case. we are going to learn how to …

How to Calculate Age in Excel.

How to Calculate Relative Error.
What is Relative Error? To calculate relative error, we would …

How to Calculate Relative Error.

Popular Posts

    Categories

    learntocalculate.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com.

    How To Calculate

    Learn how to calculate anything

    Pages

    • About Us
    • Contact Us
    • Privacy Policy
    Copyright © 2025 How To Calculate

    Ad Blocker Detected

    Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

    Refresh