Permutation Calculator — nPr (Ordered Arrangements)

Count ordered arrangements with nPr = n!/(n−r)!—podium orders, letter codes, and shuffles. Pair with the combination calculator when order does not matter.

10P3 = ?

10 × 9 × 8 = 720 (order matters)

nPr vs nCr?

nPr counts order; nCr ignores it — see comparison below

With repetition?

Use n^r mode when items can repeat (e.g. 10^3 PINs)

Loading calculator…
By Muhammad Abdullah Rauf · Founder, EverydayTools.proUpdated 2026-05-21

What is a permutation calculator?

A permutation calculator computes nPr—the number of ways to arrange r items from n when order matters—using nPr = n! ÷ (n−r)!, with exact integer results for modest n in your browser.

Permutations answer “how many ordered arrangements are possible?” If you line up 3 winners from 10 contestants, 10P3 counts every distinct podium order. If order did not matter, you would use combinations (nCr) instead.

The formula nPr = n! / (n−r)! builds the product r descending factors from n: 10P3 = 10×9×8 = 720. Factorials grow explosively, so this tool uses big integers and caps n at 500 for exact answers.

  • Order matters: ABC ≠ CBA in permutations.
  • 0 ≤ r ≤ n is required.
  • Calculations run locally; n and r are not uploaded to servers.

nPr = n×(n−1)×…×(n−r+1). When order does not matter, switch to nCr on the combination calculator.

Quick answers

Concise answers for common searches — definitions, steps, and comparisons.

What is 5P2?

5P2 = 5!/(5−2)! = 5×4 = 20 ordered arrangements.

Is the permutation calculator private?

Yes. All math runs locally in your browser; your inputs are not uploaded.

Permutation vs combination?

Permutations (nPr) count order. Combinations (nCr) count unordered groups—use the combination calculator when AB equals BA.

How to use Permutation Calculator — nPr (Ordered Arrangements)

  1. Enter n and r

    n is the pool size; r is how many positions you fill in order. Both must be whole numbers with 0 ≤ r ≤ n.

  2. Read nPr

    The tool shows nPr, the formula n!/(n−r)!, and factorial breakdowns for transparency.

  3. Use a preset

    Tap 5P2, 10P3, or 26P3 for common homework and password-length examples.

  4. Copy or share

    Copy the result line or share a link with your n and r encoded in the URL.

Permutation Calculator — nPr (Ordered Arrangements) examples

Podium order

Input

n = 10 contestants, r = 3 places

Output

10P3 = 720

10×9×8 = 720 distinct gold-silver-bronze orderings.

Three-letter codes without repeat

Input

n = 26 letters, r = 3

Output

26P3 = 17,576

First letter 26 choices, then 25, then 24.

Full shuffle

Input

n = 8, r = 8

Output

8P8 = 8! = 40,320

Every ordering of eight distinct items.

Who uses Permutation Calculator — nPr (Ordered Arrangements)?

Common real-world scenarios where this tool saves time.

Statistics and probability homework

Compute nPr for ordered samples in finite populations without manual factorial tables.

Contest and sports rankings

Count possible podium or heat orders when only the sequence matters.

Passwords and PIN patterns

Estimate ordered character choices without replacement (simplified model—real policies vary).

Workflow guides

Step-by-step chains that connect related tools for common tasks.

Check a statistics problem

  1. Confirm the problem says order matters (ranked list, sequence, PIN order).
  2. Enter n and r, compare nPr to your textbook table.
  3. If order does not matter, open the combination calculator for nCr.

Reference tables

Permutation vs combination quick reference

Pick the count that matches whether order matters.

QuestionFormula5 items, choose 2
Permutation (order matters)nPr = n!/(n−r)!5P2 = 20
Combination (order ignored)nCr = n!/(r!(n−r)!)5C2 = 10
With replacement (ordered)n^r5^2 = 25 (different model)

This page computes nPr only. Use Combination Calculator for nCr.

Common nPr values

Memorize-friendly anchors for quizzes.

NotationValueMeaning
5P220Two-place rankings from five
10P3720Three ordered picks from ten
26P317,576Three letters A–Z, no repeat
nPn = n!n!Full permutations of n items

Common mistakes to avoid

Using nCr when order matters

Podium finishes and permutations of letters require nPr. Use nCr only when order is irrelevant.

Allowing r > n

You cannot arrange more distinct positions than available items—ensure r ≤ n.

Advertisement

Frequently Asked Questions

What is nPr?

nPr counts ordered arrangements: nPr = n! / (n−r)!. Example: 5P2 = 5×4 = 20. Read as “n permute r.”

How do you calculate permutations?

Multiply r descending factors starting at n: nPr = n×(n−1)×…×(n−r+1). Equivalently compute n! and (n−r)! then divide.

What is the difference between permutation and combination?

Permutation cares about order (AB ≠ BA). Combination does not—nCr = nPr / r!. Use the combination calculator for unordered selections.

What is 10P3?

10P3 = 10×9×8 = 720. There are 720 ways to arrange 3 items chosen in order from 10.

What is 5P2?

5P2 = 5×4 = 20. Five choices for the first slot, four for the second.

Can nPr handle large numbers?

This tool uses exact big integers for n up to 500. Beyond that, factorials overflow practical display—use scientific notation approximations elsewhere.

How do I calculate permutations with repetition?

When each of r positions can be any of n items (repetition allowed), the count is n^r. Example: 10^3 = 1,000 three-digit PINs. Use the “With repetition” tab in this calculator.

Does repetition matter for standard nPr?

Standard nPr assumes each item is used at most once (without replacement). If slots can repeat, switch to n^r mode—answers are usually larger.

Are my inputs uploaded?

No. Calculations run entirely in your browser.

Privacy, accuracy, and trust

Privacy

n and r stay in your browser; permutation results are not uploaded to EverydayTools servers.

Accuracy

Uses exact bigint factorials for n ≤ 500. For probability coursework, confirm notation (nPr vs n^r with repetition) matches your problem statement.

More free tools for the same workflow.

Advertisement

Reviewed by EverydayTools Editorial Team on 2026-05-21.