Numbers, Units & Calculators
Cartesian Product Calculator
List every combination from two or more sets, such as sizes × colors. Enter one comma-separated set per line.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
The calculator pairs every item with every item in the other lists. Multiply list sizes to find the result count.
The result contains comma-separated tuples in parentheses. The rightmost list changes fastest.
- List every size, color, and material variant of a product before you create SKUs.
Combine two lists across an empty line
Input: {a,b} {1,2}
Settings: One set per line; comma-separated members.
Result: (a, 1) (a, 2) (b, 1) (b, 2)
The first list supplies a or b; the second supplies 1 or 2.
Separate sets and interpret tuple order
- Separate items with Item delimiter.
- Separate lists with Sample delimiter. The default requires a blank line.
- Run the calculation after checking every list boundary.
- Repeated items produce repeated tuples.
- Spaces remain part of an item.
- The parser does not interpret CSV quoting.