Permutation and Combination Calculator

Combinations count groups where order does not matter, like lottery numbers; permutations count arrangements where order matters, like the podium of a race.

How to use it


  1. Type the total number of items, n.
  2. Type how many are chosen, r.
  3. Read the four results and pick the one that matches your problem.

Frequently asked questions


What are the formulas?
Combinations: C(n, r) = n! / (r! (n − r)!). Permutations: P(n, r) = n! / (n − r)!. With repetition: C(n + r − 1, r) combinations and nʳ permutations.

How many lottery combinations are there?
Choosing 6 numbers out of 60 gives C(60, 6) = 50,063,860 combinations, so one ticket has a 1 in 50,063,860 chance. For 6 out of 49 the count is 13,983,816.

When is repetition allowed?
When the same item can be chosen again, like digits in a PIN code (10⁴ = 10,000 permutations) or scoops of ice cream of the same flavour (combinations with repetition).

🔲 Matrix Calculator
🟰 System of Equations Calculator
🎯 Probability Calculator
📶 Binomial Distribution Calculator
🔔 Normal Distribution Calculator
ℤ Z-Score Calculator
➗ Long Division Calculator
📊 Standard Deviation Calculator