Tool to generate lists of multiple choice combinations by combining a selection with one choice by option / category or by drawing a random choice.
Combination of Choices - dCode
Tag(s) : Combinatorics
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
A choice combination is a series of choices made from among several possibilities. When several options have several choices (multiple choices: numbers, letters, colors, or other choices), then it is possible to list all the combinations of choices offered.
Enter the choices on each line in the generator and click on generate button
Example: All clothes combinations among 3 colors and 5 sizes:
1st multiple choice, the color red, green, blue
2nd multiple choice, the size XS S M L XL:
red | XS |
red | S |
red | M |
red | L |
red | XL |
green | XS |
green | S |
green | M |
green | L |
green | XL |
blue | XS |
blue | S |
blue | M |
blue | L |
blue | XL |
The total number is equal to the multiplication of the number of each possible choices.
Example: A car that can have 5 choices of colors, 2 choices of engine and 2 choices of gearbox, will have $ 5 \times 2 \times 2 = 20 $ distinct possibilities
Example: A 3-digit padlock with 10 choices for the first digit, 10 choices for the second digit and 10 choices for the last digit will have $ 10 \times 10 \times 10 = 1000 $ possible combinations.
Filtering the results is a completely different operation which is not proposed here.
dCode offers a page dedicated to filtering number combinations.
For letter combinations to form words, dCode offers dedicated word search tools (like regular expression word search).
Combinatorial explosion is a phenomenon where the total number of possible combinations increases exponentially as the number of elements or options to be combined increases, often making the generation of these combinations impractical for large numbers of elements. To avoid this, limit the number of elements to choose from to reduce the complexity of the problem.
dCode retains ownership of the "Combination of Choices" source code. Any algorithm for the "Combination of Choices" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Combination of Choices" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Combination of Choices" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Combination of Choices" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Combination of Choices on dCode.fr [online website], retrieved on 2025-04-16,