Skip to content

Advertisement
Advertisement unavailable offline
The page content remains available.

Degrees of freedom calculator

Choose an analysis type. Only the fields required by the selected formula are used.

Degrees of freedom: —

Fill in the fields above — the result is computed on this page.

ANOVA: between-groups df
—
ANOVA: total df
—

What do these numbers mean?
  • A one-sample or paired t test uses df = n − 1.
  • ANOVA reports separate between-groups and within-groups degrees of freedom.

This calculator covers common simple models. Regression, mixed models and complex experimental designs can use different definitions or approximations.

How do I use this page?
  1. Choose the analysis.
  2. Enter the fields used by its formula.
  3. Read df and the displayed substitution.

What this page does not do: This calculator covers common simple models. Regression, mixed models and complex experimental designs can use different definitions or approximations.

Further reading

Theory — what are degrees of freedom?

Degrees of freedom indicate how much independent information remains in the data after estimating parameters or imposing constraints. Their formula depends on the chosen statistical model, which is why the calculator shows only the fields needed for the selected analysis. For Welch's test the result can be a non-integer, because the Satterthwaite approximation depends on the variance and sample size of both compared groups. Such a non-integer result is correct and follows from the method itself, not from a calculation error.

Frequently asked questions

Why is Welch df not an integer?
It is a Satterthwaite approximation based on both sample variances and sizes.
Which df should I report for ANOVA?
The usual notation is F(df between, df within), so the calculator reports both.

See also

← All calculators

Advertisement
Advertisement unavailable offline
The page content remains available.
Offline app and draw notifications

My saved selections

Selections saved only in this browser. Numbers are shown exactly as saved; this is not a lottery ticket.

Open the My saved selections hub
Restore with preview

Restore in the hub: review the file and confirm first. Both old backups and the complete selections + journal backup are supported. Nothing is uploaded.