Combination without Repetition Calculator
Calculate combinations without repetition C(n,k) instantly. Exact results using BigInt math, step-by-step breakdown, and Pascal's Triangle visualization.
Pascal's Triangle (rows 0โ)
About
Miscounting combinations is a common source of error in probability, statistics, and experimental design. The binomial coefficient C(n, k) counts the number of ways to choose k items from n distinct items where order does not matter and no item is selected twice. A manual factorial calculation for n = 50 already produces a 65-digit number, making overflow inevitable on standard 64-bit floats. This calculator uses arbitrary-precision integer arithmetic (BigInt) to return exact results for inputs up to n = 1000. It also provides a step-by-step multiplicative expansion and a Pascal's Triangle fragment so you can visually verify the result.
Note: this tool computes combinations without repetition only. If your problem allows selecting the same item more than once, you need the multiset coefficient C(n + k โ 1, k). The formula assumes 0 โค k โค n. By convention C(n, 0) = 1 and C(0, 0) = 1.
Formulas
The number of combinations without repetition (binomial coefficient) is defined as:
To avoid computing huge factorials, the multiplicative (product) form is used instead:
The symmetry property C(n, k) = C(n, n โ k) is exploited: computation uses min(k, n โ k) iterations. Pascal's recurrence relation provides an alternative verification path:
Where: n = total number of distinct items in the set. k = number of items chosen. n! = factorial of n (1 ร 2 ร โฆ ร n). By definition, 0! = 1.
Reference Data
| n | C(n,1) | C(n,2) | C(n,3) | C(n,4) | C(n,5) | C(n,6) | C(n,7) | C(n,8) |
|---|---|---|---|---|---|---|---|---|
| 5 | 5 | 10 | 10 | 5 | 1 | - | - | - |
| 6 | 6 | 15 | 20 | 15 | 6 | 1 | - | - |
| 7 | 7 | 21 | 35 | 35 | 21 | 7 | 1 | - |
| 8 | 8 | 28 | 56 | 70 | 56 | 28 | 8 | 1 |
| 10 | 10 | 45 | 120 | 210 | 252 | 210 | 120 | 45 |
| 13 | 13 | 78 | 286 | 715 | 1287 | 1716 | 1716 | 1287 |
| 20 | 20 | 190 | 1140 | 4845 | 15504 | 38760 | 77520 | 125970 |
| 26 | 26 | 325 | 2600 | 14950 | 65780 | 230230 | 657800 | 1562275 |
| 30 | 30 | 435 | 4060 | 27405 | 142506 | 593775 | 2035800 | 5852925 |
| 36 | 36 | 630 | 7140 | 58905 | 376992 | 1947792 | 8347680 | 30260340 |
| 45 | 45 | 990 | 14190 | 148995 | 1221759 | 8145060 | 45379620 | 215553195 |
| 49 | 49 | 1176 | 18424 | 211876 | 1906884 | 13983816 | 85900584 | 450978066 |
| 52 | 52 | 1326 | 22100 | 270725 | 2598960 | 20358520 | 133784560 | 752538150 |
| 60 | 60 | 1770 | 34220 | 487635 | 5461512 | 50063860 | 386206920 | 2558620845 |
| 100 | 100 | 4950 | 161700 | 3921225 | 75287520 | 1192052400 | 16007560800 | 186087894300 |