MATH & EVERYDAY CALCULATOR
Permutation Calculator
Calculate the number of ordered arrangements when selecting r items from n distinct items.
How to use this calculator
Enter the total number of distinct items (n) and the number selected (r). The calculator returns the number of ordered arrangements. Values are limited to keep integer results exact in JavaScript.
Check that inputs match the stated domain and units. The result is generated from the values you enter; no external data or account information is required.
Formula and method
nPr = n! ÷ (n − r)! for integers 0 ≤ r ≤ n.
Understanding the result
Use the result as a mathematical aid and review the method before applying it to coursework, measurement or other calculations. Some numerical displays are affected by finite-precision arithmetic.
Important limitations
This calculator is designed for general arithmetic and learning. It does not replace a teacher's required method, specialist software or domain-specific rounding rules. For high-precision scientific work, verify results with an appropriate precision-aware tool.
Frequently asked questions
What is a permutation? A permutation counts arrangements where order matters.
Enter the total number of distinct items (n) and the number selected (r). The calculator returns the number of ordered arrangements. Values are limited to keep integer results exact in JavaScript.
Can r be greater than n? No. The selected count cannot exceed the available distinct items.
Enter the total number of distinct items (n) and the number selected (r). The calculator returns the number of ordered arrangements. Values are limited to keep integer results exact in JavaScript.