Skip to main content
KalkuNet

Permutation & Combination Calculator (nPr, nCr)

nPr and nCr with or without repetition, and factorials, exact for large numbers.

Calculated in your browserStatistics
Permutations nPr (order matters)
720
Combinations nCr (order does not matter)
120
Permutations with repetition (nʳ)
1,000
Combinations with repetition C(n + r − 1, r)
220
Factorial n!
3,628,800

Working

  1. 1.10P3 = 10! ÷ (10 − 3)! = 720
  2. 2.10C3 = 10! ÷ (3! × 7!) = 120

Formula and sources

Permutations nPr = n! ÷ (n − r)! Combinations nCr = n! ÷ (r! × (n − r)!) With repetition: permutations nʳ, combinations C(n + r − 1, r) n! = 1 × 2 × … × n, with 0! = 1

  • Counting rules — upper-secondary mathematics

When to use the Permutations & Combinations

  • When to use permutations

    Permutations apply when order matters, such as choosing a chair, secretary and treasurer from 10 people: 10P3 = 720 arrangements.

  • When to use combinations

    Combinations apply when order does not matter, such as picking 3 committee members from 10 people: 10C3 = 120 ways.

  • Lottery and card odds

    The number of 5-card hands from a 52-card deck is 2,598,960. It is the denominator for the odds of getting any particular hand.

  • Exact even when huge

    The calculator uses integers without a precision limit, so 100C50 or 1000! are computed exactly, without rounding. Results longer than 30 digits are shown in scientific notation with their digit count to stay readable.

Frequently asked questions

Why is 0! equal to 1?

There is exactly one way to arrange zero items. The definition also keeps the combination formula valid for r = 0 and r = n.

What are combinations with repetition?

Choosing r items from n kinds where each kind can repeat, such as 3 scoops from 5 ice-cream flavours. The formula is C(n + r − 1, r), giving 35 choices.

What if r is larger than n?

Without repetition you cannot pick more items than exist, so the result is 0. With repetition it can still be counted.

How many 6-from-49 lottery combinations are there?

49C6 = 13,983,816 combinations, so the chance of matching all six with one ticket is about 1 in 14 million.

How do I count arrangements with repeated letters?

Divide n! by the factorial of each repeated letter's count. The word MAMA has 4! ÷ (2! × 2!) = 6 different arrangements.

Related calculators