• Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar
  • My Store
  • Glossary
  • Home
  • About Me
  • Contact Me

Statistics By Jim

Making statistics intuitive

  • Graphs
  • Basics
  • Hypothesis Testing
  • Regression
  • ANOVA
  • Probability
  • Time Series
  • Fun
  • Calculators

Sample Variance [s²]

By Jim Frost

« Back to Glossary Index

What is Sample Variance?

Sample variance (s²) measures how much values in a sample differ from the sample mean. It quantifies the spread or dispersion of data points in a sample and is used to estimate the population variance when the full population is not available. A higher value indicates that the data points are more spread out; a lower value means they’re more tightly clustered around the mean.

Sample variance is commonly used in descriptive statistics, hypothesis testing, and as a key component in other formulas, such as the standard deviation, t-tests, and ANOVA. Unlike population variance, the sample value uses a slightly different formula to avoid underestimating variability. Variance values are not as interpretable as the standard deviation.

Sample Variance Formula

To calculate sample variance (s²), use the following formula:

Sample variance formula

Where:

  • n is the number of observations in the sample
  • xᵢ is each individual value in the sample
  • x̄ is the sample mean
  • (xᵢ − x̄)² is the squared deviation of each value from the mean

This formula works by first finding the difference between each value and the sample mean, squaring each difference to eliminate negatives, summing those squared deviations, and then dividing by n − 1.

The use of n − 1 instead of n is called Bessel’s correction. It helps reduce bias by compensating for the tendency of sample data to underestimate the correct value, especially in small samples.

Example Calculations Using the Sample Formula

Let’s use the formula to find the sample variance. Suppose we have a sample of 5 exam scores:

82, 85, 87, 90, and 96.

The mean is 88.

The squared deviations from the mean are: (82–88)² = 36, (85–88)² = 9, (87–88)² = 1, (90–88)² = 4, and (96–88)² = 64.

Sum of squared deviations: 36 + 9 + 1 + 4 + 64 = 114

Divide by n – 1 = 5 – 1 = 4

Sample variance = 114 ÷ 4 = 28.5

Related

Related Articles:
  • Variance: Definition, Formulas & Calculations
  • Glossary: Population Variance [σ²]
  • Variance Calculator
  • P-Value Calculator
  • Critical Value Calculator
« Back to Glossary Index

Primary Sidebar

Meet Jim

I’ll help you intuitively understand statistics by focusing on concepts and using plain English so you can concentrate on understanding your results.

Read More...

Buy My Introduction to Statistics Book!

Cover of my Introduction to Statistics: An Intuitive Guide ebook.

Buy My Hypothesis Testing Book!

Cover image of my Hypothesis Testing: An Intuitive Guide ebook.

Buy My Regression Book!

Cover for my ebook, Regression Analysis: An Intuitive Guide for Using and Interpreting Linear Models.

Subscribe by Email

Enter your email address to receive notifications of new posts by email.

    I won't send you spam. Unsubscribe at any time.

    Buy My Thinking Analytically Book!

    Cover for my book, Thinking Analytically: An Guide for Making Data-Driven Decisions.

    Top Posts

    • F-table
    • Cronbach’s Alpha: Definition, Calculations & Example
    • Z-table
    • How To Interpret R-squared in Regression Analysis
    • Accuracy vs Precision: Differences & Examples
    • Box Plot Explained with Examples
    • Interpreting Correlation Coefficients
    • How to Interpret P-values and Coefficients in Regression Analysis
    • Multicollinearity in Regression Analysis: Problems, Detection, and Solutions
    • T-Distribution Table of Critical Values

    Recent Posts

    • Data Collection Methods: Step-By-Step Guide with Examples
    • ANOVA Calculator
    • Positive Predictive Value: Meaning, Formula, and Interpretation
    • Median Absolute Deviation Calculator
    • Median Absolute Deviation: Definition, Finding & Formula
    • Outlier Calculator

    Recent Comments

    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Jim Frost on Comparing Regression Lines with Hypothesis Tests
    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Jim Frost on Pareto Chart: Making, Reading & Examples

    Copyright © 2026 · Jim Frost · Privacy Policy