Skip to content
    Statistics

    nPr Formula: Permutations Explained Simply

    Eight runners, three medals. How many different podiums are possible? More than 300. Questions like this, where order matters, are permutations. In this guide you'll learn the nPr formula, a quick countdown shortcut, and how to tell nPr from nCr.

    Math Solver Academic Editorial Board4 min read

    Key takeaways

    • nPr = n! ÷ (n − r)! counts ordered arrangements of r items from n.
    • Shortcut: multiply r numbers counting down from n, for example 8P3 = 8 × 7 × 6.
    • Use nPr when order matters and nCr when it does not.
    • nPr = nCr × r!, and nPn = n!.
    In this guide
    1. 01What is a permutation?
    2. 02Why do permutations matter?
    3. 03The nPr formula
    4. 04How to calculate nPr step by step
    5. 05Common mistakes to avoid
    6. 06Tips and tricks
    7. 07Where you'll use it in real life
    8. 08Quick summary
    9. 09Worked example
    10. 10Frequently asked questions

    What is a permutation?

    Eight runners are in a race. How many ways can the gold, silver and bronze medals be given out? Winning gold is different from winning silver, so the order matters. Each different ordered result is a permutation.

    The notation nPr means the number of permutations of r items taken from n.

    Why do permutations matter?

    Whenever positions, ranks or sequences are involved, you need permutations. They tell you how many possible results there are, which is the first step in working out a probability or checking how secure a code is.

    Choosing a president, secretary and treasurer from 10 people gives 720 possibilities. Choosing a committee of 3 from the same 10 gives only 120. The difference is whether the roles matter.

    The nPr formula

    nPr = n! ÷ (n − r)!
    SymbolWhat it meansExample
    nTotal items available8 runners
    rHow many you arrange (0 to n)3 medals
    n!Factorial of n8! = 40,320
    (n − r)!Cancels the items not used5! = 120
    nPrNumber of ordered arrangements336

    An easier way to see it: nPr is the product of r numbers counting down from n. There are 8 choices for gold, then 7 left for silver, then 6 left for bronze: 8 × 7 × 6 = 336.

    How to calculate nPr step by step

    1. 1Write down n and r. Check that r is between 0 and n.
    2. 2Start at n and count down r numbers. For 5P2, that is 5 and 4.
    3. 3Multiply them. 5 × 4 = 20, so 5P2 = 20.
    4. 4Check with the full formula if you like. 5! ÷ 3! = 120 ÷ 6 = 20.

    Now enter your own n and r in the calculator below and check your answer.

    Try it yourself

    Pre-filled with the example — change any value.

    🧮
    Statistics
    High School

    Permutations (nPr)

    Count how many ways r items can be arranged from n when order matters

    nPr = n! / (n - r)!

    μ = 068.2% (±1σ)
    μ: 0 | σ: 1
    120
    120

    💡 Example

    Reference
    Inputs:n=5, r=2
    Result:20
    Open the full Permutations (nPr) calculator

    Common mistakes to avoid

    • Letting r be bigger than n. You cannot arrange 6 items out of 4.
    • Allowing repeats. nPr assumes each item is used at most once. A 4-digit PIN where digits can repeat has 10 × 10 × 10 × 10 = 10,000 options, not 10P4 = 5,040.
    • Counting down too far. 8P3 has exactly 3 factors: 8, 7 and 6. Stop there.

    Tips and tricks

    • nPn = n!. Arranging all n items is simply n factorial.
    • nP1 = n. Picking one item for one spot can be done n ways.
    • Quick size check. nPr is always at least as big as nCr, because each group can be ordered in r! ways.

    Where you'll use it in real life

    • Sport: podium results and league rankings.
    • Clubs and classes: choosing a president, secretary and treasurer.
    • Seating plans: the ways to seat 4 guests in 4 chairs is 4P4 = 24.
    • Probability: counting outcomes for the probability calculator.

    Quick summary

    Permutations count ordered arrangements: nPr = n! ÷ (n − r)!, or simply multiply r numbers counting down from n. If order does not matter, switch to nCr. Use the calculator above to find any nPr with every step shown.

    Worked example

    Eight runners enter a school race. Medals go to first, second and third place. How many different ways can the three medals be awarded?

    1. 01nPr = n! / (n - r)!
    2. 028P3 = 8! / 5!
    3. 038P3 = 8 × 7 × 6
    4. 048P3 = 336

    These numbers are pre-filled in the calculator above.

    Frequently asked questions

    What is the nPr formula?

    nPr = n! ÷ (n − r)!. It is the same as multiplying r numbers counting down from n, for example 8P3 = 8 × 7 × 6.

    What is the difference between permutation and combination?

    In a permutation the order matters, so ABC and CBA are different. In a combination the order does not matter, so they are the same group. nPr = nCr × r!.

    What is 10P3?

    10P3 = 10 × 9 × 8 = 720.

    What is nP0 and nPn?

    nP0 = 1, because there is one way to arrange nothing. nPn = n!, because you are arranging all n items.

    #Statistics#High School#Permutations (nPr)
    Updated

    Sponsored ToolsAd

    More tools on Ytools →
    Calcu.click — 25+ Free Smart Calculators preview

    Calcu.click — 25+ Free Smart Calculators

    Brand new calculation platform with 0ms reactive math, 100% client-side privacy, and dedicated subdomains. Fast calculators for EMI, SIP, Mortgage, Income Tax, BMI, Age, Percentage, and more.

    25+ CalculatorsFinanceHealth0ms Real-TimeFree
    Keyboard Arena preview

    Keyboard Arena

    Master touch typing with real-time WPM speed tests, mechanical switch audio, A-Z finger biomechanics drills, 40+ structured lessons, and competitive arcade games.

    Typing TestWPMTouch Typing
    Flutter Log Explorer preview

    Flutter Log Explorer

    Real-time structured log viewer and search explorer for Flutter & Dart. Zero-config capture from Debug Adapter (DAP) & Dart VM Service with smart classification and filters.

    FlutterDartVS Code ExtensionOpen VSX