About Permutation and Combination Calculator
Count the ways to arrange or choose items. Enter the total number of items (n) and how many you pick (r), and the tool gives the number of permutations (nPr, where order matters) and combinations (nCr, where order does not matter), with the formulas and a short worked line for each. You can also allow repeats, so an item can be picked more than once. The counts are exact, even for very large values, and n can be up to 1,000.
How to use Permutation and Combination Calculator
- Enter n, the total number of items.
- Enter r, the number you choose.
- Choose whether repeats are allowed.
- Read the permutations and combinations and the worked steps.
Tips and good to know
- Use permutations when order matters, such as a race podium, and combinations when it does not, such as a hand of cards.
- Without repeats, r can't be larger than n.
- With repeats, permutations are n^r and combinations are C(n + r − 1, r).
- Very large results are shown in scientific form with the number of digits.
Permutations vs combinations
Permutations count arrangements where order matters; combinations count selections where it doesn't. Choosing 3 runners for gold, silver and bronze from 10 gives 10 × 9 × 8 = 720 permutations, while choosing any 3 runners for a team gives 720 ÷ 3! = 120 combinations. The formulas are nPr = n! ÷ (n − r)! and nCr = n! ÷ (r! × (n − r)!).
A lottery that picks 6 numbers from 49 has 13,983,816 combinations, which is why the chance of winning is about 1 in 14 million. Factorials grow extremely fast (20! is about 2.4 × 10^18), so counting problems quickly reach numbers too large to list.
Frequently asked questions
What is the difference between nPr and nCr?
nPr counts ordered selections and nCr counts unordered ones, so nPr = nCr × r!.
Why is nC0 equal to 1?
There is exactly one way to choose nothing.
Is the answer exact for big numbers?
Yes. The tool uses whole-number arithmetic with no rounding.
Is Permutation and Combination Calculator free?
Yes. Permutation and Combination Calculator is 100% free: no sign-up, no paid plan, no trial and no limit on how often you use it. It runs in your browser, and ToolzAura is paid for by ads, so every tool stays free.
Are my files uploaded?
No. This tool runs in your browser, so your input stays on your device.