Home / Fisher Exact Test Calculator

Fisher Exact Test Calculator

Use Fisher’s exact test for a 2×2 contingency table when counts are small or when a large-sample approximation may be unreliable. Enter integer counts; the calculation conditions on the table margins.

How to use this calculator

  1. Enter the group 1 outcome present using the units shown beside the field.
  2. Enter the group 1 outcome absent using the units shown beside the field.
  3. Enter the group 2 outcome present using the units shown beside the field.
  4. Review the calculated values and check that the assumptions match your scenario.
  5. Change one input at a time when comparing scenarios so you can see which assumption drives the result.

Formula and assumptions

For fixed row and column margins, sum hypergeometric probabilities of all feasible tables whose probability is no greater than the observed table (two-sided probability-ordering definition).

  • Different software can implement two-sided exact p-values with different conventions. Interpret the value with the study design and report the chosen method alongside the result.
  • The result is computed from the values you provide; it does not fetch external rates, live account data or local rules.

Worked examples

Worked example

The example table compares 12/17 versus 7/17 outcomes. The reported two-sided p-value is based on exact hypergeometric probabilities for all feasible tables with those margins.

Example inputs: Group 1 outcome present = 12, Group 1 outcome absent = 5, Group 2 outcome present = 7, Group 2 outcome absent = 10.

Compare the displayed output with your own measurements before using it in a decision.

Understanding the result

Different software can implement two-sided exact p-values with different conventions. Interpret the value with the study design and report the chosen method alongside the result.

Results are estimates based on the stated model. If the situation depends on measured conditions or contractual specifications, use those source values rather than typical assumptions.

Important notes

Different software can implement two-sided exact p-values with different conventions. Interpret the value with the study design and report the chosen method alongside the result.

Frequently asked questions

What formula does this calculator use?

It uses the method described above: For fixed row and column margins, sum hypergeometric probabilities of all feasible tables whose probability is no greater than the observed table (two-sided probability-ordering definition).

What should I verify before relying on the result?

Different software can implement two-sided exact p-values with different conventions. Interpret the value with the study design and report the chosen method alongside the result.

Can I compare different scenarios?

Yes. Change the inputs while keeping units and definitions consistent, and record the assumptions used for each scenario.

Related calculators

  • A/B Test Sample Size Calculator — Estimate per-variant sample size for a two-sided conversion-rate A/B test using a normal approximation, baseline rate and relative minimum detectable lift.
  • Earned Value Management Calculator — Calculate cost and schedule performance indices and variances from earned value, planned value, actual cost and budget.
  • Normal Critical Value Calculator — Calculate a standard-normal critical z value for a central confidence level.
  • Paired t-Test Calculator — Calculate a paired-samples t statistic, degrees of freedom and two-sided p-value from sample summary statistics.
  • Test Grade Calculator — Calculate the score needed on a final assessment to reach a target overall grade.
  • Welch Independent Samples t-Test Calculator — Compare two independent sample means with Welch’s t-test without assuming equal population variances.

Related explanations

Learn the method behind the number or compare the terminology before using the calculator.

  • How to Calculate Age from a Date of Birth — Learn how exact age is calculated using years, months, and days rather than a rough year difference.
  • How to Calculate Percentage Change — Learn the percentage change formula, how to calculate increases and decreases, and why the original value matters.
  • Percentage Change — Learn what percentage change means, how to calculate increases and decreases, and how the original value affects the result.

This page provides a calculation tool plus explanatory information so you can understand what the result means and when the underlying method may not fit your situation.

Explore more calculation resources

Keep exploring related tools, explanations, conversions, and topic pages in The Calc Studio. These links are selected around the subject of this page so you can move to the next useful calculation without returning to search.

Related calculators

  • A/B Test Sample Size Calculator — Estimate per-variant sample size for a two-sided conversion-rate A/B test using a normal approximation, baseline rate and relative minimum detectable lift.
  • Paired t-Test Calculator — Calculate a paired-samples t statistic, degrees of freedom and two-sided p-value from sample summary statistics.
  • Welch Independent Samples t-Test Calculator — Compare two independent sample means with Welch’s t-test without assuming equal population variances.
  • Test Grade Calculator — Calculate the score needed on a final assessment to reach a target overall grade.
  • Normal Critical Value Calculator — Calculate a standard-normal critical z value for a central confidence level.
  • Expected Contingency Table Count Calculator — Calculate an expected cell frequency under independence from its row, column and grand totals.
Browse by categoryMath CalculatorsDate & Time CalculatorsScience & Electronics CalculatorsFinancial CalculatorsBusiness CalculatorsConstruction Calculators

Task collections

  • Math & Statistics Calculators — Free math and statistics calculators for Bayes theorem, set operations, matrices, complex numbers, vector products, normal distributions, averages, percentages, standard deviation, geometry, equations, and number systems.
  • Time & Date Calculators — Free time and date calculators for age, date differences, date arithmetic, business days, time duration, time zones, and countdowns.
  • Calculators for Students — Free student calculators for grades, percentages, fractions, probability, normal distributions, matrices, vectors, complex numbers, statistics, geometry, and scientific math.
  • Home Project Calculators — Free home and construction calculators for square footage, roofing, stairs, tile, concrete, framing stud counts, steel plate weight, siding, countertops, insulation, and material estimates.

Related guides

  • How to Calculate Age from a Date of Birth — Learn how exact age is calculated using years, months, and days rather than a rough year difference.
  • How to Calculate a Z-Score — Learn how a z-score shows how far a value is from the mean in standard-deviation units.
  • How to Calculate Percent Error — Learn the percent error formula and how to compare an experimental value with a reference or accepted value.

Related terms

  • Percentage Change — Learn what percentage change means, how to calculate increases and decreases, and how the original value affects the result.
  • Discount — Understand discounts, percent-off pricing, and how to calculate the amount saved and the final price.
  • Z-Score — Learn what a z-score measures and how it describes a value relative to a mean and standard deviation.

Useful conversions

  • lbs to kg — Convert pounds to kilograms with a free lbs to kg converter, formula, examples, and common-value reference table.
  • cm to feet — Convert centimeters to feet with a free cm to feet converter, formula, examples, and a quick reference table.
  • kg to lbs — Convert kilograms to pounds quickly and accurately with a free kg to lbs converter, formula, and reference table.

Browse all calculators · Read all guides · Open the glossary · See all converters · Browse collections

Want to keep learning? Move from a calculator to its formula guide, glossary definition, unit conversion, or task collection to compare related methods and tools.

Optional Premium: save calculation history across visits and remove promotional blocks. See Premium.