Calculation·mathematics 26

PermutationCombination Calculator

Calculates the permutations and combinations of selecting r out of n different items.

Input

The example value has been entered. Check it immediately or change the value.

Integer · minimum 0 · maximum 200

Integer · minimum 0 · maximum 200

Run with Ctrl or ⌘ + Enter

Input is processed in the browser. Refreshing returns a sample value.

Result

Check or change the value using the example value result.

No duplicate selections allowed. Calculations are performed using BigInt integers.

Share result

Share the tool link and result text together. No URL is included in the result. Check the below content and then share it.

Calculation·conversion criteria

Compare permutations that distinguish from combinations that do not.

nPr=n!/(n−r)!, nCr=nPr/r!

Input example

2 out of 5 items: 20 permutations, 10 combinations

When choosing 2 out of 5 people, there are 10 combinations. If different roles are given to two people, the order matters, resulting in 20 permutations.

How to use

  1. Use the entered example value or change the total n or selected r items.
  2. Click Verify result and check the following result.
  3. Result can be copied if needed.

Frequently Asked Questions

Is duplicate combination of the same subject also calculated?

Does not calculate. This tool selects r items from n different sources without duplication, where r must be less than n. Selecting 0 items is calculated as one.

Calculation criteria and reference materials

The calculation formula and scope of this tool are disclosed in the above description. Examples can be checked by substituting input values into the formula or following the specified string and calendar handling rules.

Verification of calculation criteria: · Calculation·verification principles · Report errors