Home Math & Calculator Tools Permutation and Combination Calculator
🎲
Math & Calculator Tools

Permutation and Combination Calculator

Calculate nPr (permutations) and nCr (combinations) from n and r — with factorials shown and the full formula applied step by step.

⚡ Instant calculation 🔒 Private — runs in your browser 🚫 No login required 📋 Copy or download results
🎲 Permutation and Combination Calculator
🎲

Enter your figures and click Calculate to see your results.

📖How to Use the Permutation and Combination Calculator

  1. 1
    Enter your values

    Enter n (total items) and r (items chosen) — see both nPr and nCr with factorials and full formulas.

  2. 2
    Click Calculate

    Press the Calculate button. All results appear instantly — no page reload, no waiting.

  3. 3
    Read and use your results

    Results appear in the panel on the right with all key values clearly labelled. Use Copy to grab the result or Download to save a text file.

💡When to Use This Calculator

SituationWhy It Helps
Financial planning Make informed decisions
Business analysis Support data-driven choices
Personal finance Understand your numbers

Frequently Asked Questions

What is the difference between permutations and combinations?

Permutations count ordered arrangements — the order of selection matters. Combinations count unordered selections — the order does not matter. Choosing 2 letters from {A,B,C}: permutations = AB, BA, AC, CA, BC, CB (6 options); combinations = AB, AC, BC (3 options). Key question: does swapping two items give a different outcome?

What are the nPr and nCr formulas?

nPr = n! / (n−r)! — permutations of n items taken r at a time. nCr = n! / (r! × (n−r)!) — combinations. Relationship: nPr = nCr × r!, because each combination can be arranged in r! different orders. For n=10, r=3: 10P3 = 720 and 10C3 = 120.

What is a factorial?

n! (n factorial) is the product of all positive integers from 1 to n. 5! = 5×4×3×2×1 = 120. By definition 0! = 1. Factorials grow extremely rapidly: 20! ≈ 2.4×10¹⁸. They appear throughout combinatorics, probability, the binomial theorem and Taylor series.

When should I use permutations vs combinations?

Use permutations when order matters: PIN codes (1234 ≠ 4321), race podium placements, seating arrangements, password generation. Use combinations when order is irrelevant: choosing a committee, lottery numbers, card hands, selecting toppings on a pizza. Ask yourself: "Does changing the order give a different result?"

What is Pascal\ Triangle connection to combinations?

Every number in Pascal\ Triangle equals C(n,r) where n is the row and r is the position (both starting at 0). Row 4 reads: 1 4 6 4 1 = C(4,0) C(4,1) C(4,2) C(4,3) C(4,4). Pascal\ Triangle shows all combinations at a glance and directly gives the binomial expansion coefficients.