T-Test, Chi-Square & ANOVA Calculator
One-sample and two-sample t-tests and a 2x2 chi-square test, with statistic, p-value and verdict. Free, instant, no sign-up.
Two-sided tests at α = 0.05. A p-value below 0.05 rejects the null hypothesis. The t-tests use Welch’s formula for unequal variances; the chi-square test has 1 degree of freedom. Results are a guide, not a substitute for statistical advice.
How to use the t-test, chi-square & ANOVA calculator
- Choose the test from the dropdown and fill in its fields.
- Press “Run Test”.
- Read the test statistic, the p-value and the verdict at α = 0.05.
Example: one-sample t-test
A sample of 25 has a mean of 52 and a standard deviation of 5. Testing whether the true mean is 50: t = (52 − 50) ÷ (5 ÷ √25) = 2.0 with 24 degrees of freedom, giving a two-sided p-value of about 0.057 — just above the usual 0.05 cut-off.
Choosing a test
- t-test: compare a mean with a value, or two means.
- Chi-square: compare counts in categories (e.g. survey answers by city).
- ANOVA: compare means of three or more groups.
T-test, chi-square & ANOVA calculator: common questions
- What is a p-value?
- The probability of seeing a result at least this extreme if the null hypothesis were true. Below 0.05 is usually called statistically significant.
- What is the null hypothesis here?
- For the t-tests, that the means are equal; for chi-square, that the two variables are independent.
- Is my data stored?
- No. The calculation runs in your browser.
- Does p > 0.05 prove there is no effect?
- No. It only means the data are not strong enough to rule out chance at that level; a bigger sample might show an effect.