Math

Variance Calculator

Live

Calculate population and sample variance from a dataset.

About Variance Calculator

Calculate population and sample variance from a dataset. Enter values in a purpose-built variance bars interface designed for this subject. Variance is the average squared distance from the mean; sample variance uses n minus one. The result includes mean, population variance, sample variance, population standard deviation, value deviations, supporting detail, and clear units or diagnostics. Results depend on the entered assumptions and rounding. Check important decisions against the original records or an authoritative source. Processing stays in your browser, and UtilityPages does not store the values you enter.

Set up Variance Calculator

Workspace

Structured calculation

Follow the input-to-result path; the fields below remain the source of every value.

Complete the fields to prepare a result.

Enter values for this calculation.

Variance Calculator result

Enter the values above, then calculate to see a detailed result.

How Variance Calculator works

Variance is the average squared distance from the mean; sample variance uses n minus one.

How it works

Variance is the average squared distance from the mean; sample variance uses n minus one. Results depend on the entered assumptions and rounding. Check important decisions against the original records or an authoritative source.

Examples

Variance Calculator worked example

Example input
{
    "values": "12, 15, 18, 18, 21, 24"
}
Expected result
{
    "mean": 18,
    "population_variance": 15,
    "sample_variance": 18,
    "standard_deviation": 3.872983,
    "rows": [
        {
            "value": 12,
            "deviation": -6,
            "squared_deviation": 36
        },
        {
            "value": 15,
            "deviation": -3,
            "squared_deviation": 9
        },
        {
            "value": 18,
            "deviation": 0,
            "squared_deviation": 0
        },
        {
            "value": 18,
            "deviation": 0,
            "squared_deviation": 0
        },
        {
            "value": 21,
            "deviation": 3,
            "squared_deviation": 9
        },
        {
            "value": 24,
            "deviation": 6,
            "squared_deviation": 36
        }
    ]
}

Privacy

This tool does not store your inputs or results on UtilityPages.org.

Citations & sources

  1. NIST/SEMATECH e-Handbook of Statistical Methods

Frequently asked questions

How does the Variance Calculator work?

Variance is the average squared distance from the mean; sample variance uses n minus one.

What information should I enter?

Enter values. Use values and units from the same scenario so the result is internally consistent.

What results does this tool provide?

It reports mean, population variance, sample variance, population standard deviation, value deviations, including intermediate context where it helps you review the answer.

What limitations should I know about?

Results depend on the entered assumptions and rounding. Check important decisions against the original records or an authoritative source.