Free · Combinatorics calculators 🔀

Compare Ordered & Unordered Selection Counts

Compare permutation counts with and without replacement, optionally show combination counts, and select a small-example list.

  • Formula & worked example
  • Private in your browser
  • No signup
Go to tool

Calculator inputs

Loading calculator…

How to use this calculator

  1. Enter the known values in the units shown. Results update as you type.
  2. Where results are editable, change one to solve backwards. Lock a value to hold it fixed.
  3. Use the worked example to check the method. Reset restores the starting fields.

Private by default

Inputs and results stay in this browser tab. Bookify does not upload or store the values you enter.

Formula and method

For n = 5 and r = 2: 20 ordered selections without replacement, 25 with replacement, 10 subsets and 15 multisets.

Ordered: n!/(n−r)! or n^r; unordered: C(n,r) or C(n+r−1,r)

Worked example

Enter these known values and leave the other values blank.

Available distinct types n
5
Selection size r
2
Show unordered counts
I also want to see combinations
Permutations
20
Permutations with repetitions
25
Combinations
10
Combinations repetitions
15

Assumptions and limitations

  • Inputs are integers. The retained upper bound is 10,000 for each input. A selection of zero objects has one outcome: the empty selection.
  • Distinct types are labeled A, B, C and so on in examples. Replacement permits repeated use of a type; ordering treats different position sequences as different outcomes.
  • Arithmetic uses 64 significant decimal digits. Large counts can be rounded, and scientific notation is approximate; this tool does not certify every digit of an arbitrarily large integer.
  • Counts are available beyond the small-example listing ranges. A list appears only where the complete enumeration fits the supported range.
  • At least one available type is required in replacement/combined modes. Without-replacement selections with r > n have zero outcomes in combined comparisons.

Common questions

Do order and replacement change the answer?

Yes. Order makes AB and BA different; replacement allows outcomes such as AA. Choose the model that matches both rules.

References

Bookify includes the valid empty-selection boundary while preserving the captured counting equations and enumeration ranges. Each count now controls its own numeric-display threshold. Each count now controls its own numeric-display threshold.

Explore combinatorics calculators 🔀 or browse all statistics calculators.