Hypothesis Test Calculator

This hypothesis test calculator runs the common statistical tests on data you paste. Choose a one-sample, two-sample or paired t-test, one-way ANOVA, chi-square test or correlation, enter the values, and get the test statistic, exact two-sided p-value, a significance decision at your α and an effect size. Paste a table with one column per variable to test them all and see a correlation matrix. It runs in your browser.

Critical values at α = 0.05 (two-sided)

TestDegrees of freedomCritical value
t102.228
t∞1.960
F2, 123.885
χ²13.841
χ²1018.307

When to use it

  1. Compare a treatment and a control group.
  2. Test whether a mean differs from a target.
  3. Compare three or more groups with ANOVA.
  4. Test independence in a contingency table.
  5. Check correlation between two measurements.

How to Use

  1. Choose the test and α.
  2. Paste values or a table.
  3. Read the statistic, p-value and effect size.
  4. Paste many columns to test them together.

Features

  1. t-tests (one, two, paired)
  2. One-way ANOVA
  3. Chi-square tests
  4. Pearson and Spearman
  5. Effect sizes
  6. Multi-variable batch

FAQs

Which t-test should I use?

Two-sample for independent groups (Welch by default), paired for before/after on the same subjects, one-sample to compare with a known value.

What does the p-value mean?

The probability of a result at least this extreme if the null hypothesis were true; below α (often 0.05) the result is called significant.

When should I use Spearman instead of Pearson?

For ranked data, outliers or relationships that are monotonic but not linear.

What if expected counts are below 5 in chi-square?

The approximation is unreliable; use Fisher's exact test or combine categories.

Is anything uploaded?

No. Everything runs in your browser.

Technical Details

t-tests compute t from the means and standard errors (Welch's approximation for unequal variances, or the pooled variance) and the two-sided p-value from the t distribution via the regularised incomplete beta function. One-way ANOVA compares between- and within-group sums of squares as an F ratio. Chi-square compares observed and expected counts for a contingency table or goodness of fit, using the regularised gamma function. Pearson and Spearman correlations are tested with t = r√((n − 2) ÷ (1 − r²)). Effect sizes (Cohen's d, η², Cramér's V, r²) are reported, and a table of variables gets descriptives, one-sample tests and a correlation matrix.

Education Tools

Education Tools

  • Interactive Periodic Table
  • LaTeX Equation Editor
  • BibTeX and RIS Converter
  • Citation Generator
  • Typing Speed Test
  • CGPA to Percentage
  • Exam Marks Calculator
  • SAT \u21c4 ACT Converter