Skip to main content

Numbers, Units & Calculators

Set Intersection Calculator

Calculate a result with Set Intersection 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 Set Intersection 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.

Set Intersection Calculator returns items shared by two sets.

It returns b. 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. Check exact item spelling.

Example

Input: a,b b,c

Settings: Set Intersection Calculator: Sample delimiter: newline; item delimiter: comma.

Result: It returns b.

Limits

  • Set Intersection Calculator: Delimiter characters split items.
  • Set Intersection Calculator: It treats input as text.
  • Set Intersection Calculator: Formatting differences can make items distinct.