Variance Confidence Interval Calculator
Confidence intervals built for a mean are symmetric around the estimate; those built for a variance are not. The reason is that the quantity (n−1)s²/σ² follows a chi-square distribution, and the chi-square distribution is right-skewed. As a result the upper bound of the variance sits much further away than the lower bound: the possibility that the variability is truly larger than estimated covers a wider area than the possibility that it is smaller.
Starting from raw data or from summary statistics (n and s or s²), this calculator produces the confidence interval for both σ² and σ, shows the two chi-square critical values used, and reports how asymmetric the interval is. In measurement repeatability, process control, laboratory calibration, and test development work, variability itself is the quantity of interest; in studies like these the interval for the standard deviation, not its point estimate, should be reported.
Chi-Square Critical Values (95% Confidence, α/2 = 0.025)
The two ends of the variance interval come from dividing the same numerator (n−1)s² by two different chi-square critical values. The large gap between the left and the right critical value shows directly why the interval is asymmetric.
- df = 9 (n = 10)
- 2.7004 and 19.0228
- The right critical value is roughly 7 times the left one — the interval is strongly asymmetric
- df = 14 (n = 15)
- 5.6287 and 26.1189
- The ratio drops to about 4.6
- df = 19 (n = 20)
- 8.9065 and 32.8523
- The ratio is about 3.7
- df = 24 (n = 25)
- 12.4012 and 39.3641
- The ratio is about 3.2
- df = 29 (n = 30)
- 16.0471 and 45.7223
- The ratio is about 2.8 — the asymmetry keeps shrinking
- Source of the asymmetry
- The chi-square distribution is right-skewed
- As the degrees of freedom grow the distribution approaches symmetry and the interval starts to look like an interval for a mean
Confidence Interval for the Variance and the Standard Deviation
Pivotal quantity: (n − 1)·s² / σ² ~ χ²(n − 1)
Variance: [ (n−1)s² / χ²_{α/2} , (n−1)s² / χ²_{1−α/2} ]
χ²_{α/2}: the LARGE critical value with right-tail area α/2
χ²_{1−α/2}: the SMALL critical value with right-tail area 1−α/2
Standard deviation: [ √(lower bound) , √(upper bound) ]
Degrees of freedom: df = n − 1
Sample variance: s² = Σ(xᵢ − x̄)² / (n − 1)
Asymmetry ratio: (upper − s²) / (s² − lower)The interval is not symmetric around s² because the chi-square distribution is right-skewed and the two critical values that cut off the central area are not equally far from the center. The asymmetry shrinks as the degrees of freedom grow, but it never disappears entirely.
How to Calculate
- Choose the input mode: paste the raw data, or enter n together with s (or s²).
- In summary mode, state whether the value you entered is a standard deviation or a variance.
- Choose the confidence level; 95% is the standard choice in academic reporting.
- Always check the normality assumption: when you enter raw data, the Shapiro-Wilk result and a Q-Q plot appear in the results.
- Read the σ² and σ intervals together; reports usually favor the σ interval because it is in the same unit as the measurements.
- Compare the distances from s² to the lower and the upper bound to see how asymmetric the interval is.
Worked Examples
Interval for the standard deviation from raw measurements
The 12 measurements have a standard deviation of 0.2778 and a variance of 0.0772. With chi-square critical values of 3.8157 and 21.9200 for df = 11, the 95% interval is [0.0387; 0.2225] for σ² and [0.1968; 0.4717] for σ. The upper bound sits 0.1453 away from s² while the lower bound is only 0.0385 away: the interval is 3.78 times longer on the upper side. The Shapiro-Wilk test, with W = 0.9794; p = 0.981, supports the normality assumption.
95% confidence interval for the variance (σ²): [0.0387; 0.2225] · 95% confidence interval for the standard deviation (σ): [0.1968; 0.4717] · Sample variance (s²): 0.0772
Variance interval from summary statistics
For n = 25 and s = 3.2 the variance is 10.24, df = 24, and the chi-square critical values are 12.4012 and 39.3641. The 95% confidence interval is [6.2433; 19.8175] for σ² and [2.4987; 4.4517] for σ. Even though the point estimate of the standard deviation is 3.2, the population value could plausibly lie anywhere between 2.50 and 4.45; the asymmetry ratio is 2.40.
95% confidence interval for the variance (σ²): [6.2433; 19.8175] · 95% confidence interval for the standard deviation (σ): [2.4987; 4.4517] · Sample variance (s²): 10.2400
How wide the interval gets in a small sample
With n = 10 and s² = 25 (s = 5), the 99% chi-square critical values for df = 9 are 1.7349 and 23.5894. The interval is [9.5382; 129.6880] for σ² and [3.0884; 11.3881] for σ: with 10 observations you cannot rule out any standard deviation between 3.09 and 11.39. With an asymmetry ratio of 6.77, the interval stretches extremely far on the upper side.
99% confidence interval for the variance (σ²): [9.5382; 129.6880] · 99% confidence interval for the standard deviation (σ): [3.0884; 11.3881] · Sample variance (s²): 25.0000