Permutation and Combination Calculator
Calculate nPr or nCr for non-negative integers.
Calculations run in this browser. Values are not submitted to the server.
Result
Formula and assumptions
Permutation nPr = n! ÷ (n − r)!; combination nCr = n! ÷ (r!(n − r)!). Requires 0 ≤ r ≤ n.
Example values are shown in the input placeholders. Results use browser number precision unless the tool uses exact integer arithmetic. Check units and assumptions before using a result.