FreeStatisticalTools.com
Categorical data

McNemar Test Calculator

Test whether a paired yes/no outcome changes between two occasions, using the discordant pairs.

Free · No sign-upReplaces SPSSCalculator
Updated · By Bibin Xavier

Variables and options

Results update automatically when you change an option.

Results

Calculated in your browser
Table 1

Paired table

After: yesAfter: noTotal
Before: yes40848
Before: no213152
Total6139100

Note. Proportion yes: before 48.0%, after 61.0%.

Table 2

Test results

StatisticValuep
McNemar χ²5.83.016
With continuity correction4.97.026
Exact binomial.024
Odds ratio (b/c)0.381

Interpretation

The proportion answering yes changed significantly from 48.0% to 61.0%.

McNemar’s χ²(1, N = 100) = 4.97, p = .026 (continuity corrected).

How to cite this tool

Using these results in a thesis, journal article, report or class assignment? Please cite this free tool so others can find it. It keeps the site free.

APA 7

Xavier, B. (2026). McNemar Test Calculator [Web application]. FreeStatisticalTools.com. https://freestatisticaltools.com/mcnemar-test-calculator/

BibTeX

@software{xavier_mcnemartest_2026,
  author = {Xavier, Bibin},
  title = {McNemar Test Calculator},
  publisher = {FreeStatisticalTools.com},
  year = {2026},
  url = {https://freestatisticaltools.com/mcnemar-test-calculator/},
  note = {Web application}
}

Suggested sentence for your methods section: “The analysis was carried out with the free McNemar Test Calculator tool on FreeStatisticalTools.com (Xavier, 2026).”

What is McNemar’s test?

McNemar’s test checks whether a paired yes/no outcome changes between two occasions, such as before and after an intervention, using only the pairs that changed.

When to use McNemar’s test

Use it for a binary outcome measured twice on the same people, or on matched pairs.

How to use this calculator

  1. Enter the values. Fill in yes before, yes after, yes before, no after, no before, yes after, no before and no after.
  2. Read the results. Results update automatically. Read the plain-English interpretation, then use Copy table to paste APA-style tables into Word and Copy for the results sentence.

Frequently asked questions

When is McNemar’s test used?

For a binary outcome measured twice on the same people, or on matched case-control pairs.

Which version should I report?

Use the exact binomial p-value when there are fewer than about 25 discordant pairs; otherwise the continuity-corrected chi-square is common.

Why are only discordant pairs used?

Pairs that answered the same both times carry no information about change.

Related tools

Browse all categories