Permutations and Combinations Calculator (nPr & nCr)

Count ordered assignments and unordered selections from distinct items without replacement. Compare nPr and nCr as exact integers.

Example: 1,250.50. Use a period for decimals.

Result

Enter values and select Calculate.

How is this calculated?

Count ordered assignments first. Divide by the number of ways to order each selected set to count unordered selections.

Worked example: Choose two people from six

There are 15 two-person committees. If the two people serve in distinct roles, there are 30 assignments because the same pair can swap roles.

Method and limits

The same item cannot appear twice. Choosing nothing has one outcome. Inputs are capped at 2000 to keep the browser responsive.

How to use this calculator

  1. Enter the number of distinct choices and how many you will select.
  2. Use permutations when changing order changes the outcome. Use combinations when only membership matters.

Assign roles or choose a pair

With six volunteers, there are 6 × 5 = 30 ways to fill two distinct roles. To count committees of two without roles, divide by 2 because each pair was counted twice. That gives 15 committees.

Make the counting decision first

A two-person panel has no first or second role, so swapping its members does not create another panel. A chair and recorder assignment is different when the people swap roles.

Read the formulas

For n distinct items and r selections, nPr = n! ÷ (n−r)!. The same r items can be rearranged r! ways, so nCr = nPr ÷ r!.

Count selections, not probabilities

These formulas count possibilities. To turn favorable counts into a probability, the possible outcomes must also have equal likelihood. This tool does not assign weights.

Frequently asked questions

Does order matter for choosing all items?
There is one unordered set, but potentially many ways to order it. Selecting all four items has 24 orders and one set.
What if I select zero items?
There is one empty selection, so both counts are 1.
Can an item repeat?
No. The calculation assumes distinct items selected without replacement.
Why are some results very long?
Combinatorial counts grow quickly. Results are exact integers, not scientific approximations.

Common mistakes and limits

Sources & methodology

Related calculators