Permutation and Combination Tool

Explore permutations and combinations using the number of available items, selection size, and repetition rules. Compare four counting methods, inspect logarithmic visualisations, examine nearby selection sizes, and export results in multiple formats directly from your browser.

Calculation settings
Total distinct items
Number of selection positions
Choose 3 items from 10, without regard to order.
Results
Combinations
120
10 choose 3
FormulaC(n,r) = n! / [r!(n−r)!]
Log₁₀ of result2.07918
Compare counting methods

Same n and r, under each counting rule. Bars show log₁₀(count + 1) so very large counts remain comparable.

MethodCountLog₁₀(count)
Explore nearby selection sizes

Select a row to set r and recalculate. The highlighted row matches the current result.

rCountRelative scale
Example arrangements

Representative selections, labelled A, B, C…

Formula and interpretation

Table of Contents

  1. How Permutation and Combination Tool Works?
  2. Practical Use Cases
  3. Accuracy and Limitations
  4. Frequently Asked Questions (FAQs)
  5. Cite This tool

Highlights

  • Four counting modes covering permutations, combinations and repetition
  • Exact integers for supported sizes and scientific notation for large counts
  • Side-by-side comparison chart with logarithmic scaling
  • Interactive table for exploring nearby selection sizes
  • Export results as CSV, JSON, TXT or SVG

How Permutation and Combination Tool Works?

Counting depends on whether the order of chosen items matters and whether an item can be selected more than once. Enter n, the number of distinct items available, and r, the number selected. Permutations count ordered arrangements; combinations count unordered selections.


Counting ruleWhen to use itFormula
Permutation, no repetitionOrder matters; each item appears at most oncen!/(n−r)!
Permutation, repetitionOrder matters; items may recurnr
Combination, no repetitionOrder does not matter; each item appears at most oncen!/[r!(n−r)!]
Combination, repetitionOrder does not matter; items may recur(n+r−1)!/[r!(n−1)!]

Here, factorial means multiplying all positive whole numbers up to that number, with 0! = 1. For example, selecting three different items from ten without regard to order gives:

C(10,3)=10!3!7!=120

The result is shown as a count, alongside its formula and base-10 logarithm. A comparison table and logarithmically scaled bar chart show all four counting rules for the same n and r. Select a row in the nearby-size table to explore a different r. Representative letter-labelled outcomes appear for small inputs. Exact, automatic and scientific display options are available, along with CSV, JSON, TXT and SVG exports.

Practical Use Cases

Students: Compare ordered arrangements and unordered selections to see why the same values of n and r produce different counts.

Event organisers: Count possible prize rankings when winners must be distinct, or form groups when their internal order is unimportant.

Product planners: Count configurable selections when customers can choose several options, including cases where repeated choices are permitted.

Software testers: Estimate the number of sequences or selections in a test scenario and compare the impact of allowing repeated values.

Teachers: Use the comparison chart, nearby selection-size table and small letter-labelled examples to demonstrate combinatorial growth.

Accuracy and Limitations

Inputs must be whole numbers from 0 to 100,000, with r ≤ n when repetition is not allowed; selecting a positive number of items from n = 0 is invalid. Counts are computed exactly using integer arithmetic only when n ≤ 2,000, r ≤ 2,000 and the estimated result is within 7,000 decimal digits. Larger cases use logarithmic approximations, so an exact integer may not be available even when that notation is selected. The logarithm is reported to five decimal places, and chart bars use log10(count + 1), not the raw count. Letter-labelled examples are limited to n ≤ 26 and r ≤ 8 and are illustrative rather than exhaustive.

Frequently Asked Questions

Permutations count arrangements where order matters. Combinations count selections where order does not matter.

Yes, when repetition is allowed. Without repetition, each distinct item can be chosen at most once.

There is exactly one way to choose nothing: the empty selection.

Each unordered selection of r distinct items can usually be arranged in r! different orders.

Without repetition, such a selection is impossible. With repetition, selections are possible if at least one item is available.

Cite This tool