F Test Calculator

Use this F test calculator to compare the variances of two independent populations using raw or summary data. Get the F statistic, p-value, critical values, and step-by-step solutions.

Sample 1 (Group 1)
Sample 2 (Group 2)
Common values: 0.10, 0.05, 0.01

How to Use the F-Test Calculator

This calculator performs an F-test to determine if the variances of two independent populations are equal. Here’s how to use it:

  1. Select your Data Type. Use "Summary Data" if you already know the sample sizes and variances. Use "Raw Data" to paste in your datasets directly.
  2. Input the sample data for both groups.
  3. Select the Test Type (Right-tailed, Left-tailed, or Two-tailed).
  4. Enter your chosen Significance Level (α) (usually 0.05).
  5. Click Calculate to view the results, critical values, and p-value.

What is an F-Test for Equality of Variances?

An F-test for the equality of two variances is a statistical test used to determine whether two populations have the same variance. It is frequently used as a preliminary test before conducting a two-sample t-test, as the t-test has different versions depending on whether you assume equal variances (pooled variance) or unequal variances (Welch's t-test).

Assumptions for the F-Test

To use an F-test reliably, the following assumptions must be met:

  • Independence: The samples are independent of each other.
  • Normality: The populations from which the samples are drawn must be normally distributed. The F-test is extremely sensitive to departures from normality. If the data is highly skewed or has heavy tails, alternative tests like Levene's test or Bartlett's test are recommended.

F-Test Hypotheses

Test TypeNull Hypothesis (H₀)Alternative Hypothesis (H₁)
Right-tailedσ₁² = σ₂²σ₁² > σ₂²
Left-tailedσ₁² = σ₂²σ₁² < σ₂²
Two-tailedσ₁² = σ₂²σ₁² ≠ σ₂²

How to Find F-Statistic and P-Value

The F-statistic is simply the ratio of the two sample variances:

F = s₁² / s₂²

Where:

  • s₁² = Variance of sample 1
  • s₂² = Variance of sample 2

The degrees of freedom are df₁ = n₁ - 1 (numerator degrees of freedom) and df₂ = n₂ - 1 (denominator degrees of freedom). The F-statistic is then compared to an F-distribution table to find the corresponding p-value or critical value.