Permutation and Combination Calculator

Calculate permutations P(n,r) and combinations C(n,r) — with and without repetition. Find how many ways to arrange or select r items from n distinct items.

Input

P(n,r) — Permutation
720
without repetition
C(n,r) — Combination
120
without repetition
Pᵣₑₚ — Permutation
1,000
with repetition (nʳ)
Cᵣₑₚ — Combination
220
with repetition
TypeFormulaOrder matters?Repetition?
Permutationn! / (n−r)!YesNo
Combinationn! / (r!(n−r)!)NoNo
Perm (rep)nʳYesYes
Comb (rep)C(n+r−1, r)NoYes

Step-by-step

PropertyCalculationValue
P(10,3)10! / (10−3)! = 10! / 7!720
C(10,3)10! / (3! × 7!)120
Pᵣₑₚ(10,3)10^31,000
Cᵣₑₚ(10,3)C(12,3)220

Pascal's Triangle (C(n,r))

n\r01234567
01
111
2121
31331
414641
515101051
61615201561
7172135352171

Calculate permutations (order matters) and combinations (order doesn't matter) instantly with our free calculator, useful for probability, statistics, and combinatorics problems.

How It Works

Permutations: nPr = n! / (n-r)!. Combinations: nCr = n! / (r! × (n-r)!). The difference is whether arrangement order matters (permutations) or only the selection matters (combinations).

How to Use This Calculator

  1. Enter n (total items)
  2. Enter r (items being selected/arranged)
  3. Choose permutation or combination
  4. Click Calculate to see the result

Frequently Asked Questions

What's the difference between permutations and combinations?

Permutations count arrangements where order matters (like race finishing positions); combinations count selections where order doesn't matter (like choosing a committee).

Why does nCr always give a smaller or equal number to nPr?

Because combinations group together all the different orderings of the same selection into one count, while permutations count each ordering separately, combinations essentially divide out the redundant orderings.

What does 0! (zero factorial) equal?

By mathematical convention, 0! = 1, this makes the permutation and combination formulas work correctly at the boundary cases.

Where are permutations and combinations used in real life?

Common applications include probability calculations, password/combination lock possibilities, lottery odds, and team or committee selection problems.