Power Set Generator

Generate the power set P(S) of any set with up to 6 elements. See all subsets organized by size, cardinality 2ⁿ, size distribution bars, and a complete subset listing.

Enter up to 6 unique elements separated by commas
Set S
{a, b, c}
3 elements
Cardinality |P(S)|
8
2^3 = 8
Number of Proper Subsets
7
All subsets except S itself
Number of Non-empty Subsets
7
All subsets except ∅
Singleton Subsets
3
One for each element: {a}, {b}, {c}
Duplicates Removed
None
Sets contain only unique elements

Subset Size Distribution

Size 0
C(3,0) = 1
Size 1
C(3,1) = 3
Size 2
C(3,2) = 3
Size 3
C(3,3) = 1

Subsets by Size

SizeCountSubsets
01
13{a}, {b}, {c}
23{a, b}, {a, c}, {b, c}
31{a, b, c}

Complete Power Set P(S)

{a}{b}{a, b}{c}{a, c}{b, c}{a, b, c}

Power Set Properties

|S||P(S)|Proper SubsetsNon-empty
0100
1211
2433
3877
4161515
5323131
6646363
Planning notes, formulas, and examples

About the Power Set Generator

The power set of a set S, written P(S) or 2^S, is the collection of all possible subsets of S — including the empty set ∅ and S itself. If S has n elements, its power set contains exactly 2ⁿ subsets. This fundamental concept in set theory and discrete mathematics underpins topics from combinatorics and probability to database theory and formal logic.

Understanding power sets helps build intuition for how quickly possibilities grow: even a modest set of 6 elements produces 64 subsets. In computer science, power sets are used to model state spaces, design test cases, and reason about access-control policies. In probability, every event in a sample space corresponds to an element of that space's power set.

This generator lets you enter up to 6 elements, then enumerates every subset, groups them by size, and shows how the binomial coefficients C(n, k) govern the count at each size. The distribution bars reveal the symmetric, bell-curved shape of binomial coefficients, and the properties table lets you compare power-set sizes for sets of different cardinalities. Use the presets to explore classic examples quickly, or type in your own elements to investigate a custom set.

When This Page Helps

Power Set Generator helps you solve power set generator problems quickly while keeping each step transparent. Instead of redoing long algebra by hand, you can enter Set elements (comma-separated, max 6) once and immediately inspect Set S, Cardinality |P(S)|, Number of Proper Subsets to validate your work.

How to Use the Inputs

  1. Enter Set elements (comma-separated, max 6) and the secondary parameters in the input fields.
  2. Select the mode, method, or precision options that match your power set generator problem.
  3. Read Set S first, then use Cardinality |P(S)| to confirm your setup is correct.
  4. Try a preset such as "{a, b}" to test a known case quickly.
Formula used
|P(S)| = 2ⁿ, where n = |S|. Number of subsets of size k = C(n, k) = n! / (k!(n−k)!).

Example Calculation

Result: Set S shown by the calculator

Using the preset "{a, b}", the calculator evaluates the power set generator setup, applies the selected algebra rules, and reports Set S with supporting checks so you can verify each transformation.

Tips & Best Practices

  • The power set always includes ∅ (size 0) and the original set (size n).
  • Duplicate elements are automatically removed — sets contain only unique items.
  • C(n, k) equals C(n, n−k), which is why the size distribution is symmetric.
  • The sum of all C(n, k) for k = 0 to n equals 2ⁿ (the total count of subsets).

How This Power Set Generator Works

This calculator takes Set elements (comma-separated, max 6) and applies the relevant power set generator relationships from your chosen method. It returns both final and intermediate values so you can audit the process instead of treating it as a black box.

Interpreting Results

Start with the primary output, then use Set S, Cardinality |P(S)|, Number of Proper Subsets, Number of Non-empty Subsets to confirm signs, magnitude, and internal consistency. If anything looks off, change one input and compare the updated outputs to isolate the issue quickly.

Study Strategy

Sources & Methodology

Last updated:

Frequently Asked Questions

  • The power set of S is the set of all possible subsets of S, including the empty set and S itself.