Pick a test, enter the sample sizes, and get the degrees of freedom, including the Welch–Satterthwaite approximation for unequal variances.
| Test | Degrees of freedom |
|---|---|
| One-sample / paired t | n − 1 |
| Two-sample t (pooled) | n₁ + n₂ − 2 |
| Correlation | n − 2 |
| Chi-square independence | (r − 1)(c − 1) |
| Goodness of fit | k − 1 |
| One-way ANOVA | k − 1 and N − k |
| Regression with p predictors | p and N − p − 1 |