piko

Permutation and combination calculator

Calculate exact permutations nPr (order matters) and combinations nCr (order doesn't matter), with or without repetition.

Runs on your device. Nothing you add is uploaded.

Combinations C(10, 3)
120
Order does NOT matter
Permutations P(10, 3)
720
Order DOES matter
With repetition (order matters)
1,000
10^3
With repetition (order ignored)
220
C(12, 3)
Formulas: nPr = n! / (n − r)! and nCr = n! / (r! × (n − r)!).

How to use Permutation and combination calculator

  1. Enter total pool size n and items chosen r (0 ≤ r ≤ n).
  2. Decide whether order matters and whether a choice can repeat.
  3. Compare combinations (order ignored) and permutations (order matters), both without and with repetition.

Questions

Permutations count distinct orderings (AB ≠ BA, like a PIN or race podium), while combinations treat different orders of the same items as identical (AB = BA, like lottery tickets or a committee).

How this works

Computes exact BigInt nPr and nCr counts without floating-point overflow.

Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. What you typed and your settings are kept in this browser so the tool opens the way you left it, except passwords, keys and tokens, which are never saved. Privacy

Related tools

More in Calculators