Canonical: https://toolipedia.app/set-operations-calculator

# Set Operations Calculator

Enter two or three sets and see union, intersection, difference, symmetric difference, Cartesian product, power set and subsets of a chosen size, with counts.

Breadcrumbs: Toolipedia > Online calculators > Maths and school calculators > Set Operations Calculator

## About Set Operations Calculator

Type two or three sets, separated by commas, and get every standard operation at once: union, intersection, both differences, symmetric difference, subset and disjoint tests, the Cartesian product A × B and the power set of A. Choose a subset size k to list all combinations, such as the six 2-element subsets of {1, 2, 3, 4}. The counting identity |A ∪ B| = |A| + |B| − |A ∩ B| is checked with your numbers.

## How to use Set Operations Calculator
1. Type set A and set B with commas between the elements; set C is optional.
2. Choose k to list the subsets of A with exactly k elements.
3. Read the table of operations; long lists are shortened but the counts stay exact.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.

## Also known as
- set operations calculator
- union and intersection calculator
- cartesian product calculator
- power set calculator
- symmetric difference
- set difference calculator

## Frequently asked questions

### Does the order of elements matter?

No. Sets are unordered and duplicates count once, so {3, 1, 3, 2} is the same set as {1, 2, 3}. Results are shown sorted, numerically when every element is a number.

### How big can the power set be?

A set with n elements has 2ⁿ subsets. The page lists the power set for up to 10 elements (1,024 subsets) and gives only the count beyond that.

### What is the Cartesian product of two sets?

A × B is the set of all ordered pairs (a, b) with a in A and b in B. It has |A| × |B| pairs, so {1, 2} × {x, y} has 4 pairs.

### Is Set Operations Calculator free?

Yes. Set Operations Calculator on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

## Related tools

More free tools that go well with Set Operations Calculator:
- [Percentage difference calculator](https://toolipedia.app/percentage-difference-calculator)
- [Coordinate system converter](https://toolipedia.app/coordinate-system-converter)
- [Two circles calculator](https://toolipedia.app/two-circles-calculator)
- [Linear programming and operations research solver](https://toolipedia.app/linear-programming-and-operations-research-solver)
- [Statistical Power and Sample Size for Means](https://toolipedia.app/statistical-power-and-sample-size-for-means)
