Subset Calculator
Find the number of k-element subsets, all subsets, and proper subsets for a finite set.
About subsets and combinations
Subset examples
These examples compare fixed-size combinations with complete power sets.
| Set size and subset size | Counts | Interpretation |
|---|---|---|
| n = 5, k = 2 | C(5,2) = 10; total = 32 | Ten unordered pairs |
| n = 8, k = 3 | C(8,3) = 56; total = 256 | Fifty-six groups of three |
| n = 10, k = 0 | C(10,0) = 1; total = 1024 | The empty subset is unique |
How to count subsets
- Enter the number n of distinct elements in the original set.
- Enter k, the exact number of elements wanted in each selected subset.
- Select Calculate Subsets to evaluate C(n,k) and the full power-set count.
- Use the proper-subset total when the original set itself must be excluded.
Subset calculator FAQ
Does the empty set count as a subset?
Yes, the empty set is a subset of every set, including itself. That is why C(n,0) always equals one.
What is the difference between a subset and a proper subset?
A subset may equal the original set. A proper subset must omit at least one element, so there is one fewer proper subset than total subsets.
Why is the total number of subsets 2 to the power n?
Every one of the n elements can independently be included or excluded. Multiplying two choices n times gives 2 to the power n possibilities.
Does order matter when choosing a subset?
No, subsets are unordered collections. If order matters, the problem calls for permutations rather than combinations.
Can a subset contain repeated elements?
Not when the original collection is a mathematical set, because sets contain distinct elements. Problems allowing repetition use multiset combinations and require a different formula.