What Is the nPr Formula?
A permutation is an ordered selection. The nPr formula gives the number of ways to pick and arrange items from distinct items, where rearranging the chosen items counts as a new result.
Symbol | Meaning | Notes |
|---|---|---|
Total number of distinct objects available | A positive integer | |
Number of objects selected and arranged | ||
factorial — the product , a shrinking sequence of factors | by definition | |
Number of ordered arrangements | Also written or |
The condition that the objects are distinct matters — the formula assumes no repeats among the items, and that an item, once placed, is not used again. Permutations are the ordered half of combinatorics; the unordered half is counted by nCr, the combination formula.
How Is the nPr Formula Derived?
The derivation comes straight from the fundamental counting principle: if one choice has options and the next has , the two together have outcomes. Filling ordered positions from objects works the same way.
The first position can be filled ways.
The second position then has objects left.
The third has , and so on.
The -th (last) position has objects left.
Multiply the choices:
That product is the top of a factorial cut short after terms. To write it cleanly, multiply and divide by :
The in the denominator is exactly the part of you do not use — the objects you never placed. That is the whole formula, and it is why : arranging all objects uses every factor.
Examples of the nPr Formula
Example 1
Evaluate .
Final answer: .
Example 2
How many 3-letter arrangements can be made from the letters of the word MATH (no repeats)?
Wrong attempt. A student thinks "choose 3 letters from 4" and computes using the combination formula. Check it against a small case: from M, A, T the arrangements MAT and TAM are clearly different words, yet the combination count treats them as one. Order matters here, so a combination undercounts.
Correct. Use the permutation formula:
Final answer: arrangements.
Example 3
In how many ways can 8 runners finish 1st, 2nd, and 3rd in a race?
Three ordered positions from eight runners:
Final answer: ways.
Example 4
How many ways can 6 books be arranged on a shelf?
All six are arranged, so :
Final answer: .
Example 5
How many 4-digit numbers can be formed from the digits 1–9 with no digit repeated?
Nine distinct digits, four ordered positions:
Final answer: .
Example 6
Five people sit in a row of five seats, but two specific friends must sit at the two ends. How many arrangements are possible?
Fix the two friends at the ends: they can swap, giving ways. The remaining three people fill the three middle seats in ways. By the counting principle, total .
Final answer: arrangements.
Why Permutations Matter — From Passwords to PIN Pads
Counting ordered arrangements was forced into existence by problems where sequence is the answer, not a detail.
Security. The number of possible PINs, passwords, and lock combinations is a permutation count — a 4-digit PIN with no repeats has possibilities, which is exactly why short codes are weak.
Scheduling and rankings. Seating charts, tournament brackets, race results, playlist orders — anything where "who is first" changes the outcome — is permutation territory.
Genetics and biology. The order of bases along a DNA strand is a permutation problem; sequence determines the gene.
Cryptography. Modern ciphers rest on how astronomically many ways symbols can be ordered, so that guessing the right order is infeasible.
The destination, in a later probability chapter, is computing the odds of a specific arrangement: once you can count the arrangements, the probability of any one of them is one divided by that count. Counting cleanly is also what makes other reference formulas tractable — the same factorial machinery sits inside the sum of arithmetic sequence formula when you count terms before adding them.
Tripping Points to Avoid
Mistake 1: Using nPr when order does not matter
Where it slips in: Problems about committees, teams, handshakes, or lottery picks — where rearranging the chosen people changes nothing.
Don't do this: Apply to "choose 3 students for a committee from 10." A committee of {A, B, C} is the same committee as {C, B, A}.
The correct way: When order is irrelevant, use the combination formula .
Mistake 2: Mishandling
Where it slips in: Cases where , so the denominator is .
Don't do this: Treat as , which would make undefined.
The correct way: by definition. So , which matches the count of arranging all objects.
Mistake 3: Forgetting the "distinct objects, no repetition" assumption
Where it slips in: Words with repeated letters (like BALLOON) or problems allowing repeats.
Don't do this: Apply plain to arrange the letters of a word with duplicates.
The correct way: When items repeat, divide by the factorial of each repeat count, or use the with-repetition rule when repeats are allowed. The bare nPr formula assumes all items are different and none is reused.
Mistake 4: Subtracting in the wrong place
Where it slips in: Plugging into in a hurry.
Don't do this: Compute or by misremembering which factorial sits where.
The correct way: The bigger factorial is on top; the denominator is .
Conclusion
The nPr formula counts ordered arrangements of from distinct objects: .
It is derived from the counting principle: choices for the first place, for the second, down to for the last.
Use nPr when order matters and nCr when it does not — swapping two chosen items being a new result is the test.
The most common mistake is using nPr for an unordered selection like a committee.
Permutations underpin passwords, schedules, rankings, and the probability of a specific arrangement.
Practice These Three Before Moving On
Evaluate .
How many ways can 5 students be seated in 3 chairs?
How many 5-letter arrangements use the distinct letters of PRIME?
Answer to Question 1: . Solve Questions 2 and 3 with ; if you are unsure whether order matters, return to Mistake 1.
Want a live Bhanzu trainer to walk your child through more nPr formula problems? Book a free demo class — online globally.
Was this article helpful?
Your feedback helps us write better content
