Probability Calculator

Enter the probabilities of two events to find the chance of both, either, or one given the other.

The events are

Independent events do not affect each other; mutually exclusive events cannot both happen.

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)=0.3, P(B)=0.4P(A) = 0.3,\ P(B) = 0.4

P(A∩B)=0.12, P(A∪B)=0.58\displaystyle P(A \cap B) = 0.12,\ P(A \cup B) = 0.58

P(not A)

0.7\displaystyle 0.7

P(not B)

0.6\displaystyle 0.6

P(neither)

0.42\displaystyle 0.42

P(exactly one)

0.46\displaystyle 0.46
Show the work
  1. Multiplication rule for independent events

    Events are independent when one happening does not change the chance of the other, so the chance of both is the product. Here P(A)=0.3P(A) = 0.3 and P(B)=0.4P(B) = 0.4.

    P(A∩B)=P(A)×P(B)=0.3×0.4=0.12\begin{aligned} P(A \cap B) &= P(A) \times P(B) \\ &= 0.3 \times 0.4 \\ &= 0.12 \end{aligned}
  2. Addition rule for two events

    Adding P(A)P(A) and P(B)P(B) counts the overlap twice, so the chance of AA or BB (or both) is the sum less the overlap once. Here P(A∩B)=0.12P(A \cap B) = 0.12.

    P(A∪B)=P(A)+P(B)−P(A∩B)=0.3+0.4−0.12=0.7−0.12=0.58\begin{aligned} P(A \cup B) &= P(A) + P(B) - P(A \cap B) \\ &= 0.3 + 0.4 - 0.12 \\ &= 0.7 - 0.12 \\ &= 0.58 \end{aligned}
  3. Probability of neither event

    The chance that neither event happens is what is left after the chance that at least one does. Here P(A∪B)=0.58P(A \cup B) = 0.58.

    P(A′∩B′)=1−P(A∪B)=1−0.58=0.42\begin{aligned} P(A' \cap B') &= 1 - P(A \cup B) \\ &= 1 - 0.58 \\ &= 0.42 \end{aligned}
  4. Probability of exactly one event

    Exactly one event happens when at least one does but not both, so remove the overlap from the union.

    P(exactly one)=0.58−0.12=0.46\begin{aligned} P(\text{exactly one}) &= 0.58 - 0.12 \\ &= 0.46 \end{aligned}
  5. Result

    So P(A∩B)=0.12P(A \cap B) = 0.12 and P(A∪B)=0.58P(A \cup B) = 0.58.

Worked examples