Probability formulas
The calculator above covers a single event, two events and repeated tries. These are the formulas it uses. For two events it assumes they are independent, meaning one does not change the chance of the other, like two coin flips or two dice.
| What you want | Formula |
|---|---|
| Chance of an event | P(A) = favourable outcomes ÷ total outcomes |
| Chance it does not happen | P(not A) = 1 − P(A) |
| A and B both happen | P(A and B) = P(A) × P(B) |
| A or B (or both) happens | P(A or B) = P(A) + P(B) − P(A) × P(B) |
| Exactly one of A or B | P(A) + P(B) − 2 × P(A) × P(B) |
| At least once in n tries | 1 − (1 − p)ⁿ |
| Exactly k times in n tries | C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ |