PREP WITH PROOF
Menu
FREE NETWORKING TOOL · NO SIGNUP

IPv4 CIDR overlap and subnet calculator

Compare complete allocation ranges, distinguish containment from adjacency, and split Network A into smaller blocks. Review the exact boundaries before using an allocation.

Compare two IPv4 networks

Calculations run in your browser. Your inputs and report are not submitted, saved by this tool or placed in the URL.

IPv4 dotted decimal plus /0–/32 only, up to 64 characters per field. No leading zeros, IPv6 or dotted netmask notation. Outer whitespace is trimmed. Both networks are required.

At most 64 child networks are displayed. An invalid or oversized split leaves the network comparison available with a separate subdivision error.

Load an example:

A contains B

64 shared addresses

Intersection: 192.0.2.64 – 192.0.2.127. All endpoints are inclusive.

Full allocation ranges, including endpoints
NetworkSubmittedCanonical CIDRNetmaskFirst addressLast addressTotal addresses
A192.0.2.0/24192.0.2.0/24255.255.255.0192.0.2.0192.0.2.255256
B192.0.2.64/26192.0.2.64/26255.255.255.192192.0.2.64192.0.2.12764

Subdivision of Network A

4 child networks cover all 256 addresses in A, without overlap or gaps. A child prefix equal to A returns A itself.

4 child networks of A
CIDRFirst addressLast addressTotal addresses
192.0.2.0/26192.0.2.0192.0.2.6364
192.0.2.64/26192.0.2.64192.0.2.12764
192.0.2.128/26192.0.2.128192.0.2.19164
192.0.2.192/26192.0.2.192192.0.2.25564

Copy the calculation report

Select and copy the text below. It includes submitted values, canonical ranges, normalization warnings and the subdivision result. Counts are total addresses, not a usable-host or cloud capacity estimate.

Understand the default calculation

Network A, 192.0.2.0/24, contains 256 addresses from 192.0.2.0 through 192.0.2.255. Network B, 192.0.2.64/26, contains 64 addresses and is wholly inside A. The shared interval is 192.0.2.64–192.0.2.127. Splitting A at /26 creates four children, each containing 64 addresses.

Host bits are a decision to review

A submitted 192.0.2.70/26 describes an address inside a network, rather than its aligned starting address. The default policy rejects it and shows the containing network. Normalization is available as an explicit choice and keeps the submitted value visible. It does not establish that the resulting allocation is what the submitter intended.

What overlap means here

Equality counts as overlap. A subnet inside another network also overlaps its parent. Adjacent networks share no address. All comparisons use the complete inclusive ranges, not a list of conventional host addresses. Whether nested allocations are permitted is a separate rule in your address plan.

Keep subdivision bounded

A larger prefix number creates smaller blocks. A /24 split at /26 creates four networks; /24 split at /24 returns the original block. A smaller prefix number would ask for aggregation, which this subdivision tool rejects. Requests producing more than 64 children are not enumerated; the comparison remains available.

Arithmetic has an operational boundary

This calculator supports IPv4 only. It does not enumerate individual hosts, validate IPv6, calculate a provider’s usable capacity, recommend a deployable range, inspect routes or test connectivity. /0 contains 4,294,967,296 total addresses; /32 contains one. These counts do not apply platform reservation policies.

Inputs and results are handled locally by this tool and are masked from the site’s optional session recording. Use invented learning examples if you do not want infrastructure values displayed on your screen. Results were compared with Python ipaddress; verify your inventory and platform rules before making an allocation change.

Read the CIDR guide with a reproducible IPv4/IPv6 arithmetic lab →

Troubleshoot DNS when correct address arithmetic is not enough →

Official references