Free Power Set Calculator

S{a, b, c}2ⁿ subsets

Enter elements of your set to see its power set.

Understanding Power Sets and Subsets

A power set is the complete collection of all possible subsets of a given set—from the empty set up to the original set itself. This idea lies at the heart of set theory and combinatorics. With a free power set calculator or a subset calculator online, you can quickly find both the total number of subsets and the composition of each subset without manually enumerating them.

Sets and Subsets: Basic Definitions

In mathematics, a set is a well‑defined collection of distinct objects (numbers, symbols, elements). A subset AA of a set BB is any set whose members all belong to BB. Notation: A⊆BA \subseteq B allows the possibility that A=BA = B, while A⊂BA \subset B is often used to indicate a proper subset (strict inclusion). Every non‑empty set BB has two improper subsets: the empty set ∅\emptyset and BB itself. All other subsets are called proper subsets.

Formal Power Set Definition

The power set of a set BB, commonly denoted by P(B)\mathcal{P}(B) or 2B2^B, is the set of all subsets of BB. For example, if B={a,b}B = \{a, b\}, then

P(B)={∅, {a}, {b}, {a,b}}.\mathcal{P}(B) = \{\emptyset,\ \{a\},\ \{b\},\ \{a,b\}\}.

Key properties of a power set:

  • It is uniquely determined for a given set.
  • It contains both improper and proper subsets.
  • The power set of the empty set is {∅}\{\emptyset\} (a set that is not empty).
  • The cardinality (number of subsets) of a power set is strictly greater than the cardinality of the original set.

Calculating the Number of Subsets

The cardinality of a power set (the number of subsets) is given by 2n2^n, where nn is the number of elements in the underlying set. This formula arises because each element can either be included in or excluded from a subset, giving 2 choices per element. Multiplying these independent choices yields 2×2×⋯×2=2n2 \times 2 \times \cdots \times 2 = 2^n. For instance, a set with 4 elements produces 24=162^4 = 16 subsets. A number of subsets calculator applies this formula instantly.

When you need only subsets of a specific size kk, the count is the binomial coefficient:

(nk)=n!k!(n−k)!\binom{n}{k} = \frac{n!}{k!(n-k)!}

Here n!n! denotes factorial. This value equals the number of combinations of kk elements chosen from an nn-element set. Many subset calculators also offer a breakdown of subsets by their size.

Practical Example: Pizza Topping Combinations

Suppose you have four possible pizza toppings: cheese (C), mushrooms (M), ham (H), and peppers (P). The full set of toppings is {C,M,H,P}\{C, M, H, P\}. The power set includes every possible combination of toppings:

  • 1 pizza with no toppings (plain dough and sauce): {}\{\}
  • 4 single‑topping pizzas: {C},{M},{H},{P}\{C\},\{M\},\{H\},\{P\}
  • 6 two‑topping pizzas: {C,M},{C,H},{C,P},{M,H},{M,P},{H,P}\{C,M\},\{C,H\},\{C,P\},\{M,H\},\{M,P\},\{H,P\}
  • 4 three‑topping pizzas: {C,M,H},{C,M,P},{C,H,P},{M,H,P}\{C,M,H\},\{C,M,P\},\{C,H,P\},\{M,H,P\}
  • 1 four‑topping pizza: {C,M,H,P}\{C,M,H,P\}

Total: 24=162^4 = 16 different pizzas. This real‑world scenario shows how a power set online tool can help solve everyday counting problems.

Beyond Finite Sets

For infinite sets, the cardinality of the power set is strictly larger than that of the original set. This fact creates an endless hierarchy of infinities (different cardinalities). For example, the set of real numbers has a larger cardinality than the set of integers, and its power set is larger still. While a free power set calculator typically handles finite input, the underlying theory extends to infinite collections as well.

Using a Free Power Set Calculator

To use a power set calculator such as the one at Toolead, simply enter the elements of your set (separated by commas or line breaks). The tool automatically computes the total number of subsets, the cardinality of the power set, and often displays a list of all subsets grouped by their size. This eliminates manual work, reduces errors, and makes it an ideal aid for students, teachers, and professionals working with combinatorics or set theory.

FAQ

1. How do I calculate the number of subsets in a set?

The total number of subsets is 2^n, where n is the number of elements in the set. Each element can be either present or absent, giving 2 choices per element, so the result is 2 multiplied by itself n times.

2. What is the formula for the cardinality of a power set?

The cardinality (number of subsets) of a power set is 2^n, with n being the cardinality of the original set. This comes from the binary decision for each element: include or exclude.

3. What is the power set of the empty set?

The power set of the empty set is {∅}, a set that contains exactly one element: the empty set itself. It is not empty because it has one member.

4. Can I use a power set calculator to list all subsets?

Yes. A free power set calculator online can automatically list all subsets of a set, often grouped by the number of elements in each subset. You just need to input the elements, and the tool does the rest.

How to Use

  1. Enter set elements - Type each element of your set in the input fields. Use Add Element to add more elements, up to 10.
  2. View the power set - The calculator automatically generates the power set and shows the total number of subsets using |P(S)| = 2^n.
  3. Browse subsets by size - Subsets are grouped by cardinality, from the empty set up to the full set, showing how many subsets of each size exist.