Conditional Probability Calculator

Enter P(A and B) and P(B) to find the chance of A given that B has happened.

A probability from 0 to 1, as a decimal or a fraction.

A probability from 0 to 1, as a decimal or a fraction.

Try

Result

You enteredP(A∩B)=16, P(B)=0.5P(A \cap B) = \frac{1}{6},\ P(B) = 0.5

P(A∣B)=0.333333\displaystyle P(A \mid B) = 0.333333

Fraction

13\displaystyle \frac{1}{3}

As a percentage

33.333333%\displaystyle 33.333333\%
Show the work
  1. Conditional probability

    Knowing that BB has happened shrinks the possibilities to BB alone, so the chance of AA is the part of BB that also lies in AA. Here P(A∩B)=16P(A \cap B) = \frac{1}{6} and P(B)=0.5P(B) = 0.5.

    P(A∣B)=P(A∩B)P(B)=160.5=13≈0.333333\begin{aligned} P(A \mid B) &= \frac{P(A \cap B)}{P(B)} \\ &= \frac{\frac{1}{6}}{0.5} \\ &= \frac{1}{3} \approx 0.333333 \end{aligned}
  2. Result

    So, given that BB has happened, the probability of AA is 13≈0.333333\frac{1}{3} \approx 0.333333.

Worked examples