Permutations Calculator
A permutations calculator is a combinatorial tool that computes the total number of ordered arrangements of size r that can be formed from a set of n unique elements. Unlike combinations, the order of elements in permutations is significant. The calculator supports both arrangements without repetition and arrangements with repetition allowed. Permutations are heavily used in cryptography, passwords, coding theory, statistical probability, and orderings.
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 nPr permutations for ordered sets. Enter the total items and sample size to determine the number of distinct possible arrangements.
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 permutations calculator 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
- Combinations 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



