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)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