Skip to main content
Z Math

Set Operations — Union, Intersection & Difference

Union, intersection, difference, symmetric difference plus subset/superset checks. Duplicates removed automatically.

Free No signup Client-side Privacy friendly Updated
A ⊆ B: A ⊇ B: Disjoint:

How to use

  1. 1 Enter the elements of set A and set B, separated by commas.
  2. 2 Union, intersection, differences and symmetric difference appear instantly.
  3. 3 Subset, superset and disjoint relationships are checked too.

Why use this tool

  • All the common set operations and relations in one view.
  • Duplicate elements are removed automatically.
  • Runs entirely in your browser.

Frequently asked questions

What is the union of two sets?

A ∪ B contains every element that is in A, in B, or in both.

What is the intersection?

A ∩ B contains only the elements that are in both A and B.

What is the symmetric difference?

A △ B contains elements in exactly one of the sets — in A or B but not both.

What does “disjoint” mean?

Two sets are disjoint when they share no elements — their intersection is the empty set.

What is Set Operations Calculator?

A set operations calculator computes the union, intersection, difference and symmetric difference of two sets and checks subset, superset and disjoint relationships.

Features

Four set operations

Union (A ∪ B), intersection (A ∩ B), difference (A − B), and symmetric difference.

Auto de-duplication

Repeated elements are treated as a single set member, per set semantics.

Free & private

Runs on your device — nothing is uploaded.

Example

Input

A = {1, 2, 3}, B = {2, 3, 4}

Output

union = {1, 2, 3, 4} · intersection = {2, 3}

Common use cases

  1. 1

    Compare two lists

    Find shared items (intersection) or what's unique to one list (difference).

  2. 2

    Merge & dedupe

    Combine two lists into a distinct union.

  3. 3

    Study set theory

    Verify union, intersection, and symmetric-difference results.

Summary

Zerethon's set operations calculator computes the union, intersection, difference, and symmetric difference of two sets in your browser, de-duplicating elements automatically. Everything runs client-side — nothing is uploaded.

Category
Math
Pricing
Free
Privacy
Browser-based
Signup
Not required

References

Privacy

Your data never leaves your browser unless explicitly stated. Set Operations Calculator runs entirely client-side — no server upload, no logging, no tracking of your input.

Build, share, and grow on Zerethon Social

Free signup. Earn points, collect achievements, and connect with creators worldwide.

Try Zerethon free