Skip to content
SnapCalculations

Permutation and Combination Calculator

Enter n (total items) and r (items chosen) to count how many ways you can arrange them (permutations) or choose them (combinations).

Combinations

120

Order doesn't matter. Permutations, where order matters: 720

Permutations (nPr)
720
Combinations (nCr)
120
Digits in permutations
3
Digits in combinations
3

Step-by-step solution

Worked out with your numbers. Change any value above and the steps update.

  1. 1

    Permutations (order matters): nPr = n! ÷ (n − r)!

    10! ÷ 7!

  2. 2

    Cancel the matching factors, leaving r numbers to multiply

    10 × 9 × 8 = 720

  3. 3

    Combinations (order doesn't matter): nCr = nPr ÷ r!

    720 ÷ 3! = 6 = 120

How it works

  • Permutations count arrangements where order matters: nPr = n! ÷ (n − r)!.
  • Combinations count selections where order doesn't matter: nCr = n! ÷ (r! × (n − r)!).
  • With repetition allowed, permutations are nʳ and combinations are (n + r − 1)C r.
  • Answers are calculated exactly, even when they run to hundreds of digits.

Frequently asked questions

How do I know whether order matters?

If swapping two chosen items gives a different result (a PIN code, a race podium), use permutations. If it doesn't (a lottery draw, a pizza's toppings), use combinations.

How many 5-card poker hands are there?

52C5 = 2,598,960. Enter n = 52 and r = 5 to see the working.

Results are estimates for general information and are not financial, medical or professional advice.