Chi-Square CalculatorChi-Square Calculator
About

About Chi-Square Calculator

A free chi-square calculator and plain guides for students, teachers, researchers and analysts, with results that match R and SciPy.

At a glance

Editor
James Graham
Published by
Crucible Investments Limited, New Zealand
Funding
Advertising
On this page

What this site does

It runs chi-square tests, Fisher's exact test and the McNemar test on the counts you enter, shows every intermediate number, and explains in plain words which test fits your data and how to report it. Each result comes with R and Python code that reproduces it, so you never have to take our word for a number.

Who is behind it

Chi-Square Calculator is run from New Zealand. James Graham is the editor, and the site is published by Crucible. Neither James Graham nor Crucible claims statistics qualifications, and no statistician has reviewed the site; instead, every result is tested against published output from R and SciPy, listed on the methodology page.

James Graham has spent 17 years in analytics, quantitative modeling and commercial strategy, including quantitative modeling roles at Lotto NZ and Synlait, and 15 years building search-led products that make practical knowledge easier to reach. He holds a BA from the University of Auckland in Human Geography, with spatial analysis and mapping, and Biological Anthropology. Crucible is his company.

How content is made, including AI

Pages are drafted with the help of AI tools and then reviewed and edited by James Graham. AI is not used as a source of numbers: every statistic, p-value and table value on the site is computed by the site's own statistics engine when the pages are built, so prose cannot contain a figure the engine did not produce. Formulas and definitions come from published sources such as R's source code, SciPy's documentation, the NIST/SEMATECH e-Handbook and the original papers, each cited where it is used.

Before anything is published, automated tests must pass: 25 engine test cases taken mostly from R's reference output, NIST tables and textbooks, a cross-check against 8,100 stored SciPy values, page tests of every calculator in a real browser, and checks that block unsourced figures and banned wording.

Editorial standards

  • Results must match R and SciPy; the test cases and their sources are on the methodology page.
  • Where statisticians disagree, as on the Yates correction or the rule for small expected counts, we show both positions and name their sources.
  • Rules of thumb, such as effect size benchmarks, are called rough conventions, not laws.
  • When we cannot confirm something from a primary source, the page says Not confirmed or leaves it out.
  • No business pays to appear, and there are no affiliate links.

Publisher

The site is published by Crucible Investments Limited, a New Zealand limited company, NZBN 9429053412676, company number 9401778. Crucible's website is crucible.co.nz. Write to [email protected].

Add the calculator to your site

Teachers and course sites are welcome to embed the chi-square calculator. The embedded version carries no ads, stores nothing and shows a small credit link. Copy this code:

<iframe src="https://chisquarecalculator.com/embed/" title="Chi-square calculator" width="100%" height="900" style="border:0;max-width:640px" loading="lazy"></iframe>