At a Glance
- Category
- Statistics
- Best For
- Students and researchers testing whether counts match an expected distribution
- Privacy
- 100% in your browser: nothing you enter is uploaded
- Time Required
- Under a minute
- Cost
- Free
- Updated
- November 2026
Quick Overview
Sums (observed − expected)² ÷ expected across categories and compares it with the 0.05 critical value.
Statistics students, researchers and quality analysts.
Testing whether dice, surveys or categories follow an expected pattern.
It shows whether differences between observed and expected counts are bigger than chance.
Key Features & Capabilities
Any number of categories
Add or remove category rows as needed.
Critical value at 0.05
Table values for 1 to 10 degrees of freedom.
Significance verdict
Whether to reject the expected pattern.
How to Use This Tool
List your categories
Enter a name for each category. Tip: Use at least two categories.
Enter observed counts
Type the counts you saw. Tip: Use counts, not percentages.
Enter expected counts
Type the counts expected under your hypothesis. Tip: Each must be above zero.
Read the result
Compare χ² with the critical value. Tip: Larger than the critical value means significant.
Worked Real-World Example
Four categories of 20
A survey of 80 responses expects 20 in each of four categories but observes 25, 15, 18 and 22.
How It Works (Math & Calculation Logic)
χ² = Σ (O − E)² ÷ E. Degrees of freedom = categories − 1. The critical value at α = 0.05 comes from a table for 1 to 10 degrees of freedom (for example 3.841, 5.991, 7.815, 9.488). The result is significant if χ² exceeds it.
How to Interpret Your Results
Critical values at 0.05: 3.841 (1 df), 5.991 (2), 7.815 (3), 9.488 (4).
Expected counts should usually be at least 5.
Combine sparse categories before testing.
Frequently Asked Questions
What is a chi-square test?
How do I calculate degrees of freedom?
What is the critical value?
Can I use percentages?
What if expected counts are small?
Complementary QuickForma Utilities
Probability Calculator
Calculate single-event, joint intersection P(A and B), union P(A or B), and complement probabilities.
Hypothesis Test Calculator
Calculate test statistic Z = (xbar - mu) / (s / sqrt(n)), two-tailed p-value, and significance decision.
Margin of Error & Survey Sample Size Solver
Calculates minimum required survey sample size based on confidence level (95%, 99%) and margin of error.
One-Way & Two-Way ANOVA F-Test Calculator
Computes Analysis of Variance (ANOVA) table, Sum of Squares, Mean Squares, and F-statistic.
Sample & Population Variance Standalone Solver
Calculates sample variance (s²) and population variance (σ²) with step-by-step deviation sums.
Paired & Unpaired Two-Sample Student's t-Test
Calculates 1-sample, 2-sample independent, and paired t-test statistics and p-values.
p-Value Calculator from Z, t, F & Chi-Square Statistics
Converts test statistics (Z, t, F, chi²) into one-tailed and two-tailed p-values.
Pearson r & Spearman Rank Correlation
Computes Pearson product-moment correlation coefficient r and Spearman rank correlation.
IQR, Box Plot Quartiles & Outlier Detector
Solves Q1, Q2 (Median), Q3, Interquartile Range (IQR), and identifies mild/extreme outliers (1.5 × IQR).