IPv6 Subnet Calculator
Turn an IPv6 allocation into a practical plan. Find exact boundaries, navigate child subnets, check containment, and prepare reverse DNS zones.
128-bit precision · Calculations stay in your browser · No saved input
Prefix details
These are inclusive mathematical boundaries and total address counts. IPv6 has no broadcast address and no automatic “minus two” rule. Reserved uses, Subnet-Router anycast, and local assignment policy can affect what you assign.
Show the mask calculation in hexadecimal and binary
Each row is one 16-bit group: input AND mask = network. Blue digits are fixed by the prefix; amber marks a partially fixed hex digit. The binary mask gives the exact boundary.
| Group | Input hex | Mask hex | Network hex | Input bits | Mask bits | Network bits |
|---|
Divide and navigate the allocation
Choose equal-size child prefixes. Jump to any subnet using its 1-based decimal number, even beyond JavaScript’s ordinary integer range. At most 16 rows are rendered or exported at once.
| Number | Child prefix | Last address |
|---|
Check an address or prefix
Compare against the calculated allocation. A bare address is checked as /128.
Find a containing supernet
A shorter prefix includes this allocation and additional space. It does not establish ownership of that space.
Reverse DNS planning
PTR query name for the entered address
This is a DNS name derived from the address, not an observed PTR record. No DNS query is made.
Plan with prefixes, then verify the assignment
A /48 holds 65,536 /64 networks; a /56 holds 256; a /60 holds 16. A /64 is the usual LAN boundary for SLAAC. /127 is used on appropriate inter-router point-to-point links, and /128 identifies one address or host route.
Hex digits carry four bits, so /48, /56, and /64 end on readable nibble boundaries. Other prefix lengths are valid: a /61, for example, covers eight /64s and needs eight /64 reverse zones for an exact nibble-aligned cover. Actual delegation requires cooperation from the parent DNS operator.
This calculator handles one allocation and equal-sized children. It does not allocate mixed-size networks, test reachability, discover existing assignments, configure DNS, or certify that an address can be used. Address-type hints describe the entered address only and are not an exhaustive registry or a verdict about every address in the block.
References: RFC 5952 formatting, RFC 4291 addressing, RFC 3596 reverse DNS, RFC 6164 /127 links, and IANA special-purpose registry. For IPv4, use the Subnet Calculator.