IPV6 PREFIX COMPARE
Compare two IPv6 CIDR prefixes with exact 128-bit arithmetic and inspect containment, intersection and their smallest common prefix.
This compares IPv6 prefix math only. It does not inspect live routes, BGP announcements, ownership or reachability.
Exact address math, with operational claims kept separate.
The network-planning tools perform deterministic IPv4/IPv6 arithmetic locally. They describe address-space relationships, not whether a network is deployed correctly.
What is exact
Network boundaries, containment, ranges, prefix lengths, masks and exact aggregation/splitting results come from deterministic address arithmetic.
Canonical output
Normalized network values remove host bits where appropriate. Containment means one calculated address range fully includes another; overlap means ranges intersect.
No live network validation
The browser does not confirm routing tables, VLANs, DHCP, firewall rules, ownership, reachability or whether the calculated prefix is appropriate for your deployment.
Before deployment
Use the arithmetic result as a planning input, then verify it against the real network design, routing/firewall policy and authoritative address allocation.
0BPS SHOWS MEASURED OR CALCULATED FACTS SEPARATELY FROM INTERPRETATION. WHERE A RESULT IS ADVISORY, ESTIMATED OR DESTINATION-SPECIFIC, THE LIMIT IS STATED IN THE TOOL.
COMMON QUESTIONS
Can one IPv6 prefix contain another?
Yes. IPv6 CIDR prefixes are hierarchical. A shorter aligned prefix can contain a longer prefix when the longer network falls inside its address range.
Does this compare live IPv6 routing?
No. The module performs exact 128-bit prefix arithmetic locally in your browser. It does not test reachability, routing tables or ownership.
Why is BigInt used?
IPv6 addresses are 128 bits wide, so BigInt preserves exact address and prefix boundaries without floating-point precision loss.
Two canonical IPv6 CIDRs can be equal, nested or disjoint. The comparison uses exact 128-bit integer boundaries.
The smallest common prefix covers both complete input networks and can be broader than either input when they are disjoint.
PUT THE NUMBER IN CONTEXT.
Short examples using the same units and assumptions as this module.
The /32 contains the /48 because every address in the longer prefix falls inside the broader documentation prefix.
The two /48 networks are disjoint but share a broader common prefix.