F-Test Calculator (Two-Sample Variance Test)
Online F-test calculator to compare two variances. Enter sample sizes and sample variances (or standard deviations), choose the tail, and get F statistic, degrees of freedom, and p-value. Includes formulas and FAQ.
Full original guide (expanded)
F-Test Calculator (Two-Sample Variance Test)
Compare two sample variances and test whether the underlying population variances are equal. We automatically put the larger variance on top.
1. Sample data
You can enter either the sample variance (s²) or the sample standard deviation (s). If you fill both for a sample, we will use the variance.
Sample 1
Sample 2
2. Test setup
Two-tailed is the default for testing equality of variances.
3. Results
F statistic
—
df₁
—
df₂
—
p-value
—
How the F-test works
The classical F-test for two variances tests:
- H₀: σ₁² = σ₂²
- H₁: σ₁² ≠ σ₂² (two-tailed) or σ₁² > σ₂² / σ₁² < σ₂² (one-tailed)
The test statistic is the ratio of sample variances:
F = s₁² / s₂²To make the test stable, we put the larger sample variance in the numerator so F ≥ 1. The sampling distribution of F under H₀ is the F distribution with df₁ = n₁ − 1 and df₂ = n₂ − 1.
Interpreting the p-value
If the p-value is small (e.g. < 0.05), we reject H₀ and conclude the variances are significantly different. If the p-value is large, the data do not provide evidence that the variances differ.
Note: The F-test assumes both samples come from normal populations. If this is not the case, consider alternative robust tests.
Formula (LaTeX) + variables + units
','\
- PMI = private mortgage insurance (monthly) (currency)
- NIST — Weights and measures — nist.gov · Accessed 2026-01-19
https://www.nist.gov/pml/weights-and-measures - FTC — Consumer advice — consumer.ftc.gov · Accessed 2026-01-19
https://consumer.ftc.gov/
Last code update: 2026-01-19
- Initial audit spec draft generated from HTML extraction (review required).
- Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
- Confirm sources are authoritative and relevant to the calculator methodology.