This free tool calculates permutations (nPr) and combinations (nCr) instantly. Enter values for n (total items) and r (chosen items), and get results with full formula steps.
In mathematics and probability, permutations and combinations are two ways of counting selections:
Example:
nPr = n! / (n − r)!
Example: With 6 players and 3 prizes to award:
6P3 = 6! / (6 − 3)!
= 6 × 5 × 4
= 120
nCr = n! / [ r! × (n − r)! ]
Example: Choosing 2 fruits from 4:
4C2 = 4! / (2! × (4 − 2)!)
= (4 × 3) / (2 × 1)
= 6
C(n + r − 1, r).
Q: What is the difference between permutation and combination?
Permutation: order matters.
Combination: order doesn’t matter.
Q: Can nPr or nCr be negative?
No. Both require n ≥ 0, r ≥ 0, and r ≤ n (unless using combinations with repetition).
Q: Why do formulas use factorials?
Factorials simplify counting by multiplying consecutive integers. That’s why both nPr and nCr are built on factorials.
Q: Where are these formulas used in real life?
Probability, statistics, cryptography, seating arrangements, computer science, and more.
Was this calculator helpful?
Rate your experience to help us improve.
Thanks for rating! See the average and total ratings above.
Not rated yet—be the first to rate this calculator.
