This set intersection calculator finds every element that two sets have in common, one of the fundamental operations in set theory that underpins logic, probability, database queries and everyday filtering, such as working out which customers appear on two separate lists. You enter the members of Set A and Set B as comma separated values, and the calculator instantly returns the intersection, written A intersect B, the elements belonging to both sets and nothing else. You also get two supporting figures: the size of the intersection, showing how many elements the sets actually share, and the total number of distinct elements across both sets combined, which puts that overlap in context. Matching works on exact values, so spelling, capitalisation and spacing need to line up between the two lists for an item to count as shared. If the two sets have nothing in common, the calculator correctly returns an empty set with a size of zero, a valid result rather than an error. The tool updates live as you type, so you can experiment with different lists, add or remove members, or paste in real data such as attendee lists, survey responses or database values to see what the two groups share. It is built for students, teachers and anyone working with sets, logic or data who needs a fast, accurate way to compare two lists.
The intersection A intersect B is the set of elements that belong to both A and B. If no element is shared, the intersection is the empty set.
For A = {1, 2, 3, 4} and B = {3, 4, 5, 6}, the intersection is {3, 4}, two elements, out of six distinct elements in total. Enter those sets to confirm.
The elements that are in both sets. {1,2,3} intersect {2,3,4} is {2,3}.
The intersection is the empty set, sometimes written with the symbol for nothing, and its size is zero.
Yes. Any comma separated values work; matching is by exact value.
This calculator is for students of set theory, logic, probability and databases.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland by SiteHost New Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-08-15 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.