Fisher Exact Test Calculator
Enter the four cell counts of your 2x2 table to get the exact probability.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
The Fisher exact test computes the exact probability of observing a particular 2×2 contingency table of counts, given the table’s fixed row and column totals, rather than relying on the chi-square test’s large-sample approximation. For a table with cells a, b, c, d (and totals n = a+b+c+d), the exact hypergeometric point probability of that specific table is P = [(a+b)!(c+d)!(a+c)!(b+d)!] / [a!·b!·c!·d!·n!], derived from the hypergeometric distribution that describes how counts fall into cells when the margins are held fixed.
This point probability is the building block of the full Fisher exact test p-value (which sums this quantity over all tables as extreme or more extreme than the one observed), and it’s paired here with the odds ratio — (a·d)/(b·c) — which measures the strength and direction of the association between the two categorical variables. Biostatisticians and researchers reach for Fisher’s exact test instead of chi-square specifically when sample sizes are small or any expected cell count falls below about 5, a very common situation in clinical trials, case-control studies, and rare-event data; this calculator returns the exact probability of the entered 2×2 table along with its total and odds ratio.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)