Tools Last update: Nov 11, 2026

Permutation and Combination Calculator

Count permutations (nPr) and combinations (nCr), with or without repetition. Results are exact, even when they have hundreds of digits.

Repetition allowed
—

Permutation or combination?

Ask whether the order matters. Choosing a president, a secretary and a treasurer from 10 people is a permutation – the same three people in different jobs is a different result. Choosing a committee of 3 from 10 is a combination – only who is in it matters.

The formulas

Without repetitionWith repetition
PermutationsnPr = n! / (n − r)!nʳ
CombinationsnCr = n! / (r! · (n − r)!)(n + r − 1)! / (r! · (n − 1)!)

Examples

  • Officers from 10 people: 10 · 9 · 8 = 720 permutations.
  • A committee of 3 from 10: 720 / 3! = 120 combinations.
  • A 3-digit code from 10 digits, digits may repeat: 10³ = 1,000.
  • 3 scoops from 10 ice cream flavours, the same flavour allowed twice: 220.
  • A 6-from-49 lottery: 49C6 = 13,983,816 possible tickets.

For up to 8 items the calculator also lists every combination, labelled A, B, C… so you can see what is being counted.

Frequently asked questions

What is 10C3?

120. There are 720 ordered ways to pick 3 of 10, and each group of 3 can be ordered in 3! = 6 ways.

How many combinations does a 6/49 lottery have?

13,983,816, so one ticket has a 1 in 13,983,816 chance of the jackpot.

What does "with repetition" mean?

The same item can be chosen more than once, like digits in a PIN or scoops of the same flavour.