How to use Permutation and combination calculator
- 01Type nHow many items in total.
- 02Type rHow many you choose.
- 03Read nPr and nCrTick repetition if needed.

Order matters, or it doesn’t.
Permutations count ordered picks: nPr = n! ÷ (n − r)!. Combinations ignore order: nCr = n! ÷ (r!(n − r)!), which is nPr divided by the r! ways to arrange each pick. With repetition allowed the counts are nʳ and C(n + r − 1, r). Big-integer arithmetic keeps the result exact; truly enormous counts are shown in scientific notation with their number of digits.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Your text stays in your browser. Nothing is uploaded.
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
Questions
How many 5-card poker hands are there?
Order doesn’t matter in a hand, so it is 52C5 = 52! ÷ (5! × 47!) = 2,598,960. If order mattered (dealing five cards to five seats) it would be 52P5 = 311,875,200.
How many 4-digit PINs are possible?
Digits can repeat and order matters, so it is a permutation with repetition: 10⁴ = 10,000. Tick “can be chosen more than once” with n = 10 and r = 4.
Why is nCr equal to nC(n − r)?
Choosing r items to take is the same as choosing the n − r items to leave behind, so 10C3 and 10C7 are both 120.
Is what I type sent anywhere?
No. The calculation runs in your browser and nothing you type leaves your device.