{"id":2039,"date":"2026-10-16T23:00:00","date_gmt":"2026-10-16T23:00:00","guid":{"rendered":"https:\/\/freestatisticaltools.com\/blog\/?p=2039"},"modified":"2026-10-16T23:00:00","modified_gmt":"2026-10-16T23:00:00","slug":"fishers-exact-test-vs-chi-square","status":"publish","type":"post","link":"https:\/\/freestatisticaltools.com\/blog\/fishers-exact-test-vs-chi-square\/","title":{"rendered":"Fisher\u2019s Exact Test vs Chi-Square: Which Should You Use?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Both the <strong>chi-square test of independence<\/strong> and <strong>Fisher&#39;s exact test<\/strong> ask whether two categorical variables are associated, for example whether recovery depends on the treatment received. The difference is how they compute the p-value, and that matters most when samples are small.<\/p>\n\n\n<div class=\"fst-tool\"><span class=\"ico\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><rect x=\"3\" y=\"3\" width=\"8\" height=\"8\" rx=\"1.5\"\/><rect x=\"13\" y=\"3\" width=\"8\" height=\"8\" rx=\"1.5\"\/><rect x=\"3\" y=\"13\" width=\"8\" height=\"8\" rx=\"1.5\"\/><rect x=\"13\" y=\"13\" width=\"8\" height=\"8\" rx=\"1.5\"\/><\/svg><\/span><span><span class=\"t-eyebrow\">Free tool \u00b7 runs in your browser<\/span><a class=\"t-name\" href=\"https:\/\/freestatisticaltools.com\/fishers-exact-test-calculator\/\" style=\"text-decoration:none;color:inherit\">Fisher\u2019s Exact Test Calculator<\/a><span class=\"t-desc\">Free Fisher\u2019s exact test calculator for 2\u00d72 tables with two-sided and one-sided p-values, odds ratio and 95% confidence interval.<\/span><\/span><a class=\"btn accent\" href=\"https:\/\/freestatisticaltools.com\/fishers-exact-test-calculator\/\" data-tool=\"fishers-exact-test-calculator\">Run Fisher\u2019s exact test \u2192<\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">The short answer<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Situation<\/th><th>Use<\/th><\/tr><\/thead><tbody><tr><td>All expected counts \u2265 5<\/td><td>Chi-square test<\/td><\/tr><tr><td>Any expected count &lt; 5 in a 2 \u00d7 2 table<\/td><td>Fisher&#39;s exact test<\/td><\/tr><tr><td>Larger table with more than 20% of expected counts &lt; 5, or any &lt; 1<\/td><td>Fisher-Freeman-Halton exact test, or combine categories<\/td><\/tr><tr><td>Very large samples<\/td><td>Chi-square (Fisher&#39;s test gives essentially the same answer but is slower)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Why the expected count rule matters<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The chi-square test uses an approximation: it assumes the test statistic follows a chi-square distribution. That approximation works well with reasonably large expected counts but becomes unreliable when some cells expect only a handful of observations, usually making p-values too small. Fisher&#39;s exact test computes the exact probability of the observed table (and more extreme ones) given the row and column totals, so it needs no approximation.<\/p>\n\n\n\n<div class=\"fst-note tip\"><b>Expected, not observed, counts<\/b><p>The rule concerns <strong>expected<\/strong> counts (row total \u00d7 column total \/ grand total), not the counts you observed. A cell with an observed 0 is fine if its expected count is 5 or more. The <a href=\"\/chi-square-test-calculator\/\">chi-square calculator<\/a> shows the expected counts and warns you when they are too small.<\/p><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Worked example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A pilot study of 18 patients compares a new treatment with standard care.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><\/th><th>Recovered<\/th><th>Not recovered<\/th><th>Total<\/th><\/tr><\/thead><tbody><tr><td><strong>New treatment<\/strong><\/td><td>7<\/td><td>1<\/td><td>8<\/td><\/tr><tr><td><strong>Standard care<\/strong><\/td><td>2<\/td><td>8<\/td><td>10<\/td><\/tr><tr><td><strong>Total<\/strong><\/td><td>9<\/td><td>9<\/td><td>18<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The expected counts are 4, 4, 5 and 5, so two cells are below 5 and the chi-square approximation is questionable. An uncorrected chi-square test gives \u03c7\u00b2(1) = 8.10, <i>p<\/i> = .004, while Fisher&#39;s exact test gives <strong><i>p<\/i> = .015<\/strong>. Both are significant here, but the chi-square p-value overstates the evidence. Report Fisher&#39;s test.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>odds ratio<\/strong> shows the size of the effect: (7 \u00d7 8) \/ (1 \u00d7 2) = <strong>28<\/strong>. The odds of recovery were 28 times higher with the new treatment, although with only 18 patients the confidence interval is very wide, so the true effect is very uncertain.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What about Yates&#39; continuity correction?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Yates&#39; correction adjusts the chi-square statistic for 2 \u00d7 2 tables to make it more conservative. It tends to overcorrect, and with modern software there is little reason to use it: when expected counts are small, use Fisher&#39;s exact test; when they are adequate, use the uncorrected chi-square test.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to report Fisher&#39;s exact test in APA 7<\/h2>\n\n\n\n<div class=\"fst-report\"><b>How to report it (APA 7)<button type=\"button\" data-copy-report>Copy<\/button><\/b><div><p>Seven of 8 patients (88%) receiving the new treatment recovered, compared with 2 of 10 (20%) receiving standard care. Because two expected cell counts were below 5, Fisher\u2019s exact test was used. The association was significant, <i>p<\/i> = .015, odds ratio = 28.0.<\/p><\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Fisher&#39;s test has no test statistic or degrees of freedom to report; give the counts or percentages, the exact p-value and an effect size such as the odds ratio (with its confidence interval) or phi.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related tests<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/blog\/chi-square-test-of-independence\/\">Chi-square test of independence guide<\/a> for larger samples and tables.<\/li>\n\n<li><a href=\"\/mcnemar-test-calculator\/\">McNemar test<\/a> for paired yes\/no data, such as before and after on the same people.<\/li>\n\n<li><a href=\"\/chi-square-goodness-of-fit-calculator\/\">Goodness of fit test<\/a> for one categorical variable against expected proportions.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<div class=\"fst-faq\"><details><summary>When should I use Fisher\u2019s exact test instead of chi-square?<\/summary><div class=\"a\"><p>Use it when any expected count in a 2 \u00d7 2 table is below 5, or more generally when the sample is small. With adequate expected counts both tests agree closely.<\/p><\/div><\/details><details><summary>Can Fisher\u2019s exact test be used for tables larger than 2 \u00d7 2?<\/summary><div class=\"a\"><p>Yes. The Fisher-Freeman-Halton extension handles r \u00d7 c tables, although it becomes computationally heavy for large samples.<\/p><\/div><\/details><details><summary>Is Fisher\u2019s exact test one-tailed or two-tailed?<\/summary><div class=\"a\"><p>Both are available. Report the two-tailed p-value unless you specified a directional hypothesis before collecting the data.<\/p><\/div><\/details><details><summary>What effect size goes with Fisher\u2019s exact test?<\/summary><div class=\"a\"><p>The odds ratio with its 95% confidence interval is the most informative. Phi (\u03c6) is an alternative for 2 \u00d7 2 tables.<\/p><\/div><\/details><\/div>\n\n\n<div class=\"fst-report\"><b>Cite the tool (APA 7)<button type=\"button\" data-copy-report>Copy<\/button><\/b><div>Xavier, B. (2026). <i>Fisher\u2019s Exact Test Calculator<\/i> [Web application]. FreeStatisticalTools.com. https:\/\/freestatisticaltools.com\/fishers-exact-test-calculator\/<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Small sample, 2\u00d72 table, expected counts below 5? When Fisher\u2019s exact test is the right choice over chi-square, with a worked example and APA template.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_fst_seo_title":"Fisher\u2019s Exact Test vs Chi-Square Test: When to Use Each","_fst_meta_desc":"When to use Fisher\u2019s exact test instead of the chi-square test, the expected count rule, Yates\u2019 correction, a worked 2\u00d72 example with odds ratio and APA reporting.","_fst_primary_tool":"fishers-exact-test-calculator","_fst_canonical":"","_fst_noindex":false,"_fst_no_toc":false,"_fst_no_autolink":false,"footnotes":""},"categories":[5],"tags":[19,25,24,75],"class_list":["post-2039","post","type-post","status-publish","format-standard","hentry","category-categorical-data","tag-apa-style","tag-categorical-data","tag-chi-square","tag-fishers-exact-test"],"_links":{"self":[{"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/posts\/2039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/comments?post=2039"}],"version-history":[{"count":1,"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/posts\/2039\/revisions"}],"predecessor-version":[{"id":2064,"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/posts\/2039\/revisions\/2064"}],"wp:attachment":[{"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/media?parent=2039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/categories?post=2039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/tags?post=2039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}