Calculate ordered arrangements of r items from n total. Find permutations with or without repetition for counting problems.
Last updated: March 2026
A permutation is an ordered arrangement of r items selected from n total items. The key characteristic: order matters! Selecting items A, B, C is different from selecting B, A, C because they're in different positions.
Permutations answer the question: "In how many different ways can I arrange r items from n?" For example, choosing 1st, 2nd, and 3rd place from 5 runners gives 5×4×3 = 60 different podium arrangements. Each different ordering counts as a separate permutation.
There are two types: without repetition (each item used at most once, typical for real selections) and with repetition (items can be reused, like picking colored balls where you replace after each pick). Without repetition uses the formula P(n,r) = n!/(n-r)!, while with repetition uses P(n,r) = n^r.
Race Podium Positions
There are 720 different ways to award 1st, 2nd, and 3rd place from 10 runners. Each arrangement (like A-B-C vs. B-A-C) counts separately because position matters.
Permutation: ordered arrangement of r items from n total. Order matters! Example: Arranging 3 people from 10 in a line (first, second, third positions). P(10,3)=720. Compare: combinations (order doesn't matter).
Permutation (order matters): P(5,2) for 'Top 2 finishers' → AB ≠ BA. Combination (order irrelevant): C(5,2) for 'Choose 2 fruits' → {A,B}={B,A}. Always P ≥ C because P counts all orderings.
P(n,r) = n! / (n-r)! → 'n ways to arrange all, divide by (n-r)! for remaining items.' Shortcut: P(n,r) = n × (n-1) × ... × (n-r+1) [r consecutive factors]. Example: P(5,2) = 5×4 = 20.
P(n,r) = n^r → 'Each of r positions can have any of n choices, independently.' Example: 3-digit PIN from 10 digits (0-9) = 10³ = 1,000. Items can repeat: 111, 222, etc. allowed.
No rep: Seating arrangements, race finishes (1st/2nd/3rd), lock codes without repeats. With rep: Color sequences allowing duplicates, PIN codes, playlist orderings with song repeats, license plates.
Impossible! Can't arrange 5 items from only 3 total. Formula undefined (factorial of negative number). With repetition, this is allowed: P(3,5) = 3⁵ = 243.
P(3,2) has positions [first, second]. AB ≠ BA because different people occupy different seats/positions. Combinations would count {A,B}=1 way regardless. Use perms when rank/position matters (medals, seating).
10! = 3.6M, 20! ≈ 2.4×10^18 (massive). P(20,5) = 1.86M vs P(20,3) = 6,840. With repetition: 10⁵ = 100K (grows polynomially by power). Without repetition explodes faster for large r.
Related Tools
Basic probability calculations.
P(A|B) calculations.
P(A and B) calculations.
Three event probabilities.
Conditional probability.
Probability-weighted average.