Permutation and Combination Calculator
Calculate permutations (nPr) and combinations (nCr), with and without repetition, for n up to 5000. Exact results for lottery odds and counting problems.
Runs in your browser. Nothing is uploaded.
About Permutation and Combination Calculator
Enter the total number of items n and how many you choose r. You get combinations (nCr, order doesn't matter), permutations (nPr, order matters), and both again with repetition allowed.
Choosing 3 from 10 gives 120 combinations but 720 permutations, because each group of 3 can be arranged 6 ways. Lottery odds are combinations: picking 6 numbers from 49 has 13,983,816 possibilities.
Results are exact, using big-integer arithmetic, so even 1000 choose 500 is computed correctly. Very long results are shown in scientific notation.
How to use Permutation and Combination Calculator
- Enter your values in the fields.
- The answer updates instantly as you type.
- Press Copy result to save the breakdown.
Frequently asked questions
When do I use permutations instead of combinations?
Use permutations when order matters (a race podium, a PIN) and combinations when it doesn't (a lottery ticket, a team).
What does 'with repetition' mean?
The same item can be picked more than once, like digits in a PIN (permutations with repetition, nʳ) or scoops of ice cream (combinations with repetition).
Is Permutation and Combination Calculator free and private?
Yes. Permutation and Combination Calculator is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.