Chi Test Calculator
Perform a chi-square test of independence or goodness-of-fit. Enter observed and expected frequencies to compute the chi-square statistic, degrees of freedom, and p-value.
Was this calculator helpful?
How to use this tool?
Chi Test Calculator Guide
This calculator performs a chi-square test for goodness-of-fit or independence. Follow these steps:
- Enter Observed Frequencies: Type the observed counts separated by commas (e.g.,
20, 30, 25). At least two values are required. - Enter Expected Frequencies: Type the expected counts separated by commas (e.g.,
25, 25, 25). Must have the same number of values as observed. - Select Test Type: Choose Goodness-of-Fit to compare observed vs. your expected values, or Independence to assume equal expected frequencies (calculated automatically).
- Click Calculate: The results show the chi-square statistic (χ²), degrees of freedom (df), and p-value. A p-value below 0.05 typically indicates a significant difference.
Note: Expected values must be positive. The formula used is χ² = Σ((O-E)²/E).
Previous Results
| Result | Inputs | Date |
|---|
Frequently Asked Questions
A chi-square test is a statistical test used to determine if there is a significant difference between observed and expected frequencies in one or more categories.
If the p-value is less than your significance level (e.g., 0.05), you reject the null hypothesis, indicating a significant difference.
χ² = Σ((O-E)²/E), where O is observed frequency and E is expected frequency.