Advertisement

Joint probability calculator

Choose independent events or provide P(B | A). Enter both event probabilities so the joint result can be checked for consistency.

Calculator

P(A and B)
20.000000%
P(A or B)
70.000000%
Neither event
30.000000%

Advertisement

How this calculator works

The multiplication rule uses a conditional probability in general. Independence is the special case in which P(B | A) equals P(B). The marginal probabilities also constrain the overlap: it cannot exceed either event and cannot be so small that their union exceeds one. A conditional value supplied for an impossible A is undefined and rejected. Independence must come from the experiment or model; knowing only two marginal probabilities does not establish it.

Formula

P(A and B) = P(A)P(B | A). For independent events: P(A and B) = P(A)P(B). P(A or B) = P(A) + P(B) - P(A and B).

Worked example

If independent events have probabilities 40% and 50%, both occur with probability 20%. If P(A) = 20%, P(B) = 30% and P(B | A) = 50%, their joint probability is 10% and their union is 40%.

Advertisement

Frequently asked questions

Can I always multiply P(A) by P(B)?

Only with independence. Dependence changes the relevant conditional probability.

What bounds must the overlap satisfy?

It lies between max(0, P(A) + P(B) - 1) and min(P(A), P(B)).

Does joint probability mean either event?

Joint probability here means both events. The union output gives the chance of at least one.

Sources

Advertisement