Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Variance and Standard Deviation in Statistics

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon

Variance and Standard Deviation formula definition and solved examples

The concept of variance and standard deviation plays a key role in mathematics, especially in statistics, and helps you understand how spread out or close together data values are in a set. Knowing how to calculate and interpret variance and standard deviation is essential for exams, projects, and understanding data in real life.

What Is Variance and Standard Deviation?

Variance and standard deviation are two important measures of dispersion in maths. Variance tells us the average of the squared differences from the mean, giving an idea of how far data values spread from their average. Standard deviation is the square root of the variance and describes how much the values typically differ from the mean. You’ll find these concepts applied in data analysis, probability, and real-world decision-making.

Variance and Standard Deviation Formulas

Here are the key formulas for both population and sample data sets:

Measure Population Formula Sample Formula
Variance (\(\sigma^2\), \(s^2\)) \(\sigma^2 = \frac{\sum (x_i - \mu)^2}{N}\) \(s^2 = \frac{\sum (x_i - \overline{x})^2}{n-1}\)
Standard Deviation (\(\sigma\), \(s\)) \(\sigma = \sqrt{\frac{\sum (x_i - \mu)^2}{N}}\) \(s = \sqrt{\frac{\sum (x_i - \overline{x})^2}{n-1}}\)

Where: \(x_i\) = each data value, \(\mu\) = population mean, \(\overline{x}\) = sample mean, \(N\) = population size, \(n\) = sample size.

Relationship Between Variance and Standard Deviation

Standard deviation is always the square root of variance. While variance shows the average squared distance from the mean, standard deviation brings it back to the original unit of the data, making it easier to understand.

Aspect Variance Standard Deviation
Formula Average squared distance from mean Square root of variance
Unit Squared unit (e.g., cm2) Same as data (e.g., cm)

Step-by-Step Calculation with Example

Let’s calculate variance and standard deviation using a simple data set: 4, 7, 8, 12, 15

Steps:
1. Find the mean (\(\overline{x}\)):
\((4 + 7 + 8 + 12 + 15) / 5 = 46 / 5 = 9.2\)

2. Find the squared differences from the mean:
(4 - 9.2)2 = 27.04
(7 - 9.2)2 = 4.84
(8 - 9.2)2 = 1.44
(12 - 9.2)2 = 7.84
(15 - 9.2)2 = 33.64

3. Sum the squared differences:
27.04 + 4.84 + 1.44 + 7.84 + 33.64 = 74.8

4. For sample variance (\(n-1 = 5-1 = 4\)):
\(s^2 = 74.8 / 4 = 18.7\)

5. For sample standard deviation:
\(s = \sqrt{18.7} \approx 4.32\)

Final Answers: Variance ≈ 18.7, Standard Deviation ≈ 4.32

Calculator & Tools

To save time in calculations, you can use the Vedantu Standard Deviation Calculator:

  • Enter your data set (use commas or spaces).
  • Choose population or sample as needed.
  • Press ‘Calculate’ to get variance and standard deviation instantly.
  • Review the calculation steps shown below the result for practice.

Properties & Uses

  • Variance is always zero or positive.
  • Units of variance are always squared, while standard deviation has the same unit as the data.
  • If all data points are same, both variance and standard deviation are zero.
  • Low standard deviation means data are clustered closely; high standard deviation signals wider spread.
  • These measures help compare consistency and reliability of data in science, sports, and economics.

Understanding variance and standard deviation is vital for exams, project work, and analyzing data trends in real life.

Common Mistakes & Tips

  • For samples, always divide by (n-1), not n.
  • Don’t confuse variance (squared unit) with standard deviation (original unit).
  • Never skip squaring differences; it avoids positive and negative values cancelling each other.
  • Remember: SD = √variance, and variance = (SD)2.
  • Make sure to use the right formula for population or sample as per the question.

Practice Questions + Solutions

  • Find the variance and standard deviation of 2, 4, 6, 8, 10.
  • If the mean is 20 and data values are 15, 20, 25, what is the variance?
  • Which has higher spread: data set A (5, 5, 5, 5) or set B (2, 8, 5, 10)? Why?
  • MCQ: What does a standard deviation of zero indicate?
  • Prove that adding the same number to all values does not change SD.

Solution Example for (1):

1. Mean = (2+4+6+8+10)/5 = 30/5 = 6

2. Squared differences:
(2-6)2=16, (4-6)2=4, (6-6)2=0, (8-6)2=4, (10-6)2=16

