Permutation & Combination Calculator

Four counting formulas — nPr, nCr, nr (repeats allowed), and multiset combinations — with BigInt so large values stay exact. Type, paste, see the answer, copy it.

Mode
nPr
nPr = n! / (n − r)!

Common values