Skip to main content

Numbers, Units & Calculators

Symmetric Difference Calculator

Calculate a result with Symmetric Difference from the values you enter. Enter the required values, adjust the options, and review the calculated result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Options

Your result appears here

Calculate a result with Symmetric Difference from the values you enter. Enter the required values, adjust the options, and review the calculated result.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

Symmetric Difference Calculator returns items present in exactly one of two sets.

It returns a and c. The calculation runs in your browser. Processing runs in the browser.

Instructions

  1. Provide values for this tool.
  2. Enter two samples.
  3. Set sample and item delimiters.
  4. Review exact item matching.

Example

Input: a,b b,c

Settings: Symmetric Difference Calculator: Sample delimiter: newline; item delimiter: comma.

Result: It returns a and c.

Limits

  • Symmetric Difference Calculator: Delimiter characters split items.
  • Symmetric Difference Calculator: It treats input as text.
  • Symmetric Difference Calculator: Items present in both sets are omitted.