Math & Education Utility
Permutation Calculator
Calculate ordered selections nPr exactly for nonnegative whole numbers.
Calculate nPr
Formula
nPr = n! / (n − r)!, equivalent to multiplying the integers from n − r + 1 through n.
Worked examples
- 5P2 = 5 × 4 = 20.
- 10P0 = 1.
- 10P10 = 3,628,800.
Privacy
The calculation runs locally in the browser.
Limitations
Inputs must be whole numbers with 0 ≤ r ≤ n. Very large exact results can contain many digits, so this version limits n to 1000 for practical browser use.
Related tools