Joint Probability Calculator

Joint Probability Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

P(A∩B)=P(A)×P(B)P(A \cap B) = \text{P(A)} \times \text{P(B)}

Example

P(A∩B)=0.5×0.5=0.25P(A \cap B) = 0.5 \times 0.5 = 0.25
Usage stats

Advertisement

Results

Joint Probability P(A and B)
0.25
25% chance
P(A) 0.5
P(B) 0.5
P(A and B) 0.25

Report an error on this page

What is joint probability?

Joint probability is the likelihood that two events both happen. When the two events are independent — meaning the outcome of one has no effect on the other — the joint probability equals the product of their individual probabilities. This calculator uses that rule, written as \(P(A \text{ and } B) = P(A) \times P(B)\).

Two overlapping circles in a Venn diagram with the intersection highlighted
Joint probability corresponds to the overlap (intersection) of events A and B.

How to use this calculator

Enter the probability of event A and the probability of event B, each as a value between 0 and 1 (for example, 0.5 means a 50% chance). Click calculate to see the joint probability as both a decimal and a percentage. If you only know percentages, divide by 100 first — 25% becomes 0.25.

The formula explained

For independent events the multiplication rule applies:

$$P(A \cap B) = P(A) \times P(B)$$

Because each probability is at most 1, the joint probability is always less than or equal to either input — two requirements are harder to satisfy than one. Note this formula assumes independence; if events influence each other you must use the conditional form \(P(A) \times P(B|A)\).

Advertisement
Two probability bars multiplied to produce a smaller combined probability bar
Multiplying P(A) by P(B) gives the smaller joint probability for independent events.

Worked example

Suppose you flip a fair coin and roll a fair six-sided die. The chance of heads is \(P(A) = 0.5\) and the chance of rolling a 3 is \(P(B) = 1/6 \approx 0.1667\). The joint probability of getting heads and a 3 is

$$0.5 \times 0.1667 = 0.0833$$

or about an 8.33% chance.

Advertisement

Key Terms in Joint Probability

Joint probability
The probability that two events both occur, written \(P(A \cap B)\) or \(P(A \text{ and } B)\). For independent events it equals \(P(A) \times P(B)\). For example, if \(P(A) = 0.5\) and \(P(B) = 0.2\), then \(P(A \cap B) = 0.5 \times 0.2 = 0.1\).
Intersection (∩)
The set operation behind "and". \(A \cap B\) is the set of outcomes that belong to both A and B. Read it as "A intersect B".
Independent events
Two events are independent if one occurring does not change the probability of the other, so \(P(B \mid A) = P(B)\). Only for independent events does the shortcut \(P(A \cap B) = P(A) \times P(B)\) hold. Examples are two separate coin flips or two dice rolls.
Marginal probability
The probability of a single event on its own, ignoring all other events, such as \(P(A)\) or \(P(B)\). These are the two inputs this calculator multiplies.
Conditional probability \(P(B \mid A)\)
The probability that B occurs given that A has already occurred: $$P(B \mid A) = \frac{P(A \cap B)}{P(A)}, \quad P(A) > 0$$ Rearranged, the general multiplication rule is \(P(A \cap B) = P(A) \times P(B \mid A)\). It works whether or not the events are independent. If they are independent, it reduces to the simple product.
Mutually exclusive events
Events that cannot happen at the same time, so \(P(A \cap B) = 0\). Examples are rolling a 2 and rolling a 5 on a single die roll. Mutually exclusive events with non-zero probabilities are not independent, because knowing that one occurred tells you the other did not.
"And" versus "or" probabilities
"And" asks for both events, \(P(A \cap B)\), and is never larger than either individual probability. "Or" asks for at least one event, \(P(A \cup B)\), and is never smaller than either individual probability: $$P(A \cup B) = P(A) + P(B) - P(A \cap B)$$ The subtraction avoids counting the overlap twice. For mutually exclusive events the overlap is zero, so \(P(A \cup B) = P(A) + P(B)\).

FAQ

What if the events are not independent? Then this simple multiplication is incorrect; use \(P(A \text{ and } B) = P(A) \times P(B|A)\), where \(P(B|A)\) is the conditional probability of B given A.

Can the inputs be percentages? Convert them to decimals first (50% → 0.5). The calculator expects values from 0 to 1.

Why is the result smaller than each input? Requiring both events to occur is more restrictive, so the combined chance shrinks toward zero as more conditions are added.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators