Permutation Calculator - Calculate nPr Online
Calculate permutations (nPr) instantly with our free online permutation calculator. Find the number of ways r items can be arranged from n items with formula and solution shown.
Understanding Permutations
Permutations count the number of ways you can arrange items when order matters. Think about it: picking a president, vice-president, and treasurer from 10 people gives different results depending on who gets which role. That's a permutation problem.
The key insight is that each position you fill reduces your options. For the first position, you have n choices. For the second, you have n-1 choices (one person is already placed). For the third, n-2 choices, and so on.
The Permutation Formula
P(n,r) = n! / (n-r)!
Where n is the total number of items, r is how many you're arranging, and ! means factorial (multiply all whole numbers from 1 up to that number). The formula essentially multiplies n × (n-1) × (n-2) × ... for r terms.
When Order Matters
Use permutations when:
- • Assigning specific roles (president, VP, secretary)
- • Creating passwords or codes
- • Arranging items in a row
- • Determining race finish orders
When Order Doesn't Matter
Use combinations instead for:
- • Selecting team members (no roles)
- • Picking lottery numbers
- • Choosing menu items
- • Drawing cards from a deck
Worked Examples
Example 1: Arranging Books on a Shelf
You have 5 different books and want to display 3 of them on a shelf. How many different arrangements are possible?
Example 2: Race Podium Finishes
In a race with 8 runners, how many different ways can the top 3 positions (gold, silver, bronze) be filled?
Example 3: Creating 4-Digit PINs
How many unique 4-digit PINs can be created using digits 0-9 without repeating any digit?
Example 4: Electing Club Officers
A club with 12 members needs to elect a president and vice-president. How many possible outcomes?
Example 5: Seating Arrangements
Seven people are to be seated in a row, but there are only 4 chairs. How many seating arrangements?
Quick Fact
The factorial symbol (!) was introduced by French mathematician Christian Kramp in 1808. Before that, mathematicians wrote out "factorial" in full. The notation caught on quickly because it saved space - imagine writing n × (n-1) × (n-2) × ... × 1 every time! Fun fact: 0! equals 1 by definition, which makes permutation formulas work correctly even when r equals n.
Frequently Asked Questions
What's the difference between permutations and combinations?
Order matters in permutations but not in combinations. Picking Alice, Bob, then Carol as president, VP, secretary (permutation) is different from Carol, Alice, Bob. But picking those three people for a committee (combination) is the same group either way. Permutations always give larger numbers: P(n,r) = C(n,r) × r!
Can r be larger than n in permutations?
No, that's impossible. You can't arrange more items than you have. If you have 5 books, you can't create an arrangement of 6 books. Mathematically, P(n,r) = 0 when r > n, though most calculators will just give an error.
What does P(n,n) equal?
P(n,n) = n! - you're arranging all n items. For example, P(5,5) = 5! = 120. This makes sense: arranging all 5 books on a shelf means 5 choices for first position, 4 for second, 3 for third, 2 for fourth, 1 for fifth: 5 × 4 × 3 × 2 × 1 = 120.
What does P(n,0) equal?
P(n,0) = 1 for any n. There's exactly one way to arrange zero items: do nothing. Mathematically, P(n,0) = n! / n! = 1. This might seem odd, but it keeps the formulas consistent.
How do I calculate permutations without a calculator?
Don't compute full factorials! Use the shortcut: P(n,r) = n × (n-1) × (n-2) × ... for r terms. For P(10,4), just multiply 10 × 9 × 8 × 7 = 5,040. Much faster than calculating 10! and 6! separately.
When would I use permutations in real life?
Permutations show up in password security (how many possible passwords?), scheduling (how many ways to order tasks?), sports brackets (possible tournament outcomes), genetics (gene sequence arrangements), and any situation where you need to count ordered arrangements.
Other Free Tools
Combination Calculator – Calculate nCr Online
Calculate combinations (nCr) instantly with our free online combination calculator. Find how many ways r items can be chosen from n items using the combination formula.
Factorial Calculator – Compute n! Instantly Online
Calculate the factorial of any non-negative integer instantly with our free online factorial calculator. Supports large factorials with exact results.
Probability Calculator – Calculate Probability of Events Online
Calculate the probability of any event with our free online probability calculator. Find simple, complementary, and conditional probabilities with formula explanations.
Pascal's Triangle Generator – Generate Pascal's Triangle Online
Generate Pascal's Triangle up to any number of rows with our free online generator. Visualize binomial coefficients, patterns, and number relationships in a clear triangle format.
Binomial Expansion Calculator – Expand (a+b)^n Online
Expand any binomial expression (a + b)^n with our free online binomial expansion calculator. Uses the binomial theorem with Pascal's triangle coefficients and full term listing.
Fibonacci Sequence Generator – Calculate Fibonacci Numbers Online
Generate the Fibonacci sequence up to any number of terms or find the nth Fibonacci number with our free online Fibonacci calculator. Fast and accurate for any value of n.
Random Number Generator – Generate Random Numbers Online
Generate random numbers within any range with our free online random number generator. Useful for games, statistics, lotteries, and any application requiring random values.
Dice Roller Simulator – Roll Virtual Dice Online Free
Roll any type and number of dice virtually with our free online dice roller simulator. Supports d4, d6, d8, d10, d12, and d20 dice with instant results and totals.