# Probability Rules

Combine and count outcomes.

| Rule | Formula |
|---|---|
| Probability | P(A) = favorable / total (equally likely) |
| Complement | P(not A) = 1 − P(A) |
| Union | P(A or B) = P(A) + P(B) − P(A and B) |
| Independent events | P(A and B) = P(A) × P(B) |
| Conditional | P(A given B) = P(A and B) / P(B) |
| Bayes | P(A given B) = P(B given A) × P(A) / P(B) |
| Permutations | nPr = n! / (n − r)! |
| Combinations | nCr = n! / (r! (n − r)!) |
