Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHESPTRUFRDEEN

Elysia Tools

Navigation

Math & Numbers

Fisher Exact Test Calculator

· Last updated:2026-05-08

Run Fisher exact test for a 2 x 2 contingency table with exact one-sided or two-sided p-values

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team
Math502
p-value21
T Test15

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Math & Numbers
Input types
number, select
Output type
json
Sample coverage
4
API ready
Yes

Overview

The Fisher Exact Test Calculator provides a precise statistical analysis for 2x2 contingency tables, determining the significance of the association between two categorical variables. Unlike the Chi-square test, this tool calculates exact p-values, making it the standard choice for small sample sizes where asymptotic approximations are unreliable.

When to use

  • When analyzing categorical data in a 2x2 contingency table with small sample sizes.
  • When any expected cell frequency in a contingency table is less than five.
  • When you need an exact p-value rather than an approximation for hypothesis testing.

How it works

  1. 1Enter the observed frequencies into the four cells (A, B, C, and D) of the 2x2 contingency table.
  2. 2Select the alternative hypothesis (two-sided, greater than, or less than) and set your significance level (alpha).
  3. 3The tool calculates the probability of the observed distribution and more extreme cases using the hypergeometric distribution.
  4. 4Review the resulting p-value and odds ratio to determine if the null hypothesis should be rejected based on your alpha.

Use cases

  • Comparing the success rate of two different medical treatments in a small clinical trial.
  • Analyzing the relationship between a specific gene mutation and the presence of a rare disease.
  • Evaluating the effectiveness of two different marketing A/B test variations with low conversion counts.

Examples

1. Small Sample Clinical Trial

Medical Researcher

Background

A researcher is testing a new drug on a group of 10 patients and a placebo on 6 patients.

Problem

The sample size is too small for a Chi-square test to be statistically valid.

How to use

Input 8 (Drug Success), 2 (Drug Failure), 1 (Placebo Success), and 5 (Placebo Failure) into the cells.

cellA: 8, cellB: 2, cellC: 1, cellD: 5, alternative: 'two-sided', alpha: 0.05

Outcome

The tool returns a p-value of 0.035, indicating a statistically significant difference between the drug and placebo.

2. Manufacturing Quality Control

Lab Technician

Background

A technician compares defect rates between two small production batches.

Problem

Batch A has 1 defect in 20 items, while Batch B has 4 defects in 18 items.

How to use

Enter 19 (Batch A Pass), 1 (Batch A Fail), 14 (Batch B Pass), and 4 (Batch B Fail) into the table.

FAQ

What is the difference between Fisher's Exact Test and Chi-square?

Fisher's test provides an exact p-value based on the hypergeometric distribution, while Chi-square uses an approximation that is often inaccurate for small samples.

Can I use this for tables larger than 2x2?

No, this specific calculator is designed exclusively for 2x2 contingency tables.

What does the 'Greater Than' alternative hypothesis test?

It tests if the proportion of successes in the first group is significantly larger than the proportion in the second group.

What is the significance of the Odds Ratio?

The odds ratio quantifies the strength of the association between the two categorical variables, indicating how much more likely an outcome is in one group versus another.

What is a typical Alpha value for this test?

Most researchers use 0.05 as the standard threshold for determining statistical significance.

Home
Tools3201
Samples593
Visualizations465
Viewers103
Hubs233
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance644

Calculators, numerics, date logic, statistics, and finance tools

Design & Color297

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

FLAC/WAV Source Screening and Evidence Handoff
Self-Hosted Giveaway Widget Review and Embed Handoff
Stripe Promo Code Batch Review and Import Preflight
Batch Photo Culling Review and Editing Shortlist Handoff
UI Screenshot Structure Review and Development Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Java

Android Image Processing Java Samples

Android Java image processing examples including reading/saving images, scaling, and format conversion

Kotlin

Android Image Processing Kotlin Samples

Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

Python

Web Image Processing Python Samples

Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion

Rust

Web Image Processing Rust Samples

Web Rust image processing examples including image read/save, scaling, and format conversion

Math & Numbers

Active Earth Pressure (Rankine)

Calculate the Rankine active earth pressure on a smooth vertical wall backfilled with cohesionless soil. K_a = tan²(45°−φ/2). Optional uniform surcharge q. Returns the base pressure p₀, the total force P, and the resultant height.

Math & Numbers

RLC Admittance Calculator (Y = G + jB)

Compute complex admittance Y = 1/Z = G + jB for series or parallel RLC circuits: G = R/|Z|², B = −X/|Z|². Returns conductance, susceptance, magnitude and phase angle. Supports any subset of R/L/C.

Math & Numbers

Bayes Theorem Calculator

Calculate posterior probability P(A given B) using prior, likelihood, and false-positive rate

Math & Numbers

Binomial Distribution Calculator

Calculate exact, cumulative, and upper-tail binomial probabilities for independent Bernoulli trials

cellA: 19, cellB: 1, cellC: 14, cellD: 4, alternative: 'less', alpha: 0.05

Outcome

The calculator determines if the lower defect rate in Batch A is statistically significant compared to Batch B.