Skip to content
QKQuickKit日本語
Routing & BGPLOCALRuns in your browser

IP Prefix Comparison

Compare two IPv4 or IPv6 prefixes for equality, containment, disjointness, and their smallest common covering prefix.

This tool handles input and primary processing in your browser and is designed not to send the input to QuickKit’s server.

Comparison

Comparison
Relationship
Canonical A
Address range A
countA A
Canonical B
Address range B
countB B
Common leading bits
Smallest covering prefix
How it works

Compares canonical address ranges. For two prefixes in one address family, CIDR alignment means their relationship is equality, containment in one direction, or disjointness; partially overlapping CIDR prefixes cannot occur. The smallest covering prefix is a broad summary and can include addresses between disjoint inputs, so it is not presented as an exact aggregation. IPv4 and IPv6 are reported as different families and not mapped into each other.