Degrees of Freedom Formula for T-Test

The number of values of a system that varies independently is called as degrees of freedom (DOF). A test used for comparison of two means is t-test in statistics. The formula to find the degrees of freedom varies dependent on the type of test. For a one sample T test, DOF is the number of values in sequence 1 minus one.

One Sample T-Test Formula:

d = n1 - 1

Two Sample T-Test Formula:

df = (n1 + n2) - 2


df = Degree of Freedom
n1 = Total Number in Sequence 1
n2 = Total Number in Sequence 2

Related Calculator:

For a two tailed test, both the sequences (1 and 2) are considered. DOF is the sum of the number of values in both the sequences minus one.

english Calculators and Converters