Total Probability Rule Calculator


Instructions: Use this step-by-step Total Probability Rules calculator to compute the probability of an event \(A\), when you know the conditional probabilities of \(A\) with respect to a partition of events \(B_i\). Please type in the conditional probabilities of A with respect to the other events, and optionally, indicate the name of the conditioning events in the form below:

Probabilities of Partition Events (\(B_i\)'s. Between 0 and 1 and must add up to 1. Comma or space separated) =
Conditional probabilities (\(\Pr(A|B_i)\)'s. Comma or space separated) =
Name of partition events (Optional. Comma separated) =
Name of main event (Optional. Name is \(A\) by default) =

Open this calculator in the Dashboard →

More About the Law of Total Probability

The Law of Total Probability is one of the most important theorems in basic Probability theory. It is a result that gives a clear link of how the probability of an event \(A\) is composed of these parts based on conditional events that form up the "total" of the probability of the event \(A\).

The Total Probability Formula

Now, in mathematical terms, let \(\left\{B\right\}_{i=1}^n\) be a partition of the sample space, and let \(A\) be an event. Then, the probability of the event A can be partitioned in the following way.

\[\Pr(A) = \Pr(A | B_1) \Pr(B_1) + \Pr(A | B_2) \Pr(B_2) + ... + \Pr(A | B_n) \Pr(B_n)\]

In other words, the total probability of event \(A\) is found by summing the products of each conditional probability \(\Pr(A|B_i)\) and its corresponding partition probability \(\Pr(B_i)\). The partition events \(B_1, B_2, ..., B_n\) must be mutually exclusive and collectively exhaustive, meaning they cover the entire sample space without overlap.

Total Probability Rule Calculator

Connection to Bayes' Theorem

The Total Probability Rule is a pivotal theorem in Probability and Statistics, and it is the foundation of other crucial theorems such as the Theorem of Bayes .

Specifically, the denominator in Bayes' formula is precisely the total probability \(\Pr(A)\) as computed by this rule. Without the Law of Total Probability, computing the normalizing constant required by Bayes' Theorem would not be possible in most practical applications.

log in to your account

Don't have a membership account?
REGISTER

reset password

Back to
log in

sign up

Back to
log in