Degrees of Freedom Calculator

Calculate degrees of freedom for common t-test, chi-square table, and one-way ANOVA designs.

Result
—

How to calculate

Subtract one for one sample or paired differences. For a contingency table multiply rows minus one by columns minus one. For ANOVA calculate separate between-group and within-group counts.

Worked example

Use Analysis One sample · Sample size, observations, or rows 10. The result is 9.

Input and result notes

Enter numbers using the same units. Rounded results are marked with ≈.

Omni's statistics reference

Related calculators