F-Test for Equality of Variances

Test whether two populations have equal variances. Often used as a prerequisite before choosing between pooled and Welch t-tests.

Please verify you are human to use the calculator.

About the F-Test for Equality of Variances

The F-test for equality of variances compares the sample variances of two independent groups by computing their ratio. Under the null hypothesis of equal population variances, this ratio follows an F-distribution. The test places the larger variance in the numerator, so the F-statistic is always ≥ 1.

This test is historically important as a prerequisite for the classic Student’s t-test, which assumes equal variances. However, the F-test for variances is notoriously sensitive to non-normality—it is considered one of the least robust statistical tests. Even mild departures from normality can dramatically inflate the Type I error rate.

Modern practice largely bypasses the F-test in favour of Welch’s t-test (which does not assume equal variances) or Levene’s test (which tests for equal variances more robustly). If you need to test variance equality, Levene’s test with the median-based variant (Brown-Forsythe) is the recommended alternative.

A test result carries weight only when the hypothesis, the sample size and the decision rule were fixed before the data arrived. Every pilot we scope is built the same way, with success criteria and kill gates agreed in advance. That work is described under AI pilot design.

Related calculations

  • Shapiro wilk: Inspect normality as well as the variance ratio; combine tests with plots and design knowledge.
  • F distribution: Inspect the reference distribution of the classical variance ratio.
  • Levene test: Consider a variance-equality procedure less sensitive to non-normality.
  • Anova: ANOVA also uses an F reference distribution, but tests group means rather than equality of two variances.

Related Tools

Stay in the loop

Get notified when new tutorials and deep-dives are published. No spam, unsubscribe anytime.

F-Test for Equality of Variances FAQ

Common questions about the f-test for equality of variances