Calculator Need
Categories

Math Calculators

Permutations & Combinations Calculator

Permutations nPr and combinations nCr from n and r, with the factorial working shown step by step. Free, instant, no sign-up.

Permutations count order (arrangements); combinations do not. nPr = n! ÷ (n−r)! and nCr = n! ÷ (r! × (n−r)!). Results use exact integer arithmetic up to n = 170.

How to use the permutations & combinations calculator

  1. Enter n, the total number of items, and r, how many are chosen.
  2. Press “Calculate”.
  3. Read both the permutation and combination counts.

Permutations & combinations calculation example

Choosing 3 people from 10:

  • If order matters (president, secretary, treasurer): 10P3 = 10 × 9 × 8 = 720.
  • If order does not matter (a committee of 3): 10C3 = 720 ÷ 3! = 120.

Quick check

  • Does swapping two chosen items give a different result? Then use permutations; otherwise combinations.
  • Lottery tickets, card hands and team selections are combinations; PINs and race finishing orders are permutations.

Permutations & combinations calculator: common questions

When do I use permutations instead of combinations?
Use permutations when order matters, such as ranking first, second and third. Use combinations when order does not matter, such as picking a team.
Why is nCr smaller than nPr?
Each combination can be arranged in r! orders, so nPr = nCr × r!.
Is my data stored?
No. The calculation runs in your browser.
What if repetition is allowed?
With repetition, permutations become nr (a 4-digit PIN has 104 = 10,000 options).