Combinations and permutations

Whole numbers: 0 ≤ r ≤ n ≤ 1000. A factorial needs only n.

Decide whether order matters

A combination counts selections without order; a permutation counts ordered selections. Both choose r items from n without replacement. Factorial multiplies the positive integers through n, with 0! defined as 1.

Use whole numbers with 0≤r≤n≤1000. Standard is the initial arithmetic; Exact fractions can preserve exact integer products within the existing bit limits. The steps record the route actually used rather than reusing a rounded result.

Worked example: choose 3 items from 10

The ordered count is 10×9×8=720. Each unordered selection has 3×2×1=6 arrangements, so the number of combinations is 720/6=120.

For n=5 and r=2, combinations gives 10 while permutations gives 20. Choose Factorial and n=0 for 1.

Load example fills the form without calculating. Choose its primary action to work it out.

Sources and related calculators

The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.