McNemar Test Calculator
Test paired yes/no data (before/after) with McNemar's test — χ² with continuity correction and an exact binomial p-value.
Test paired yes/no data (before/after) with McNemar's test — χ² with continuity correction and an exact binomial p-value.
Results
Enter your details and click Calculate to see your results.
About This Calculator
Only discordant pairs matter: χ² = (|b − c| − 1)²/(b + c) with 1 df. Exact: two-sided binomial test of min(b, c) with p = ½.
Example
Example: b = 15, c = 5 → χ² = 4.05, p = 0.04417134491.
Assumptions
Use the exact p when b + c < 25.
Frequently Asked Questions
What are a and d?
The concordant cells (same answer twice) — they don't affect the test.
Related Calculators
About the Author

Imran Hossain
Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile