{"id":66545,"date":"2026-10-08T10:26:50","date_gmt":"2026-10-08T07:26:50","guid":{"rendered":"https:\/\/wpcalc.com\/en\/?p=66545"},"modified":"2026-10-08T10:26:50","modified_gmt":"2026-10-08T07:26:50","slug":"fishers-exact-test-calculator","status":"publish","type":"post","link":"https:\/\/wpcalc.com\/en\/statistics\/fishers-exact-test-calculator\/","title":{"rendered":"Fisher's Exact Test Calculator"},"content":{"rendered":"<section class=\"not-prose calculator-box\" aria-labelledby=\"calculator-title\"><div class=\"flex items-baseline sm:items-center justify-between gap-2 sm:gap-3\"><div class=\"flex flex-col sm:flex-row sm:items-center gap-2\"><span class=\"icon icon-calculator text-primary-700! text-base! dark:text-primary-300!\" aria-hidden=\"true\"><\/span><h2 id=\"calculator-title\" class=\"text-lg font-display font-bold\">Test a 2\u00d72 Table for Association<\/h2><\/div><div class=\"calcdash-favorite group\">\n  <button type=\"button\" class=\"favorite\" id=\"favorite\" data-favorite-id=\"66545\" data-favorite-title=\"Fisher&#039;s Exact Test\" data-favorite-url=\"https:\/\/wpcalc.com\/en\/statistics\/fishers-exact-test-calculator\/\" data-favorite-excerpt=\"Enter the four counts of a 2\u00d72 contingency table and get the exact p-value for Fisher&#039;s exact test (two-sided and one-sided), plus the sample odds ratio and an interpretation at the 0.05 level.\" aria-label=\"Add to Favorites\" data-favorite-icon=\"icon icon-wpcalc-bell-curve\">\n    <span class=\"icon icon-shape-star-empty\" aria-hidden=\"true\"><\/span>\n  <\/button>\n  <div class=\"calcdash-favorite__tip\" aria-hidden=\"true\">\n   <span class=\"favorite-tooltip\" id=\"favorite-tooltip\"><\/span>\n  <\/div>\n  <span class=\"sr-only\" role=\"status\" id=\"favorite-status\"><\/span>\n<\/div><\/div><form action=\"https:\/\/wpcalc.com\/en\/statistics\/fishers-exact-test-calculator\/\" method=\"POST\" class=\"calculator\" id=\"calculator-66545\" data-post=\"66545\"><fieldset class=\"fieldset-input is-2\"><legend class=\"sr-only\">Input Fields<\/legend><div class=\"is-single field\" id=\"input-1\"><span class=\"font-semibold\">Group 1 (row 1)<\/span><\/div><div class=\"field has-term\" id=\"input-2\"><label for=\"field-2\">Outcome 1<\/label><div class=\"term\">a<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><input type=\"text\" name=\"outcome_1\" id=\"field-2\" aria-describedby=\"calc-info-2\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" placeholder=\"e.g. 8\" min=\"0\" value=\"8\"\/><small id=\"calc-info-2\">Count for the first group and first outcome \u2014 cell a.<\/small><\/div><div class=\"field has-term\" id=\"input-3\"><label for=\"field-3\">Outcome 2<\/label><div class=\"term\">b<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><input type=\"text\" name=\"outcome_2\" id=\"field-3\" aria-describedby=\"calc-info-3\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" placeholder=\"e.g. 2\" min=\"0\" value=\"2\"\/><small id=\"calc-info-3\">Count for the first group and second outcome \u2014 cell b.<\/small><\/div><div class=\"is-single field\" id=\"input-4\"><span class=\"font-semibold\">Group 2 (row 2)<\/span><\/div><div class=\"field has-term\" id=\"input-5\"><label for=\"field-5\">Outcome 1<\/label><div class=\"term\">c<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><input type=\"text\" name=\"outcome_1\" id=\"field-5\" aria-describedby=\"calc-info-5\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" placeholder=\"e.g. 1\" min=\"0\" value=\"1\"\/><small id=\"calc-info-5\">Count for the second group and first outcome \u2014 cell c.<\/small><\/div><div class=\"field has-term\" id=\"input-6\"><label for=\"field-6\">Outcome 2<\/label><div class=\"term\">d<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><input type=\"text\" name=\"outcome_2\" id=\"field-6\" aria-describedby=\"calc-info-6\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" placeholder=\"e.g. 9\" min=\"0\" value=\"9\"\/><small id=\"calc-info-6\">Count for the second group and second outcome \u2014 cell d.<\/small><\/div><div class=\"field is-single\" id=\"input-7\"><label for=\"field-7\">Alternative hypothesis<\/label><div class=\"grid grid-cols-1\"><select id=\"field-7\" name=\"alternative_hypothesis\"><option value=\"two\" selected>Two-sided \u2014 association in either direction<\/option><option value=\"less\">One-sided \u2014 odds ratio &lt; 1<\/option><option value=\"greater\">One-sided \u2014 odds ratio &gt; 1<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><\/fieldset><div class=\"buttons\"><button type=\"submit\" data-text=\"Re-Calculate\" id=\"calculate-button\" data-post=\"66545\">Calculate<\/button><button type=\"reset\">Reset<\/button><\/div><div class=\"field is-checkbox hidden!\" id=\"field-auto-calc\"><input type=\"checkbox\" id=\"auto-calc\"><label for=\"auto-calc\">Calculate automatically<\/label><small>If enabled, the result will update automatically when you change any value.<\/small><\/div><div class=\"fieldset-result is-hidden\" aria-labelledby=\"result-title\" aria-live=\"polite\" role=\"region\"> <h3 class=\"result-title bg-gradient-to-r from-primary-50 to-gray-50 dark:from-primary-900 dark:to-gray-800\" id=\"result-title\"><span class=\"icon icon-s-pulse\" aria-hidden=\"true\"><\/span> Exact p-values<\/h3><div class=\"result-box\"><div class=\"field-result\" id=\"output-1\"><span class=\"field-title\"><span>Two-sided exact p-value<\/span><span class=\"result-term\">p<\/span><\/span><span class=\"field-value\" id=\"result-1\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-2\"><span class=\"field-title\"><span>One-sided p-value (OR &lt; 1)<\/span><span class=\"result-term\">p\u208b<\/span><\/span><span class=\"field-value\" id=\"result-2\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-3\"><span class=\"field-title\"><span>One-sided p-value (OR &gt; 1)<\/span><span class=\"result-term\">p\u208a<\/span><\/span><span class=\"field-value\" id=\"result-3\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-4\"><span class=\"field-title\"><span>Sample odds ratio (a\u00b7d)\/(b\u00b7c)<\/span><span class=\"result-term\">OR<\/span><\/span><span class=\"field-value\" id=\"result-4\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-5\"><span class=\"field-title\"><span>Table, method &amp; interpretation<\/span><\/span><span class=\"field-value\" id=\"result-5\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><\/div><div class=\"result-actions\"><button type=\"button\" class=\"copy-link\"><svg viewBox=\"0 0 20 20\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M12.232 4.232a2.5 2.5 0 0 1 3.536 3.536l-1.225 1.224a.75.75 0 0 0 1.061 1.06l1.224-1.224a4 4 0 0 0-5.656-5.656l-3 3a4 4 0 0 0 .225 5.865.75.75 0 0 0 .977-1.138 2.5 2.5 0 0 1-.142-3.667l3-3Z\"\/><path d=\"M11.603 7.963a.75.75 0 0 0-.977 1.138 2.5 2.5 0 0 1 .142 3.667l-3 3a2.5 2.5 0 0 1-3.536-3.536l1.225-1.224a.75.75 0 0 0-1.061-1.06l-1.224 1.224a4 4 0 1 0 5.656 5.656l3-3a4 4 0 0 0-.225-5.865Z\"\/><\/svg><span class=\"copy-link__text\">Copy link to this calculation<\/span><\/button><span class=\"sr-only\" role=\"status\" id=\"copy-link-status\"><\/span><\/div><\/div><a href=\"#respond\" class=\"hidden transition-opacity duration-300 opacity-0 w-50 text-sm justify-center items-center gap-2 px-4 py-2 rounded bg-gray-200 text-gray-700 hover:bg-gray-300\" id=\"leave-comment\"><span class=\"icon icon-comments\" aria-hidden=\"true\"><\/span>Leave a Comment<\/a><\/form><\/section><section id=\"calc-reactions\" class=\"not-prose hidden my-12 bg-gradient-to-r from-primary-50 to-gray-50 border border-indigo-100 rounded-xl px-6 py-4 shadow-sm\" data-post=\"66545\" aria-live=\"polite\" aria-labelledby=\"calc-reactions-title\"><p id=\"calc-reactions-title\" class=\"text-sm text-gray-500 text-center mb-2\">How did this result make you feel?<\/p><div role=\"group\" aria-labelledby=\"calc-reactions-title\" class=\"grid grid-cols-3 sm:flex sm:flex-row sm:justify-around gap-4 sm:items-center sm:flex-wrap\"><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"like\"><span class=\"reaction-count\" data-reaction-count=\"like\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude00 <\/span><span class=\"reaction-description font-medium\">Like <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"helpful\"><span class=\"reaction-count\" data-reaction-count=\"helpful\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\udca1 <\/span><span class=\"reaction-description font-medium\">Helpful <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"confused\"><span class=\"reaction-count\" data-reaction-count=\"confused\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude15 <\/span><span class=\"reaction-description font-medium\">Confused <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"disappointed\"><span class=\"reaction-count\" data-reaction-count=\"disappointed\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude1e <\/span><span class=\"reaction-description font-medium\">Disappointed <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"inaccurate\"><span class=\"reaction-count\" data-reaction-count=\"inaccurate\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\u274c <\/span><span class=\"reaction-description font-medium\">Inaccurate <\/span><\/button><\/div><div id=\"reaction-message\" class=\"hidden mt-8 rounded-md border border-primary-100 bg-white\/50 backdrop-blur-sm px-4 py-2 text-sm text-center shadow-sm\"><\/div><\/section><div class=\"calcdash-ad not-prose calcdash-ad--calc_result calcdash-ad--in-article\"><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-1721569815777345\" data-ad-slot=\"6317458308\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\"><\/ins><script>(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/div>\n<style id=\"wpcoderpro-inline-1\">.formula-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section class=\"formula-box\" aria-labelledby=\"formula-title\">\r\n\t<div id=\"formula-title\" class=\"not-prose font-display mb-4\"><span class=\"icon icon-formula\" aria-hidden=\"true\"><\/span><h2>Fisher's Exact Test Formula<\/h2><\/div>\r\n\t<figure class=\"not-prose formula\">\r\n\t\t<figcaption class=\"formula-title\">Formula<\/figcaption>\r\n\t\t<div class=\"text-base text-gray-800\" id=\"formula\">\n\\[\nP(X=x)=\\frac{\\binom{a+c}{x}\\binom{b+d}{r_1-x}}{\\binom{n}{r_1}},\\qquad\np_{\\text{two}}=\\sum_{x:\\,P(X=x)\\le P(X=a)}P(X=x)\n\\]\n<\/div>\r\n\t<\/figure>\r\n\t<\/p>\n<p><strong>Where:<\/strong><\/p>\n<ul>\n<li>\\(a, b, c, d\\) \u2014 the four cell counts of the 2\u00d72 table (\\(a\\) and \\(b\\) are row 1, \\(c\\) and \\(d\\) are row 2)<\/li>\n<li>\\(r_1 = a+b\\) \u2014 the first row total; \\(r_2 = c+d\\), \\(c_1 = a+c\\), \\(c_2 = b+d\\) are the other margins<\/li>\n<li>\\(n = r_1+r_2\\) \u2014 the total number of observations<\/li>\n<li>\\(X\\) \u2014 the value of cell \\(a\\) in a random table with the same fixed margins; it follows the <a href=\"https:\/\/wpcalc.com\/en\/statistics\/hypergeometric-distribution-calculator\/\">hypergeometric distribution<\/a><\/li>\n<\/ul>\n<p>Conditioning on the observed row and column totals, the probability of each possible table is given exactly by the hypergeometric formula \u2014 no large-sample approximation is involved. The two-sided p-value sums the probabilities of all tables that are no more likely than the one actually observed (the convention used by R's <code>fisher.test<\/code>). The one-sided p-values are \\(p_- = P(X \\le a)\\) for odds ratio &lt; 1 and \\(p_+ = P(X \\ge a)\\) for odds ratio &gt; 1. The sample odds ratio is \\(OR = (a\\,d)\/(b\\,c)\\).<\/p>\n<p>\r\n<\/section>\n<style id=\"wpcoderpro-inline-459\">.calculation-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section id=\"calculation\" class=\"calculation-box\" aria-labelledby=\"calculation-title\">\r\n\t<div id=\"calculation-title\" class=\"not-prose font-display\"><span class=\"icon icon-unordered-list\" aria-hidden=\"true\"><\/span><h2>Fisher's Exact Test \u2013 Calculation Example<\/h2><\/div>\r\n\r\n<\/p>\n<p><strong>Example:<\/strong> a study compares two groups of 10 people each. In Group 1, 8 show outcome 1 and 2 show outcome 2; in Group 2, 1 shows outcome 1 and 9 show outcome 2. So \\(a=8\\), \\(b=2\\), \\(c=1\\), \\(d=9\\), with margins \\(r_1=r_2=10\\), \\(c_1=9\\), \\(c_2=11\\), \\(n=20\\).<\/p>\n<p>\\[ P(X=8)=\\frac{\\binom{9}{8}\\binom{11}{2}}{\\binom{20}{10}}=\\frac{9\\cdot 55}{184\\,756}=\\frac{495}{184\\,756}\\approx 0.002679 \\]<\/p>\n<p>Tables at most as likely as the observed one are \\(x=0,1,8,9\\), with probabilities \\(0.0000595,\\ 0.002679,\\ 0.002679,\\ 0.0000595\\). Summing them:<\/p>\n<p>\\[ p_{\\text{two}}=2\\,(0.0000595+0.002679)\\approx 0.005477 \\]<\/p>\n<p>\\[ OR=\\frac{a\\,d}{b\\,c}=\\frac{8\\cdot 9}{2\\cdot 1}=36 \\]<\/p>\n<p><strong>Result:<\/strong> two-sided exact p-value \u2248 0.00548, one-sided p (OR &gt; 1) \u2248 0.00274, one-sided p (OR &lt; 1) \u2248 0.99994, sample odds ratio = 36. The association is statistically significant at the 0.05 level.<\/p>\n<p>\n\r\n<\/section>\n<h2>How to use the calculator<\/h2>\n<ol>\n<li>Enter the count for the first group and first outcome in <strong>Outcome 1<\/strong> under <strong>Group 1 (row 1)<\/strong> \u2014 this is cell \\(a\\).<\/li>\n<li>Enter the count for the first group and second outcome in <strong>Outcome 2<\/strong> under <strong>Group 1 (row 1)<\/strong> \u2014 cell \\(b\\).<\/li>\n<li>Fill in <strong>Outcome 1<\/strong> and <strong>Outcome 2<\/strong> under <strong>Group 2 (row 2)<\/strong> \u2014 cells \\(c\\) and \\(d\\).<\/li>\n<li>Choose the <strong>Alternative hypothesis<\/strong>: two-sided for any association (the standard choice), or one-sided if the direction was fixed before the data were collected.<\/li>\n<li>Read the results: the <strong>two-sided exact p-value<\/strong>, both one-sided p-values, the <strong>sample odds ratio<\/strong>, and the interpretation block, which also reports the smallest expected cell count and whether a chi-square approximation would have been acceptable.<\/li>\n<\/ol>\n<h2>What Fisher's exact test is<\/h2>\n<p>Fisher's exact test assesses whether two categorical variables \u2014 typically a grouping (treatment vs. control, exposed vs. unexposed) and a binary outcome \u2014 are associated, using the counts of a 2\u00d72 contingency table. It answers the question: if the row and column totals were fixed and the two variables were actually independent, how likely is it to see a table at least as extreme as the one observed?<\/p>\n<p>The word <em>exact<\/em> is the key distinction from the <a href=\"https:\/\/wpcalc.com\/en\/statistics\/chi-square-test-calculator\/\">chi-square test<\/a>. The chi-square test relies on a large-sample approximation that becomes unreliable when expected cell counts are small (the classic rule of thumb warns below 5). Fisher's test instead computes probabilities directly from the hypergeometric distribution, so the p-value is valid for any sample size, including tables with very small counts or zero cells.<\/p>\n<p>The p-value is the probability, under the null hypothesis of no association, of obtaining a table at least as extreme as the observed one. A small p-value (conventionally \u2264 0.05) means such an uneven table would rarely arise by chance, so the data provide evidence of an association. A large p-value means the data are consistent with no association \u2014 not that the null hypothesis is proven. To gauge the <em>strength<\/em> of the association rather than just its statistical significance, look at the odds ratio, which this calculator reports alongside the p-values; see the <a href=\"https:\/\/wpcalc.com\/en\/statistics\/odds-ratio-and-relative-risk-calculator\/\">Odds Ratio &amp; Relative Risk calculator<\/a> for a fuller treatment.<\/p>\n<p>Which alternative to use matters. The two-sided test asks about association in either direction and is the default in most software. A one-sided test is more powerful for detecting an effect in one specific direction, but the direction must be chosen before seeing the data \u2014 switching to a one-sided test after observing the result inflates the false-positive rate.<\/p>\n<h2>Assumptions, limitations and practical tips<\/h2>\n<ul>\n<li><strong>Counts, not percentages.<\/strong> The cells must contain raw counts of independent observations. Never enter rates, proportions or percentages \u2014 the test would be invalid.<\/li>\n<li><strong>Independent observations.<\/strong> Each subject must contribute to exactly one cell. Matched or paired designs (e.g. before\/after on the same people) violate this; McNemar's test is the appropriate alternative.<\/li>\n<li><strong>Fixed margins.<\/strong> The exact p-value is conditional on the observed row and column totals. This is the classical formulation and matches what R and most software report.<\/li>\n<li><strong>Zero cells.<\/strong> The test handles zero cells without problems. The sample odds ratio, however, becomes 0 or infinite when \\(b\\,c = 0\\); in that case the calculator also reports the 0.5-corrected estimate \\((a+0.5)(d+0.5)\/((b+0.5)(c+0.5))\\).<\/li>\n<li><strong>Significance is not effect size.<\/strong> A tiny p-value with a large sample can correspond to a weak association. Always interpret the p-value together with the odds ratio \u2014 and consider a <a href=\"https:\/\/wpcalc.com\/en\/statistics\/confidence-interval-calculator\/\">confidence interval<\/a> for the effect size when reporting results.<\/li>\n<li><strong>When the chi-square test is fine.<\/strong> If all expected cell counts are at least 5, both tests give similar answers and chi-square with Yates' continuity correction is a common alternative. The calculator's interpretation block tells you the smallest expected count, so you can judge this directly.<\/li>\n<li><strong>One table dimension.<\/strong> This calculator handles 2\u00d72 tables only. Larger tables require a general Fisher\u2013Freeman\u2013Halton test or an exact chi-square procedure in statistical software.<\/li>\n<\/ul>\n<h2>Quick reference: the four p-values you may see<\/h2>\n<table>\n<thead>\n<tr>\n<th>Quantity<\/th>\n<th>Definition<\/th>\n<th>When to use<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Two-sided p<\/td>\n<td>Sum of probabilities of all tables no more likely than the observed one<\/td>\n<td>Default; any direction of association<\/td>\n<\/tr>\n<tr>\n<td>One-sided p (OR &gt; 1)<\/td>\n<td>\\(P(X \\ge a)\\)<\/td>\n<td>Direction (higher odds in group 1) fixed in advance<\/td>\n<\/tr>\n<tr>\n<td>One-sided p (OR &lt; 1)<\/td>\n<td>\\(P(X \\le a)\\)<\/td>\n<td>Direction (lower odds in group 1) fixed in advance<\/td>\n<\/tr>\n<tr>\n<td>Odds ratio<\/td>\n<td>\\((a\\,d)\/(b\\,c)\\)<\/td>\n<td>Effect size, not a p-value; interpret alongside the test<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Enter the four counts of a 2\u00d72 contingency table and get the exact p-value for Fisher's exact test (two-sided and one-sided), plus the sample odds ratio and an interpretation at the 0.05 level.<\/p>\n","protected":false},"author":3168,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[74],"tags":[79],"class_list":["post-66545","post","type-post","status-publish","format-standard","hentry","category-statistics","tag-hypothesis-testing"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/66545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/users\/3168"}],"replies":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/comments?post=66545"}],"version-history":[{"count":1,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/66545\/revisions"}],"predecessor-version":[{"id":66546,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/66545\/revisions\/66546"}],"wp:attachment":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/media?parent=66545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/categories?post=66545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/tags?post=66545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}