Conditional probability

Use probabilities from 0 to 1. Enter 20% or 1/5 for twenty percent, not 20. P(B) must be positive; the intersection cannot exceed P(B).

Use the probability of the conditioning event

P(A | B) means the probability of A given B. Divide the supplied intersection P(A ∩ B) by P(B). The conditioning probability must be positive, and the intersection cannot exceed it. Both inputs must be between 0 and 1; enter 20% or 1/5 for twenty percent, not a bare 20.

The event after the vertical bar determines the denominator. Reversing A and B generally changes the answer and needs P(A) instead. The calculator uses your intersection directly and makes no independence or causality assumption.

Worked example: P(A ∩ B) = 3/10 and P(B) = 1/2

Divide 3/10 by 1/2: P(A | B) = (3/10) × 2 = 3/5. The intersection is no larger than the conditioning probability, so these inputs are consistent.

The reverse conditional P(B | A) cannot be found from these two inputs alone. Its denominator would be P(A), which has not been supplied.

Load example fills the form without calculating. Choose its primary action to work it out.

Sources and related calculators

The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.