ΣCalcSolver
Statistics & probability

Permutation & Combination Calculator

Enter how many items you have and how many you are choosing, and get the number of possible orders and the number of possible groups. The tool also gives the counts when repeats are allowed.

Loading the solver…

Quick start

  1. Enter n, the total number of items.
  2. Enter r, how many you choose.
  3. Read nPr, nCr and the versions with repetition.

Does order matter?

That one question decides which formula you need. Picking a president, secretary and treasurer from a club is a permutation, because each role is different. Picking a three-person committee is a combination, because the group is the same whichever order you name them in.

The formulas

CountFormulan = 10, r = 3
Permutations, nPrn! ÷ (n − r)!720
Combinations, nCrn! ÷ (r!(n − r)!)120
Ordered, with repetitionnʳ1,000
Unordered, with repetition(n + r − 1)! ÷ (r!(n − 1)!)220

Examples

Common questions

What is a factorial?

n! multiplies every whole number from n down to 1. 5! = 120, and 0! is defined as 1.

Why is nCr smaller than nPr?

Each group of r items can be arranged in r! orders. Combinations count each group once.

What if r is bigger than n?

Without repetition there are no ways to choose, so the result is 0.