Fisher's Exact Test Calculator

Find the two-tailed p-value for a 2x2 table.

Two-tailed p-value 0.035

Formula: Sum of hypergeometric probabilities <= observed

Step-by-step with your numbers:
1. Values used:
2. a (row1, col1) = 8
3. b (row1, col2) = 2
4. c (row2, col1) = 1
5. d (row2, col2) = 5
6.
7. Two-tailed p-value = 0.035
Did we solve your problem today?

Fisher's exact test gives an exact p-value for small 2x2 contingency tables.

The math behind it

It sums the hypergeometric probabilities of all tables at least as extreme as the observed one.

Worked example

Table 8/2/1/5 gives a two-tailed p of about 0.035.

FAQ

Why not chi-square?

Fisher's test is exact and preferred when expected counts are small.