F-Test Calculator
Two-sample F-test for equal variances — from raw data or summary stats. Exact p-value from the F-distribution, critical value, shaded F-curve diagram and a plain-language verdict.
The F-test explained, step by step
The two-sample F-test compares two variances by taking their ratio and checking it against the F-distribution. Each card below covers one piece the calculator uses to reach its verdict.
1. The variance ratio — larger over smaller
The two-sample F-test asks whether two populations have the same variance. Divide the larger sample variance by the smaller one so F ≥ 1 and you only need upper-tail tables. The further F sits from 1, the stronger the evidence against equal variances.
2. Degrees of freedom — one per sample
Each sample contributes df = n − 1. The numerator df goes with the sample whose variance sits on top; the denominator df with the sample on the bottom. F(dfₙ, dfd) and F(dfd, dfₙ) are different distributions, so keep the order straight.
3. One-tailed vs two-tailed — α or α/2
Two-tailed H₁: σ₁² ≠ σ₂² uses the α/2 upper critical value because the smaller-over-larger tail is already folded in by the larger-on-top convention. One-tailed H₁: σ₁² > σ₂² uses α directly. Using α for a two-tailed test doubles your false-positive rate.
4. When the F-test breaks — normality matters
Unlike the two-sample t-test, the variance F-test is very sensitive to non-normality (heavy tails, skew). If the raw data isn't roughly normal, use Levene's or Brown–Forsythe. Also don't confuse this with the ANOVA F-test — same distribution, different hypothesis.
Features of this calculator
- Raw-data or summary-stats input modes on the same page.
- Automatically puts the larger sample variance on top so F ≥ 1 and the test never depends on which sample you enter first.
- Exact p-values from the F cumulative distribution — no table interpolation.
- One-tailed and two-tailed decision rules with the matching critical value at your chosen α.
- F-distribution diagram with the shaded rejection tail(s) and the observed F marked on the axis.
- Show / hide step-by-step working covering the variances, the ratio and the p-value lookup.