Skip to main content
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
Download our user-friendly MedCalc statistical software for your Windows desktop. Download

Other calculators ...

Free statistical calculators

McNemar test on paired proportions

  Positive Negative


The McNemar test is a test on a 2x2 classification table when the two classification factors are dependent, or when you want to test the difference between paired proportions, e.g. in studies in which patients serve as their own control, or in studies with "before and after" design. See MedCalc manual: McNemar test.


The program gives the difference between the proportions (expressed as a percentage) with 95% confidence interval. When the (two-sided) P-value is less than the conventional 0.05, the conclusion is that there is a significant difference between the two proportions.

Computational notes

The two-sided P-value is based on the cumulative binomial distribution.

The 95% confidence interval is calculated according to Sheskin, 2011.


  • Altman DG (1991) Practical statistics for medical research. London: Chapman and Hall.
  • Sheskin DJ (2011) Handbook of parametric and nonparametric statistical procedures. 5th ed. Boca Raton: Chapman & Hall /CRC.

How to cite this page

  • MedCalc Software Ltd. McNemar test on paired proportions. (Version 22.026; accessed June 18, 2024)

See also