Joint Probability Calculator
Find the probability that two events both occur. Supports independent events and conditional probability.
∩ 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:
Conditional Events (Dependent):
Union (probability of A or B or both):
Complement and Odds:
How to Use This Calculator
- 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.
- 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).
- Click Calculate — see the joint probability P(A∩B), union P(A∪B), complement, and odds all at once.
- 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.