Permutation Calculator
A permutation calculator computes the number of unique ways to arrange a subset of items selected from a larger set where the order of selection is significant. It calculates both permutations without repetition, using the formula P(n, r) = n! / (n-r)!, and permutations with repetition, using n^r. Statisticians, computer scientists, and combinations planners use this calculation to solve combinatorial problems, analyze security passcode possibilities, and determine potential sequences in probability experiments.
Pick without-repetition or with-repetition mode, enter the total number of items n and the number chosen r, and the calculator returns the count of permutations P(n, r).
Quick Answer
Calculate the number of unique arrangements for a set of items where order matters. Enter the total items and number to select.
How many distinct items you have to choose from. · e.g. 10
Cannot exceed n in without-repetition mode. · e.g. 3
Formula
P(n, r) = n! ÷ (n − r)!
Permutations count arrangements where order matters: ABC is different from CAB. Use combinations instead when order does not matter.
P(10, 3) without repetition
720
Order matters · P(n, r) = n! ÷ (n − r)!
Examples
P(10, 3) without repetition
720 (10 × 9 × 8)
P(5, 5) without repetition
120 (5!)
P(4, 3) with repetition (4^3)
64
How it works
A permutation counts ordered arrangements. The without-repetition formula uses descending factorial: multiply n by (n − 1), (n − 2), and so on for r terms total. With repetition, each of the r positions is independent, giving n^r.
Without repetition · P(n, r) = n! ÷ (n − r)!
With repetition · n^r
Conventions: P(n, 0) = 1 · 0! = 1 · P(n, n) = n!
Related counting and math calculators
- Combination Formula
- Combination calculator for selections where order does not matter.
- Binomial probability calculator for trial-based probability built on top of C(n, k).
- Scientific calculator for factorial, exponents, and general arithmetic.
- Factor calculator for factors and prime factorization (note: not the same as factorial).
- Percentage calculator for converting counts into percent probabilities.
- Fraction calculator for exact probability ratios.
- All education calculators.
Related Calculators
More tools from Education



