Skip to content

Degrees of Freedom Calculator

Statistics
0.0(0)

Calculates the degrees of freedom (df) for various statistical tests, representing the number of independent pieces of information available to estimate a parameter.

How To Use

How to use this calculator

Start with your values, or try a preset.

Step 1

Enter Sample Size (n), Number of Groups (k), Number of Independent Variables, Number of Rows, and Number of Columns in the units shown.

Step 2

Read Degrees of Freedom (Chi-Square), Degrees of Freedom (Regression), Degrees of Freedom (ANOVA): Within Groups, Degrees of Freedom (ANOVA): Between Groups, Degrees of Freedom (t-test): Independent Samples, and Degrees of Freedom (t-test): One Sample or Paired Samples in the results panel. Results update as you change the inputs.

Step 3

Choose a preset to load an example, then adjust the values for your situation.

Worked Examples

Example calculations

See the inputs and their calculated results.

T-test (One Sample)

Sample Size (n): 30; Number of Groups (k): 2; Number of Independent Variables: 1; Number of Rows: 2; Number of Columns: 2

Degrees of Freedom (Chi-Square): 1; Degrees of Freedom (Regression): 1; Degrees of Freedom (ANOVA): Within Groups: 28; Degrees of Freedom (ANOVA): Between Groups: 1; Degrees of Freedom (t-test): Independent Samples: 58; Degrees of Freedom (t-test): One Sample or Paired Samples: 29

T-test (Independent Samples)

Sample Size (n): 60; Number of Groups (k): 2; Number of Independent Variables: 1; Number of Rows: 2; Number of Columns: 2

Degrees of Freedom (Chi-Square): 1; Degrees of Freedom (Regression): 1; Degrees of Freedom (ANOVA): Within Groups: 58; Degrees of Freedom (ANOVA): Between Groups: 1; Degrees of Freedom (t-test): Independent Samples: 118; Degrees of Freedom (t-test): One Sample or Paired Samples: 59

ANOVA (Between Groups)

Sample Size (n): 50; Number of Groups (k): 3; Number of Independent Variables: 1; Number of Rows: 2; Number of Columns: 2

Degrees of Freedom (Chi-Square): 1; Degrees of Freedom (Regression): 1; Degrees of Freedom (ANOVA): Within Groups: 47; Degrees of Freedom (ANOVA): Between Groups: 2; Degrees of Freedom (t-test): Independent Samples: 98; Degrees of Freedom (t-test): One Sample or Paired Samples: 49

Explore the topic

Explore More Math & Statistics Calculators

Use calculators for algebra, geometry, trigonometry, probability, statistics, averages, z-scores, tests, and graphing tasks.

Explore tools
People Also Calculate

Related Calculators

Continue with another tool on a related topic.