Permutation and Combination Calculator

Enter how many items there are (n) and how many you choose (r).

How it works

  1. Permutations

    When order matters: nPr = n! / (n − r)!.

  2. Combinations

    When order doesn't matter: nCr = n! / (r! (n − r)!).

  3. With repetition

    If items can be picked more than once, ordered choices number nʳ, and unordered ones number C(n + r − 1, r).

Common questions

How do I know which one to use?

Ask whether swapping two chosen items gives a different outcome. A podium finish is a permutation; a committee is a combination.

Why is nCr never larger than nPr?

Each combination can be arranged in r! orders, so nPr is nCr multiplied by r!.

More free calculators