3. Sum = 16+4+0+4+16=40

4. Sample variance (n-1=4): 40/4=10

5. Sample SD: √10 ≈ 3.16

Answers: Variance = 10, SD ≈ 3.16

Interlinks to Related Concepts

Quick Revision Tips

  • V for Variance = “V for Very Squared” — it’s always in squared units!
  • Standard deviation “undoes” the square, so its unit is same as data.
  • Always check: Sample = denominator n-1; Population = denominator n.

We explored variance and standard deviation from definition, formulas, calculation steps, common mistakes, and connections to other maths concepts. Regular practice with Vedantu’s stepwise techniques and calculators can help you become confident for exams and real-life data problems!

FAQs on Variance and Standard Deviation in Statistics

1. What is variance in statistics?

Variance is a measure of how far data values spread out from the mean of a dataset. In statistics, variance calculates the average of the squared differences between each data point and the mean.

  • Formula (population): σ² = Σ(x − μ)² / N
  • Formula (sample): s² = Σ(x − x̄)² / (n − 1)
  • A higher variance means greater data dispersion.
  • A lower variance means values are closer to the mean.
Variance is widely used in probability, data analysis, and inferential statistics.

2. What is standard deviation?

Standard deviation is the square root of variance and measures the average distance of data values from the mean. It is denoted by σ = √σ² (population) or s = √s² (sample).

  • It is expressed in the same units as the data.
  • A small standard deviation indicates data clustered near the mean.
  • A large standard deviation shows greater spread or variability.
Standard deviation is one of the most important measures of dispersion in statistics.

3. What is the formula for variance and standard deviation?

The formulas for variance and standard deviation depend on whether the data represents a population or a sample.

  • Population variance: σ² = Σ(x − μ)² / N
  • Population standard deviation: σ = √[Σ(x − μ)² / N]
  • Sample variance: s² = Σ(x − x̄)² / (n − 1)
  • Sample standard deviation: s = √[Σ(x − x̄)² / (n − 1)]
Here, μ is the population mean, x̄ is the sample mean, N is population size, and n is sample size.

4. How do you calculate variance step by step?

To calculate variance, find the average of the squared differences from the mean.

  • Step 1: Calculate the mean (x̄).
  • Step 2: Subtract the mean from each data value.
  • Step 3: Square each difference.
  • Step 4: Add all squared differences.
  • Step 5: Divide by n − 1 (sample) or N (population).
Example: For data 2, 4, 6:
  • Mean = 4
  • Squared differences = 4, 0, 4
  • Sample variance = 8 / 2 = 4

5. How do you calculate standard deviation with an example?

Standard deviation is calculated by taking the square root of the variance.

  • For data 2, 4, 6, the sample variance is 4.
  • Standard deviation = √4 = 2.
This means the data values typically deviate from the mean by about 2 units. Standard deviation gives a clearer interpretation of spread because it uses the same units as the data.

6. What is the difference between variance and standard deviation?

The main difference is that variance is the average of squared deviations, while standard deviation is the square root of variance.

  • Variance is measured in squared units.
  • Standard deviation is measured in original data units.
  • Standard deviation is easier to interpret in real-life problems.
Both measure data dispersion, but standard deviation is more commonly reported.

7. Why do we square the deviations in variance?

Deviations are squared in variance to prevent positive and negative differences from canceling out and to measure overall spread accurately. Squaring ensures:

  • All values become positive.
  • Larger deviations have a greater impact.
  • A meaningful average of variability is obtained.
This is why variance uses (x − mean)² in its formula.

8. What is the difference between sample variance and population variance?

Sample variance divides by n − 1, while population variance divides by N. The formulas are:

  • Population variance: σ² = Σ(x − μ)² / N
  • Sample variance: s² = Σ(x − x̄)² / (n − 1)
Using n − 1 (Bessel’s correction) gives an unbiased estimate of the population variance when using sample data.

9. Can variance or standard deviation be negative?

Variance and standard deviation can never be negative because they are based on squared values. Since squared deviations are always zero or positive:

  • Variance ≥ 0
  • Standard deviation ≥ 0
A value of 0 means all data points are identical and equal to the mean.

10. What are the real-life applications of variance and standard deviation?

Variance and standard deviation are used to measure risk, consistency, and data variability in real life.

  • In finance, they measure investment risk and volatility.
  • In education, they analyze score distribution.
  • In quality control, they monitor process consistency.
  • In research, they summarize data dispersion.
These statistical measures help compare datasets and make data-driven decisions.