RandomNr

Advanced and Statistical

Random Combination Generator

Generate random number combinations, or every possible combination from a range. Choose whether order matters and export the lot.

Combination Generator

2-5-9

Choose 3 from 10

Choose from

Order does not matter, results are shown sorted

Output

Generate number combinations

This tool draws random combinations, selections where the order does not matter. Set the pool as 1 to N and how many to choose, r, and generate several random combinations or list every possible one when the numbers are small. Each combination is shown sorted so duplicates are easy to spot.

Combinations versus permutations

A combination cares only about which items are chosen, not their order, so choosing 1, 2 and 3 is one combination however you arrange it. That is the difference from a permutation, where order matters. If order is what you need, the permutation generator is the tool.

Random draws or the full list

Draw a handful of random combinations for a quick pick, or tick list every one to enumerate the whole set when n and r are small. Enumeration is capped at the first 2000 to keep things fast. Copy or export whatever you generate.

Popular generators

Frequently asked questions

What is a combination

A selection where order does not matter, so 1-2-3 and 3-2-1 count as the same combination. The tool shows them sorted.

Random draws or every combination

Draw a set of random combinations, or tick list every one to enumerate them all when n and r are small enough.

What is the limit for listing all

Enumeration is capped at the first 2000 to keep the page responsive. Beyond that, use random draws instead.

Can I choose r from any n

Yes. Set N for the pool and r for how many to choose, with r never larger than N.

Is it free

Yes, free and with no sign up.

Related generators

When order matters, use the permutation generator. For a plain unique draw, see the no repeats generator.