Test for independence between categorical variables. Get chi-square statistic, degrees of freedom, and p-value instantly.
Chi-Square (χ²)
Degrees of Freedom
P-Value
Interpretation (α = 0.05):
✅ Statistically significant. The p-value is less than 0.05, suggesting the variables are likely dependent (not independent).
⚪ Not statistically significant. The p-value is greater than 0.05, suggesting no strong evidence of dependence between variables.
The chi-square test of independence determines whether there's a significant relationship between two categorical variables. It compares the observed frequencies in your data with the frequencies you'd expect if the variables were independent.
For example, you might test whether gender is related to product preference, or whether education level is associated with voting behavior. The test tells you if any observed pattern is likely due to a real relationship or just random chance.
A small p-value (typically < 0.05) suggests the variables are dependent — there's a statistically significant relationship between them.
χ² = Σ [(O - E)² / E]
Where:
Expected frequency for each cell = (Row Total × Column Total) / Grand Total
Create beautiful surveys to gather the categorical data you need for your chi-square analysis. Try it yourself 👇
Use a chi-square test when you have categorical data (not continuous measurements) and want to test if two variables are independent. Common examples: survey responses by demographic group, A/B test results, or comparing proportions across categories.
A rule of thumb is that expected frequencies should be at least 5 in each cell. With smaller expected counts, consider using Fisher's exact test instead, especially for 2×2 tables.
A p-value below 0.05 means there's likely a real relationship between your variables — they're not independent. However, significance doesn't tell you how strong the relationship is. For effect size, look at measures like Cramér's V.
No, chi-square requires actual frequency counts (whole numbers), not percentages or proportions. If you only have percentages, multiply by your total sample size to get counts.
Chi-square tests relationships between categorical variables, while t-tests compare means of continuous variables. Use chi-square for categories (yes/no, groups) and t-tests for measurements (scores, times, amounts).
🔒 Data securely stored with AWS in EU 🇪🇺