IPv6 Subnet Prefix Calculator & SLAAC Planner
Split delegated prefixes into /64 subnets, convert compressed and expanded IPv6 text, and plan SLAAC vs. stateful DHCPv6 scopes.
100% Client-Side Processing — Enterprise IPv6 addressing schemes are computed completely in your web browser. No input ever leaves this page.
| # | Subnet (CIDR) | First address | Last address |
|---|
How to Split an Enterprise IPv6 /48 Prefix into /64 Subnets
An enterprise /48 delegation contains 16 bits of subnetting headroom: 264−48 = 65,536 possible /64 subnets. Each increment of the subnet ID (bits 49–64) moves the next /64 exactly 264 addresses upstream. In hexadecimal terms this is a one-unit bump of the fourth hextet: 2001:db8:abcd:0000::/64, 2001:db8:abcd:0001::/64, and so on up to 2001:db8:abcd:ffff::/64.
When you slice a /52 instead, exactly 4,096 /64 subnets fall out; a /56 yields 256. The math is always 2childPrefix − parentPrefix. This calculator performs that arithmetic on 128-bit integers with JavaScript BigInt so no precision is lost at /128 boundaries, and it aligns every child subnet to a clean network bit boundary.
SLAAC vs. Stateful DHCPv6 vs. Stateless DHCPv6
| Mechanism | Address source | Required prefix | Assignment / lease | Options (DNS, NTP) |
|---|---|---|---|---|
| SLAAC | RA prefix + interface identifier (EUI-64 / privacy) | Exactly /64 | None — host self-assigns | Via RA option (RDNSS) or combo with stateless DHCPv6 |
| Stateful DHCPv6 | Central server pool (IA_NA) | /64 or narrower scopes (/112, /120) | Lease with timers; auditable | Yes — via DHCPv6 options |
| Stateless DHCPv6 | SLAAC for address, DHCP only for options | Exactly /64 | None | Yes — DNS, NTP, SIP via DHCPv6 |
The practical consequence of the /64 rule: exactly one routed subnet fits in a /64 LAN segment, so the /48 delegation of 65,536 subnets is what most ISPs hand to enterprise fiber customers. The planner tab above shows the exact /64 inventory you get from your /48, /52 or /56, plus the finite address window DHCPv6 manages in a /112 or /120 scope.
How SLAAC Addresses Are Built: 64-Bit Prefix + Interface Identifier
SLAAC concatenates the router's 64-bit prefix and a 64-bit interface identifier. If the identifier is derived from a MAC address (EUI-64), the host inserts ff:fe into the middle of the 48-bit MAC (for example 00:1A:2B:3C:4D:5E → 021A:2BFF:FE3C:4D5E) and flips the 7th bit (the universal/local bit) to mark the address as locally generated, producing fe80::21a:2bff:fe3c:4d5e. Hosts using privacy extensions (RFC 8981) instead rotate random lower-64 bits to defeat tracking — both techniques still require the prefix to fit entirely inside the first 64 bits. The step-by-step bit-flip math is covered by the separate EUI-64 Calculator.