Permutations & Combinations Calculator
Exact nPr, nCr and factorials for large numbers, with and without repetition, using big-integer arithmetic.
Exact nPr, nCr and factorials for large numbers, with and without repetition, using big-integer arithmetic.
Your result will appear here
Counts the ways to choose r items from n, in every variant: ordered or unordered, with or without repetition, plus n!. All results are exact integers computed with big-integer arithmetic, so 100! and C(1000, 500) are given in full rather than as rounded floating-point values.
Example
n = 5, r = 2
→ P(5, 2) = 20, C(5, 2) = 10
Permutations: order matters, no repetition.
Combinations: order does not matter, no repetition.
With repetition: ordered and unordered selections.