Degrees of Freedom Calculator
This calculator returns the degrees of freedom for a statistical test from the counts that fix it, without needing the data itself. Pick the design, enter the sample sizes, the table dimensions or the number of predictors, and it returns df along with the formula, the reason for each subtraction and the F ratio to look up where there is one. It covers one-sample and paired t, pooled and Welch two-sample t, chi-square goodness of fit and contingency tables, one-way and two-way ANOVA, and linear regression. Welch is the only one that needs the two standard deviations as well, because its df depends on them.