Joint Probability Calculator

Find the probability that two events both occur. Supports independent events and conditional probability.

∩ Joint Probability Calculator
P(A) — Probability of Event A (%)
%
P(B) — Probability of Event B (%)
%

∩ What is Joint Probability?

Joint probability is the probability that two or more events all occur at the same time. Denoted P(A ∩ B) or P(A and B), it quantifies the likelihood of the simultaneous occurrence of multiple events. Joint probability is a foundational concept in probability theory and underlies Bayesian inference, machine learning, risk modelling, and decision analysis.

The calculation method depends on whether the events are independent or dependent. For independent events, knowing that one event occurred provides no information about whether the other will occur. In this case the multiplication rule simplifies beautifully: P(A ∩ B) = P(A) × P(B). Classic examples include two coin flips, two dice rolls, or picking from a bag with replacement.

For dependent events, the occurrence of event A changes the probability of event B. Here we use the conditional multiplication rule: P(A ∩ B) = P(A) × P(B|A), where P(B|A) is the conditional probability of B given A has occurred. Examples include drawing cards without replacement, medical test cascades where a second test is only run given a positive first test, and risk cascades in finance.

Understanding joint probability also unlocks the union formula P(A ∪ B) = P(A) + P(B) − P(A ∩ B), which computes the probability that at least one of the events occurs. The subtraction of P(A ∩ B) avoids double-counting outcomes where both events happen simultaneously. This is the inclusion-exclusion principle, one of the most widely used results in combinatorics and probability.

Joint probability appears in everyday reasoning: if there is a 30% chance of rain and a 40% independent chance of wind, the probability of both happening is 30% × 40% = 12%. These calculations are essential in weather forecasting, insurance underwriting, network reliability, and any domain that requires reasoning about multiple simultaneous risks or conditions.

Formulas

Independent Events:

P(A ∩ B) = P(A) × P(B)
P(A) = Probability of event A (as a proportion 0 to 1, or % / 100)
P(B) = Probability of event B (independent of A)

Conditional Events (Dependent):

P(A ∩ B) = P(A) × P(B|A)
P(B|A) = Probability of B given A has occurred

Union (probability of A or B or both):

P(A ∪ B) = P(A) + P(B) − P(A ∩ B)

Complement and Odds:

P(not A ∩ B) = 1 − P(A ∩ B)
Odds = P(A ∩ B) : (1 − P(A ∩ B))

How to Use This Calculator

  1. Choose the event type — click Independent Events if the two events do not influence each other (e.g. two separate coin flips). Click Conditional Events if the probability of B changes depending on whether A occurs.
  2. Enter probabilities as percentages — for independent mode, enter P(A) and P(B) as percentages (e.g. 30 for 30%, not 0.30). For conditional mode, enter P(A) and P(B|A).
  3. Click Calculate — see the joint probability P(A∩B), union P(A∪B), complement, and odds all at once.
  4. Note on conditional mode — P(A∪B) requires knowing P(B) separately, which is not available in conditional mode. The union will show N/A in that case.

Example Calculations

Example 1 — Two Independent Events

P(A) = 30%, P(B) = 40% (independent)

1
P(A ∩ B) = P(A) × P(B) = 0.30 × 0.40 = 0.12 = 12%
2
P(A ∪ B) = 30% + 40% − 12% = 58%
3
Complement = 1 − 12% = 88%. Odds = 12:88 = 3:22
P(A∩B) = 12.00%  ·  P(A∪B) = 58.00%  ·  Complement = 88.00%
Try this example →

Example 2 — High Probability Events

P(A) = 60%, P(B) = 75% (independent)

1
P(A ∩ B) = 0.60 × 0.75 = 0.45 = 45%
2
P(A ∪ B) = 60% + 75% − 45% = 90%
P(A∩B) = 45.00%  ·  P(A∪B) = 90.00%  ·  Complement = 55.00%
Try this example →

Example 3 — Conditional Events

P(A) = 50%, P(B|A) = 80% (dependent: B is more likely when A occurs)

1
P(A ∩ B) = P(A) × P(B|A) = 0.50 × 0.80 = 0.40 = 40%
2
P(A ∪ B) requires P(B) independently, which is unknown here
P(A∩B) = 40.00%  ·  Complement = 60.00%  ·  Union: N/A
Try this example →

Example 4 — Low Probability Joint Event

P(A) = 10%, P(B) = 10% (independent, e.g. two rare failures)

1
P(A ∩ B) = 0.10 × 0.10 = 0.01 = 1%
2
P(A ∪ B) = 10% + 10% − 1% = 19%
3
Complement = 99%. Odds = 1:99 (very unlikely both fail simultaneously)
P(A∩B) = 1.00%  ·  P(A∪B) = 19.00%  ·  Complement = 99.00%
Try this example →

Frequently Asked Questions

What is joint probability?+
Joint probability is the probability that two or more events all occur simultaneously. Written as P(A and B) or P(A intersection B), it answers: what is the likelihood that both event A and event B happen? For independent events it equals P(A) multiplied by P(B). For dependent events it requires the conditional probability P(B|A).
What is the multiplication rule for probability?+
The multiplication rule states: P(A and B) = P(A) x P(B|A). For independent events P(B|A) = P(B), so it simplifies to P(A and B) = P(A) x P(B). This rule is the fundamental way to compute joint probabilities for any two events.
What is the difference between independent and dependent events?+
Events are independent if knowing one occurred does not change the probability of the other. For independent events P(B|A) = P(B). Events are dependent if the occurrence of one changes the probability of the other - for example drawing cards without replacement creates dependence.
How do you calculate P(A or B) - the union probability?+
P(A or B) = P(A) + P(B) - P(A and B). This is the inclusion-exclusion principle: add the individual probabilities then subtract the joint probability to avoid double-counting. For mutually exclusive events where P(A and B) = 0, this simplifies to P(A) + P(B).
What is the formula for conditional probability?+
P(B|A) = P(A and B) / P(A). Rearranging: P(A and B) = P(A) x P(B|A). This calculator uses P(A) and P(B|A) as inputs in conditional mode to compute the joint probability directly.
Can P(A and B) exceed P(A) or P(B)?+
No. P(A and B) can never exceed either P(A) or P(B) individually. The intersection of two events is always a subset of each individual event. Mathematically: P(A and B) is less than or equal to min(P(A), P(B)).
What are mutually exclusive events?+
Two events are mutually exclusive if they cannot both occur at the same time. For mutually exclusive events, P(A and B) = 0. Examples: rolling an even and odd number simultaneously, or a coin landing both heads and tails. Mutually exclusive events with non-zero probability are always dependent.
What is the complement of the joint probability?+
The complement of P(A and B) is 1 - P(A and B), representing the probability that at least one of A or B does not occur. This is the probability that both events do NOT happen simultaneously.
What are the odds of a joint event?+
Odds of joint event = P(A and B) / (1 - P(A and B)). For example, if P(A and B) = 0.20, odds = 0.20/0.80 = 0.25, or 1:4. Odds give the ratio of favourable to unfavourable outcomes.
What is a practical example of joint probability?+
If the probability of rain is 30% and the probability of strong wind is 40%, and these are independent, the joint probability that both occur is 30% x 40% = 12%. The probability of at least one occurring (rain or wind or both) = 30% + 40% - 12% = 58%. These calculations are essential in weather forecasting, insurance, and risk management.