Calculatorism

Permutation & Combination Calculator

Compute the number of permutations (nPr) and combinations (nCr) of r items from n.

Input Data

非負整數。
非負整數,r ≤ n。

Results

720
120
n=10, r=3

At a glance:nPr counts ordered selections of r from n; nCr counts unordered ones. Relation: nCr = nPr / r!.

Formula

nPr = n! / (n−r)!.

nCr = n! / (r!(n−r)!).

How to Use

  1. Enter n and r (r ≤ n).
  2. Read permutations and combinations.

FAQ

Permutation vs combination?

Permutations count order (AB ≠ BA); combinations treat them as the same group.

What if r > n?

You cannot choose r from n; the result is 0, and the tool will say so.

Related Tools

References

Content review: Calculatorism Science Team. Results are for reference only.

Found a problem with the results?

If this calculator's result is wrong, or you have any question about the calculation logic, please let us know. You are viewing:Permutation & Combination Calculator/math/permutation-combination)。