Statistics

Degrees of Freedom Calculator

Find degrees of freedom for one- or two-sample tests.

Parameters Live Compute
Calculated Output
Degrees of freedom 29
Formula: One-sample: n - 1; two-sample: n1 + n2 - 2
Step-by-Step Breakdown
1. Values used:
2. Sample 1 size = 30
3. Sample 2 size (0 = one-sample) = 0
4.
5. Degrees of freedom = 29
Did this calculator solve your problem today?
Report issue to loopingon.com
Sponsored

Degrees of freedom count the independent pieces of information in an estimate.

The math behind it

A one-sample test has n - 1 df; a two-sample t-test has n1 + n2 - 2.

Worked Example

n1 30, one-sample gives df 29.

Frequently Asked Questions

Why n - 1?

Estimating the mean uses up one degree of freedom.

Advertisement