🔢 Permutation & Combination Calculator

Permutation (nPr)
Arrangements of r elements from n elements where order matters
Combination (nCr)
Selections of r elements from n elements where order doesn't matter
Factorial (n!)
Product of all positive integers up to n
Permutation with Repetition
Permutations where elements can be repeated
Formula
P(n,r) = n! / (n-r)!

Notes: