Permutations vs. Combinations: Does Order Matter?
In combinatorics and probability, every counting problem boils down to two core questions: (1) Does the order of selection matter? and (2) Can the same item be chosen more than once (repetition)?
1. Permutations (nPr) — Order Matters
Think "P" for Position, Placement, or Password
Example: Awarding Gold, Silver, and Bronze medals among 10 sprinters. First place has 10 choices, second has 9, and third has 8: 10 × 9 × 8 = 720 ordered podiums.
2. Combinations (nCr) — Order Does Not Matter
Think "C" for Committee, Card Hand, or Choose
Example: Picking 3 finalists out of 10 sprinters to advance to the next round. Since all 3 advance equally, we divide the 720 permutations by 3! = 6 duplicate orderings: 720 / 6 = 120 groups.
Complete Reference: All 4 Combinatorics Formulas (With & Without Repetition)
| Combinatorics Type | Order Matters? | Repetition Allowed? | Exact Mathematical Formula | Real-World Example (n = 10, r = 3) |
|---|---|---|---|---|
| Permutation without Repetition | Yes | No (r ≤ n) | P(n, r) = n! / (n − r)! |
Gold, Silver, Bronze among 10 runners = 720 |
| Combination without Repetition | No | No (r ≤ n) | C(n, r) = n! / (r! × (n − r)!) |
3-person committee from 10 people = 120 |
| Permutation with Repetition | Yes | Yes (any r ≥ 0) | Prep(n, r) = nr |
3-digit lock code using digits 0–9 = 10³ = 1,000 |
| Combination with Repetition | No | Yes (any r ≥ 0) | Crep(n, r) = (n + r − 1)! / (r! × (n − 1)!) |
Picking 3 donuts from 10 varieties = C(12, 3) = 220 |
Frequently Asked Questions (FAQ)
ABC is different from CBA). In a combination (nCr), order does not matter; only the final group of selected items counts—for example, drawing lottery balls or choosing 3 pizza toppings (ABC is the exact same selection as CBA).
n! all the way down to 1! Instead, unroll the numerator only until you reach (n − r)!, then cancel (n − r)! from both numerator and denominator. For example, to calculate 10C3 = 10! / (3! × 7!) by hand, rewrite 10! as 10 × 9 × 8 × 7!. Canceling 7! leaves (10 × 9 × 8) / (3 × 2 × 1) = 720 / 6 = 120.
0! = 1) equals 1 for two reasons: (1) Combinatorial meaning: there is exactly 1 way to arrange or choose zero objects from a set (the empty selection itself). (2) Algebraic consistency: factorials follow the pattern n! = n × (n − 1)!, so plugging in n = 1 gives 1! = 1 × 0!, which requires 0! = 1. This also guarantees that choosing all n items yields nCn = n! / (n! × 0!) = 1.
BigInt arithmetic with zero server storage, zero database logging, and zero external API requests.
Explore Our Free Calculator Series
Fast, privacy-first math & statistical utilities running 100% in your browser.