Conditional Probability Calculator
Work out the probability of event A happening given that event B has happened, from the chance of both A and B and the chance of B alone. The result is P(A given B) = P(A and B) / P(B).
1 Fill in the boxes
2 Your answer
Your answer shows here as you type.
How to use the Conditional Probability Calculator
- Enter the probability that both A and B happen, as a percentage.
- Enter the probability that B happens, as a percentage. It must be at least as large as P(A and B).
- Read P(A given B), the complement P(not A given B), and the decimal form.
Frequently asked questions
What is conditional probability?
Conditional probability is the chance that one event happens given that another event has already happened. It is written P(A | B).
What is the formula for conditional probability?
P(A | B) = P(A and B) / P(B), provided P(B) is greater than 0. For example, if P(A and B) is 0.2 and P(B) is 0.5, then P(A | B) is 0.4.
Can P(A given B) be larger than P(B)?
No. Because P(A and B) can never exceed P(B), the conditional probability always falls between 0 and 1 (0% and 100%).
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.