Calculate combinations (n choose r) for probability and odds.
🃏 Combinations: choosing r items from n, order doesn't matter. Lottery odds use this.
The Combination Calculator is based on the following formula:
C(n, k) = n! / [ k! × (n − k)! ]
Variables: C(n, k) = Number of ways to choose k from n, unordered n = Total items available k = Items chosen ! = Factorial: n! = n × (n−1) × … × 1
Number of ways to choose k items from n without regard to order. Read as "n choose k"; central to binomial probability and Pascal's triangle.
Worked example: Step 1: Choose 2 pizza toppings from 5: n = 5, k = 2. Step 2: 5! = 120, 2! = 2, (5 − 2)! = 3! = 6. Step 3: C(5, 2) = 120 / (2 × 6) = 120 / 12 = 10. Result: there are 10 different topping pairs.
A combination counts how many ways to choose r items from n, where order doesn't matter. Choosing 3 toppings from 10 is the same no matter which order you pick them — that's a combination.
C(n,r) = n! / (r! × (n−r)!). For choosing 3 from 10: 10! / (3! × 7!) = 120.
More tools you might find useful
Mean or proportion CI at 90/95/99% with margin of error.
Find cube volume and surface area.
Magnus-Tetens dew point, absolute humidity g/m³ and comfort band.
Add, subtract, multiply, divide fractions with exact math.