Skip to main content

Numbers, Units & Calculators

Power Set Calculator

List every subset of up to 13 items, including the empty set. A set of n items gives 2ⁿ subsets, one per line.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

Run the tool when your input is ready.

Use commas between distinct items. Outer braces are optional.

Your result appears here

List every subset of up to 13 items, including the empty set. A set of n items gives 2ⁿ subsets, one per line.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

For n input items, the enumeration contains 2ⁿ subsets, including the empty subset.

The result lists subsets on separate lines. A blank first line represents the empty subset.

  • List every combination of optional features, such as feature flags to test together.

Sources: Python documentation: powerset recipe in itertools

List the subsets of a,b

Input: {a,b}

Settings: Comma-separated members.

Result: {} {a} {b} {a, b}

Separate items and interpret the empty subset

  1. Enter items with the selected Item delimiter.
  2. Remove duplicate items when you need a mathematical set.
  3. Run the calculation and inspect the subset list.
  • Spaces remain part of each item.
  • The output orders by text length, not subset size.
  • Empty input returns empty output.