Permutation Calculator (nPr) — P(n,r) = n! / (n-r)!

The Permutation Calculator computes P(n,r) — the number of ordered arrangements of r items chosen from n items. Uses exact BigInt arithmetic for precise results on large values. Shows the expanding product n x (n-1) x ... x (n-r+1), the step-by-step factorial cancellation, a side-by-side comparison ...

P(n, r) = ?

ARRANGE r ITEMS FROM n ITEMS (ORDER MATTERS)

P(

n (total)

,

r (arrange)

)

P(10, 3) = ORDERED ARRANGEMENTS

720

= 10! / 7! = 10 × 9 × 8

Permutations P(10,3)

720

order matters — this result

Combinations C(10,3)

120

order ignored

Ratio P / C = r!

6

3! arrangements per group

Probability (1/nPr)

0.00138889

of one specific arrangement

STEP-BY-STEP

1

n = 10, r = 3

2

P(n,r) = n! / (n−r)!

3

P(10,3) = 10! / 7!

4

= 10 × 9 × 8 = 720

5

Comparison: C(10,3) = 120

6

P(10,3) / C(10,3) = 6 = 3!

P(n,0) = 11
P(n,1) = n10
P(n,n) = n!3,628,800
P(n,2)90

QUICK EXAMPLES

ARRANGEMENT DIAGRAM

Choices available for each position slot

10slot 19slot 28slot 3××Choices for each positionP(10,3) = 720 arrangements10 × 9 × ... (no repeats)

PERMUTATION vs COMBINATION

PropertyPermutation P(n,r)Combination C(n,r)
Order mattersYesNo
Formulan!/(n-r)!n!/(r!(n-r)!)
Result720120
Ratio P/C3! = 61
Use caseRankings, codes, orderGroups, teams, selection

WHAT THIS MEANS

There are 720 ways to arrange 3 items chosen from 10 in order.

Created with❤️byeaglecalculator.com

FORMULAS

PERMUTATION & COMBINATION FORMULAS
NAMEFORMULADESCRIPTION
Permutation nPrP(n,r) = n! / (n-r)!Ordered arrangements of r items from n
Expanded productP(n,r) = n x (n-1) x ... x (n-r+1)Multiply r consecutive integers down from n
Combination nCrC(n,r) = n! / (r! x (n-r)!)Unordered selections — order does not matter
RelationshipP(n,r) = C(n,r) x r!Permutations = combinations x arrangements of r chosen items
Special P(n,n)P(n,n) = n!All n items arranged: factorial of n
Special P(n,0)P(n,0) = 1Arranging zero items has exactly one way
Special P(n,1)P(n,1) = nArranging one item has n choices
Probabilityp = 1 / P(n,r)Probability of guessing one specific arrangement

HOW TO USE

  1. 1

    Enter n — the total number of items. For example, n=26 for the alphabet or n=52 for a deck of cards.

  2. 2

    Enter r — how many items you are arranging. Order matters: ABC and BAC are two different permutations.

  3. 3

    P(n,r) appears instantly as an exact integer. The arrangement diagram shows the number of choices for each position slot.

  4. 4

    Compare with C(n,r) in the results — permutations always equal or exceed combinations. The ratio P(n,r)/C(n,r) = r!, the number of ways to arrange the chosen items.

  5. 5

    Check special cases: P(n,0)=1 (one way to arrange nothing), P(n,1)=n, P(n,n)=n! (all items in every order).

WORKED EXAMPLE

P(10,3): n=10, r=3. P(10,3)=10!/7!=10x9x8=720. C(10,3)=120. Ratio 720/120=6=3!. Probability=1/720=0.00139. P(52,3)=52x51x50=132,600 ordered 3-card hands. P(5,5)=5!=120 (all 5 items). P(26,4)=26x25x24x23=358,800 letter codes.

FREQUENTLY ASKED QUESTIONS

RELATED CALCULATORS

MORE STATISTICS CALCULATORS

Was this calculator helpful?

Last updated: April 29, 2026 · Formula verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.