Probability basics
Probability measures how likely an event is, on a scale from 0 (impossible) to 1 (certain). A probability of 0.25 means the event is expected about one time in four. When every outcome is equally likely, the probability of an event is the number of favorable outcomes divided by the total number of outcomes: the chance of rolling a 5 on a fair die is 1/6 ≈ 0.1667.
Two events are independent when the outcome of one does not change the probability of the other, like two separate coin flips. Every tool on this page except the normal distribution assumes A and B are independent.
Probability of two events
Complement
The complement of A, written A', is "A does not happen". Its probability is P(A') = 1 − P(A). If there is a 0.65 chance of rain, there is a 0.35 chance of no rain.
Intersection (A and B)
For independent events, the probability that both happen is the product: P(A∩B) = P(A) × P(B). Rolling two dice, the chance that both show a 6 is 1/6 × 1/6 ≈ 0.0278. If the events are dependent, use P(A∩B) = P(A) × P(B|A) instead. Drawing two red marbles without replacement from a bag of 3 red and 7 blue gives 3/10 × 2/9 ≈ 0.0667.
Union (A or B)
The probability that at least one of the events happens is P(A∪B) = P(A) + P(B) − P(A∩B). The overlap is subtracted because it would otherwise be counted twice. On one die, the chance of rolling an even number or a number above 4 is 3/6 + 2/6 − 1/6 = 2/3.
Exclusive or
The probability that exactly one of the two happens, but not both, is P(AΔB) = P(A) + P(B) − 2P(A∩B). The probability that neither happens is 1 − P(A∪B).
The two-event solver
If you know any two of the eight quantities (P(A), P(B), their complements, the intersection, the union, the exclusive or, or neither), the solver finds the rest. When the two values are both symmetric in A and B, such as the intersection and the union, there are usually two mirror-image solutions where A and B swap roles, and sometimes there is no valid solution at all.
Series of independent events
If an event with probability p is repeated n independent times:
- It happens every time with probability pn.
- It never happens with probability (1 − p)n.
- It happens at least once with probability 1 − (1 − p)n.
Example: a free throw shooter who makes 60% of attempts has a 0.65 = 0.07776 chance of making 5 in a row, but a 1 − 0.45 = 0.98976 chance of making at least one of 5. The calculator combines two such series to give joint results for A and B.
Normal distribution
Many measurements, such as heights, test scores and manufacturing tolerances, follow a bell-shaped normal distribution described by its mean µ and standard deviation σ. To find the probability that a value falls between two bounds, convert each bound to a z-score, z = (x − µ) / σ, and find the area under the standard normal curve between them.
Example: adult heights with mean 70 inches and standard deviation 3 inches. The probability of a height between 64 and 73 inches uses z-scores of −2 and 1. The area from −2 to 0 is 0.47725 and from 0 to 1 is 0.34134, so the probability is about 0.81859, or 81.9%.
The confidence interval table shows the range around the mean that contains a given share of the distribution. About 68.27% of values lie within one standard deviation, 95% within 1.96, and 99% within 2.576.