🔀 Permutation and Combination Calculator (nPr, nCr)

Count arrangements (order matters) and selections (order doesn’t) — exactly.

No ratings yet — be the first

Enter details

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Formula at a glance

nPr & nCr Calculator: Permutations — nPr = n! / (n − r)!. Example: Choose 3 from 10 → Permutations nPr: 720
How the nPr & nCr Calculator works: Permutations — nPr = n! / (n − r)!

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Permutation and Combination Calculator

Permutations count arrangements where order matters — race finishing positions, PIN codes, seating plans. Combinations count selections where order does not matter — lottery numbers, committees, pizza toppings. nPr = nCr × r!, because each selection can be arranged in r! ways.

Enter n and r and whether items can repeat. The calculator gives nPr and nCr exactly using big-number arithmetic (so 1000C500 shows all 300 digits), with the formulas and the counting rule behind each.

🧮 Formula

Permutations
nPr = n! / (n − r)!
Combinations
nCr = n! / (r!(n − r)!)
With repetition
nʳ (order matters), C(n + r − 1, r) (order doesn’t)

✏️ Worked examples

Choose 3 from 10

You enter
Total items n10
Items chosen r3
Repetition allowed?No
You get
Permutations nPr720
Combinations nCr120
Order matters?Permutations: yes (ABC ≠ CBA) · Combinations: no (ABC = CBA)
ChecknPr = nCr × r! (each group of 3 can be arranged in 3! ways)

nPr = 720, nCr = 120.

Lottery: 6 numbers from 49

You enter
Total items n49
Items chosen r6
Repetition allowed?No
You get
Permutations nPr10,068,347,520
Combinations nCr13,983,816
Order matters?Permutations: yes (ABC ≠ CBA) · Combinations: no (ABC = CBA)
ChecknPr = nCr × r! (each group of 6 can be arranged in 6! ways)

nCr = 13,983,816.

🧭 How to use this calculator

What you enter

  • Total items n
  • Items chosen r
  • Repetition allowed?

What you get

  • Permutations nPr
  • Combinations nCr
  • Order matters?
  • Check

❓ Frequently asked questions

What is the difference between permutation and combination?

Permutations count ordered arrangements (ABC ≠ BAC); combinations count unordered groups (ABC = BAC).

How many ways can I choose 6 numbers from 49?

49C6 = 13,983,816 — the odds of winning a 6/49 lottery jackpot with one ticket.

What is 0! and nC0?

0! = 1 by definition, so nC0 = nCn = 1 (there is one way to choose nothing or everything).