The Probability Formulas, Up Top
A probability is a number between 0 (impossible) and 1 (certain) that measures how likely an event is. The core formulas are:
- Basic probability: P(E) = (number of favourable outcomes) / (total number of equally likely outcomes)
- Complement: P(not E) = 1 − P(E)
- Addition, mutually exclusive: P(A or B) = P(A) + P(B)
- Addition, general: P(A or B) = P(A) + P(B) − P(A and B)
- Multiplication, independent: P(A and B) = P(A) · P(B)
- Multiplication, general (conditional): P(A and B) = P(A) · P(B | A)
- Permutations (order matters): nPr = n! / (n − r)!
- Combinations (order does not matter): nCr = n! / (r! (n − r)!)
What the Symbols Mean
E is an event — a set of outcomes. P(B | A), read “the probability of B given A”, is a conditional probability: the chance of B in the smaller world where A has already happened. The exclamation mark is the factorial: n! = n · (n − 1) · … · 1, with 0! = 1. In nPr and nCr, n is the size of the pool you choose from and r is how many you pick.
Why the General Rules Have Extra Terms
The simple addition rule double-counts when events can happen together: the overlap P(A and B) gets added twice, once inside P(A) and once inside P(B), so it must be subtracted back once. Mutually exclusive events have no overlap, the extra term is zero, and the simple rule remains. The multiplication rule has the same logic in reverse: if B's chances change once A has happened — drawing cards without replacement is the classic case — you must use the updated conditional probability P(B | A) instead of the original P(B). Independence is exactly the special case where nothing updates.
Worked Example 1: Two Dice, P(sum of 7)
Two fair dice have 6 × 6 = 36 equally likely outcomes. The pairs that sum to 7 are (1, 6), (2, 5), (3, 4), (4, 3), (5, 2) and (6, 1) — 6 favourable outcomes. So P(sum of 7) = 6 / 36 = 1/6 ≈ 0.167. The complement follows at once: P(sum is not 7) = 1 − 1/6 = 5/6. Note why 7 wins: it has more pairings than any other total, which is why it is the most likely sum of two dice.
Worked Example 2: Counting With Combinations and Permutations
How many ways can a committee of 3 be chosen from 10 people? Order does not matter — the same three people are the same committee — so use combinations: C(10, 3) = 10! / (3! · 7!) = (10 · 9 · 8) / (3 · 2 · 1) = 720 / 6 = 120. Contrast a race: how many ways can gold and silver be awarded among 5 runners? Order matters now, so use permutations: P(5, 2) = 5! / (5 − 2)! = 5 · 4 = 20. The single question “does order matter?” chooses between the two formulas.
Common Mistakes
- Adding probabilities for “and”. “And” (both happen) calls for multiplication; “or” calls for addition.
- Forgetting the overlap. P(A or B) needs the − P(A and B) term whenever A and B can occur together.
- Assuming independence. Draws without replacement are dependent: the second draw's probability is conditional on the first.
- Mixing up nPr and nCr. If swapping the picks makes a different outcome, it is a permutation; if not, a combination.
Check Yours With the Calculator
Start with our guide on what probability is for the intuition, then verify your numbers in the probability calculator. For the standard textbook treatment, see OpenStax Introductory Statistics 2e. More formulas live in the formulas library.