P-Value Calculator for Chi-Square

Calculate the degrees of freedom for the contingency table using the following formula; df= (rows – 1) x (columns – 1).

Chi-Square Test of Independence Calculator

Further Information

What is the chi-square test used for?

The chi-square test is used to determine if there's a significant association between categorical variables. It compares observed frequencies (what you actually count) to expected frequencies (null hypothesis prediction), helping researchers assess whether differences are due to chance or a real relationship in the population.

When to use chi-square test vs t test?

Use a chi-square test for categorical data to assess relationships between variables. Use a t-test for comparing means of continuous data, typically between two groups. Chi-square examines frequency distributions, while t-tests analyze differences in averages of numerical data.
Print Friendly, PDF & Email

Olivia Guy-Evans, MSc

BSc (Hons) Psychology, MSc Psychology of Education

Associate Editor for Simply Psychology

Olivia Guy-Evans is a writer and associate editor for Simply Psychology. She has previously worked in healthcare and educational sectors.


Saul McLeod, PhD

Editor-in-Chief for Simply Psychology

BSc (Hons) Psychology, MRes, PhD, University of Manchester

Saul McLeod, PhD., is a qualified psychology teacher with over 18 years of experience in further and higher education. He has been published in peer-reviewed journals, including the Journal of Clinical Psychology.

h4 { font-weight: bold; } h1 { font-size: 40px; } h5 { font-weight: bold; } .mv-ad-box * { display: none !important; } .content-unmask .mv-ad-box { display:none; } #printfriendly { line-height: 1.7; } #printfriendly #pf-title { font-size: 40px; }