Permutation Calculator
Calculate permutations (nPr).
About this tool
Enter n and r to count the ordered ways to pick r items from n. 10P3 is 720: 10 choices for first place, 9 for second, 8 for third.
How to use
How it works
A permutation counts arrangements where order matters, so ABC and CBA are different. nPr multiplies n × (n − 1) × … for r terms. Divide by r! to get the combination count, where order is ignored.
nPr = n! ÷ (n − r)! = n × (n − 1) × … × (n − r + 1)
Worked example
Five-card ordered hands
- Input
- n = 52, r = 5
- Output
- 311,875,200
- Walkthrough
- 52 × 51 × 50 × 49 × 48 = 311,875,200 ordered sequences of five cards.
Limitations
- r cannot exceed n.
- n is limited to 5,000.
Questions
What is 10P3?
What is 8P8?
What is 52P5?
What happens if r is larger than n?
Features
- Exact large results
- Working shown
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Finding mean, median, and mode
Khan Academy
Core descriptive stats for mean/median/mode tools.
Watch on YouTubeMean, Variance and Standard Deviation
StatQuest with Josh Starmer
Clear variance/SD explanation for spread calculators.
Watch on YouTube
- Correlation
Math is Fun
Correlation vs causation notes next to correlation tools.
- Statistics and probability
Khan Academy
Full stats path when a single calculator result needs context.