The total probability rule us used to calculate the unconditional probability of an event from the conditional probabilities of the event given a mutually exclusive and exhaustive set of outcomes. The rule is expressed as:
P(A) = P(A|B1)P(B1) + P(A|B2)P(B2) + ... + P(A|Bn)P(Bn)