Free Statistics Calculator

Chi-Square Calculator

Run exact Pearson chi-square tests of independence (2×2 up to 4×4) or goodness-of-fit tests with Cramér's V, Yates' correction, low-expected-cell alerts, and APA 7th reporting.

Size:
ObservedCol 1Col 2
Row 1
Row 2

Chi-Square (χ²)

24.2424

df = 1

p-Value

< 0.0001

p < .001

Cramér's V / Phi

.492

N = 100

Yates' Continuity χ²

22.264

p < .001

Copy-ready APA 7th reporting sentence

A chi-square test of independence showed a statistically significant association between the variables, χ²(1, N = 100) = 24.24, p < .001, φ = .49.

Next step in Sourcely

Find peer-reviewed categorical & survey studies

Search 200M+ verified academic articles in Sourcely to cite published benchmarks for your categorical analysis.

Search Peer-Reviewed Studies

What is a Chi-Square Test?

Pearson's chi-square test (χ²) evaluates whether observed categorical frequencies differ significantly from expected frequencies under independence (for an R×C contingency table) or a hypothesized distribution (for goodness-of-fit). Researchers pair χ² with Cramér's V or Phi (φ) to report the strength of categorical association.

How to Use the Chi-Square Calculator

Follow these steps to produce accurate, publication-ready academic output.

  1. 1

    Choose Independence or Goodness-of-Fit

    Select Test of Independence for a cross-tabulation matrix (2×2, 3×3, or 4×4) or Goodness-of-Fit for a single categorical variable.

  2. 2

    Enter observed frequency counts

    Input non-negative integer counts into each cell; expected frequencies and residuals calculate instantaneously.

  3. 3

    Check assumption alerts and copy APA 7th text

    Verify no low-expected-count warning is triggered, then copy the formatted χ²(df, N) sentence into your paper.

Worked Examples from Peer-Reviewed Research

Every example references a real, verifiable scholarly publication with its Crossref DOI.

APA JARS Quantitative Standards

Appelbaum, M., Cooper, H., Kline, R. B., Mayo-Wilson, E., Nezu, A. M., & Rao, S. M. (2018). Journal article reporting standards for quantitative research in psychology: The APA Publications and Communications Board task force report. American Psychologist, 73(1), 3–25.

Specifies APA 7th reporting requirements for tables, title pages, exact p-values, confidence intervals, and sample size justifications.

ASA Statement on p-Values

Wasserstein, R. L., & Lazar, N. A. (2016). The ASA statement on p-values: Context, process, and purpose. The American Statistician, 70(2), 129–133.

Clarifies that p-values measure data compatibility with a null model and should always be reported alongside effect sizes and confidence intervals.

Sourcely vs. Manual Expected-Cell Tables

Built for accuracy, APA 7th compliance, and instant workflow continuity.

CapabilitySourcely Free ToolManual Expected-Cell Tables
Assumption diagnosticsFlags automatically if >20% of expected cells are < 5Easy to miss small-cell violations where Fisher's exact test is needed
Effect size & YatesOutputs Cramér's V / φ and Yates' χ² alongside Pearson χ²Basic calculators return only χ² and p
APA 7th formattingIncludes df, total N, χ², exact p, and Cramér's V / φManual formatting often omits total N inside χ²(df, N)

Frequently Asked Questions

How do I report a chi-square test in APA 7th edition?

Include both degrees of freedom and total sample size inside parentheses, followed by χ², exact p-value, and Cramér's V or φ—for example: χ²(1, N = 100) = 24.24, p < .001, φ = .49.

What if more than 20% of my expected cell counts are below 5?

When expected frequencies are too small, the asymptotic chi-square approximation can become inaccurate. Consider Fisher's exact test or collapsing sparse categories when substantively appropriate.

What is the difference between Phi (φ) and Cramér's V?

For 2×2 tables, Phi (φ) and Cramér's V are mathematically identical. For larger R×C tables, Cramér's V scales by min(R − 1, C − 1) so the effect size stays bounded between 0 and 1.

Can I enter percentages instead of raw counts into a chi-square table?

No. Chi-square tests depend directly on total sample size N—always enter actual observed frequency counts, never percentages.

Find peer-reviewed categorical & survey studies

Search 200M+ academic articles in Sourcely to compare your cross-sectional or experimental findings against published research.