CALCULATE / COMPARE0BPS / MODULE

IPV4 CIDR COMPARE

Compare two IPv4 networks for equality, containment or separation, then inspect their shared range and smallest common supernet.

PREFIX RELATIONSHIP CHECKLOCAL
EXAMPLES
NETWORK A
NETWORK B
RELATIONSHIPCanonical prefix relation
INTERSECTION
COMMON SUPERNETSmallest CIDR covering both
ADDRESS GAPAddresses between disjoint ranges

Valid CIDR networks are aligned hierarchically: two networks are equal, one contains the other, or they are disjoint. This is prefix math, not a live routing test.

REFERENCE / FAQ

COMMON QUESTIONS

Can two valid CIDR networks partially overlap?

Aligned CIDR networks are hierarchical: two valid CIDRs are either disjoint, equal, or one contains the other. The compare tool makes that relationship explicit.

Are the entered networks sent to 0bps?

No. IPv4 CIDR comparison is performed locally in the browser.

PREFIX RELATIONSHIP

Canonical IPv4 CIDRs are hierarchical, so two valid networks are equal, nested or disjoint rather than partially overlapping.

LOCAL MATH

Both network ranges are canonicalized and compared locally in the browser.

PRACTICAL / EXAMPLES

PUT THE NUMBER IN CONTEXT.

Short examples using the same units and assumptions as this module.

192.168.1.0/24 VS 192.168.1.128/25

The /24 contains the /25 and the intersection is the complete /25 range.

10.0.0.0/24 VS 10.0.1.0/24

Adjacent /24 networks are disjoint even though they can share a larger containing /23 supernet.