← All Docs

CIDR Overlap Checker

Compare two lists of IPv4 or IPv6 CIDR blocks: find equal and nested blocks, then get the intersection, both differences, and the union as minimal CIDRs.

Try CIDR Overlap Checker →

What Does the CIDR Overlap Checker Do?

The CIDR Overlap Checker compares two lists of networks, A and B. A relationship table shows every pair of blocks that are equal or nested (A contains B, or B contains A). Below it, four set operations are computed as minimal CIDR lists: A AND B (addresses in both), A minus B, B minus A, and A OR B (the union).

A separate check answers one question quickly: is this address or block fully inside list A, partly inside it, or not at all?

How Do I Compare Two Lists?

  1. Open IP Tools > CIDR Toolkit from the top menu and choose the Overlap tab.
  2. Paste the first set of networks into List A, for example a firewall allow list.
  3. Paste the second set into List B, for example the subnets a VPN pushes.
  4. Press Compare, or Ctrl+Enter inside either box.
  5. Review the relationship table, then the A AND B, A minus B, B minus A, and A OR B lists.
  6. To test a single address or block against list A, type it under Does list A contain this address or block? and press Check.
  7. Use Copy or Download .txt to save the full comparison.

Can Two CIDR Blocks Partly Overlap?

No. Because every CIDR block starts on a multiple of its own size, two blocks are always either identical, one inside the other, or completely separate. Lists can still partly overlap, which is why the tool reports the exact pieces with set operations instead of a simple yes or no.

When Would I Compare Two CIDR Lists?

  • VPN and cloud peering: catch address conflicts between sites, VPCs, or VNets before you connect them.
  • Firewall reviews: see what a new rule adds (B minus A) and what it already duplicates (A AND B).
  • Migrations: confirm that a new address plan covers everything the old one did.
  • Allow-list checks: confirm whether a client IP falls inside a published range.

Frequently Asked Questions

How do I check if two subnets overlap?

Put one subnet in list A and the other in list B and press Compare. If they overlap, the relationship table shows Equal, A contains B, or B contains A, and A AND B lists the shared addresses.

What does A minus B mean?

A minus B is every address in list A that is not in list B, returned as the smallest set of CIDR blocks. It is useful for finding which parts of an old range a new range does not cover.

Why are disjoint pairs hidden?

With long lists, most pairs are unrelated. The table only shows pairs that are equal or nested and reports how many disjoint pairs were left out, so the real conflicts stand out.

Can I compare IPv4 with IPv6?

Both lists can contain IPv4 and IPv6 entries. Comparisons happen within each family, so an IPv4 block never overlaps an IPv6 block.

Are my lists sent to a server?

No. Every calculation runs in your browser with exact 128-bit math. Nothing you paste is uploaded, logged, or saved, and the page works the same offline once loaded.