Symmetric Difference Calculator

Input Set (A)
Input Set (B)
Symmetric Difference Set A Δ B

What Is a Symmetric Difference Calculator?

The symmetric difference calculator computes the symmetric difference of two sets (A △ B), which is the union of the elements in A but not in B and the elements in B but not in A. For example, the symmetric difference of set A = {1, 2, 3, 4} and set B = {3, 4, 5, 6} is {1, 2, 5, 6}.

How to Use the Symmetric Difference Calculator?

  1. Enter the elements of the first set in the "Set A" input box, separating elements with commas, spaces, or Chinese commas.
  2. Enter the elements of the second set in the "Set B" input box.
  3. Click the "Calculate Symmetric Difference" button, or press Enter on your keyboard.
  4. The result is shown in the "Symmetric Difference (A △ B)" box.
  5. Click "Example" to generate random sample data, "Clear" to reset all inputs and results, or "Copy" to copy the result to the clipboard.

Usage Example

Input:

  • Set A: 1, 2, 3, 4
  • Set B: 3, 4, 5, 6

Result: symmetric difference (A △ B): 1, 2, 5, 6