Home › Math & Study › Permutation and Combination Calculator

Permutation and Combination Calculator

This permutation and combination calculator counts the ways to choose r items from n. Permutations count orderings (order matters); combinations count groups (order doesn't matter). It shows results with and without repetition.

Formulas

Permutations: nPr = n! ÷ (n − r)!
Combinations: nCr = n! ÷ (r! × (n − r)!)
With repetition: nʳ (ordered); (n + r − 1)! ÷ (r! × (n − 1)!) (unordered)

Example

Choosing 3 from 10: there are 720 ordered arrangements (like gold, silver, bronze) but only 120 different groups. A 5-card poker hand from 52 cards: C(52, 5) = 2,598,960 possible hands.

Tips

  • Ask: does order matter? A PIN code is a permutation (with repetition); a lottery draw is a combination.
  • For odds and chances, divide favourable outcomes by total outcomes. Huge factorials are exact in the big number calculator.

Frequently asked questions

What's the difference between permutation and combination?

Permutations count arrangements where order matters; combinations count selections where it doesn't.

What is 5 choose 2?

10.

How many 4-digit PINs are there?

10⁴ = 10,000 (permutations with repetition).

Written and checked by Vijay. Last updated .