Chi-Square Test Calculator (Independence & Goodness of Fit)
Determine whether there is a significant association between two categorical variables. Enter observed frequencies into interactive contingency tables to compute Pearson's Chi-square.
How to Use Chi-Square Test Calculator
Define Table Dimensions
Choose 2x2 table or customize rows and columns.
Input Observed Frequencies
Fill observed counts into each contingency cell.
Review Chi-Square Statistic
View expected frequencies matrix, chi^2 score, degrees of freedom, and significance verdict.
About Chi-Square Test Calculator
Computes Pearson's statistic sum((O_ij - E_ij)^2 / E_ij) over all table cells, comparing observed counts against expected counts under the null hypothesis of independence.
Supported Formats
Operational Limits
- •Assumes minimum expected cell frequency of 5 for valid asymptotic chi-square distribution.
Key Features
- Interactive 2x2 and multi-cell contingency table editor
- Automatic expected frequency matrix computation: E = (Row Total * Col Total) / Grand Total
- Calculates chi^2 contribution per cell and total Chi-square statistic
- Degrees of freedom calculation: df = (r - 1) * (c - 1)
- Hypothesis significance verdict at alpha = 0.05 and alpha = 0.01
Frequently Asked Questions
Related Tools
More in Mathematics ToolsZ-Score & Normal Distribution Calculator
Calculate statistics Z-scores from raw values, mean, and standard deviation with two-tailed probability P(Z) and percentile ranking.
Student's T-Test Calculator
Calculate independent two-sample and paired Student's t-test statistics, degrees of freedom, t-value, and p-value estimates.
Confidence Interval Calculator
Calculate 90%, 95%, and 99% confidence intervals for sample means with margin of error and standard error of the mean.