IPv6 Subnet Planner
Plan IPv6 prefixes: count the /64 networks in a /48 or /56, find any subnet by number or hex ID, see where the subnet ID sits, and list subnets to copy.
Try IPv6 Subnet Planner →What Does the IPv6 Subnet Planner Do?
The IPv6 Subnet Planner does the prefix arithmetic for an IPv6 address plan. Give it the prefix you were assigned, such as 2001:db8:abcd::/48, and the size of the subnets you want, usually /64. It tells you how many subnets fit, how many bits and hex digits form the subnet ID, and which digits change from one subnet to the next.
You can jump to any subnet by its number or its hex subnet ID, find which subnet contains a given address, and list up to 256 subnets at a time to copy into a spreadsheet or IPAM tool. The same page also identifies IPv6 address types and converts IPv6 literals for URLs and reverse DNS. Everything is calculated in your browser.
How Do I Plan IPv6 Subnets?
- Open IP Tools > IPv6 Planner from the top menu. The Subnet Planner tab opens first.
- Enter your parent prefix with its length, for example
2001:db8:abcd::/48. - Enter the subnet size as a prefix length, for example
64for LANs, and click Plan. - Read the summary: number of subnets, subnet ID bits, first and last subnet, and the reverse DNS zone of the parent.
- Look at Where the Subnet ID Lives: the highlighted hex digits are the part you number for each VLAN or site.
- Use Find a Subnet to show a subnet by number (0 is the first), by hex subnet ID, or by an address inside it.
- Use List Subnets to list 16, 64, or 256 subnets from any start number, then click Copy list.
How Many /64 Networks Are in a /48?
A /48 leaves 16 bits between the site prefix and the /64 boundary, so it holds 2 to the power of 16, which is 65,536 subnets of size /64. A /56 holds 256 of them and a /60 holds 16. Each /64 then has 2 to the power of 64 interface addresses, far more than any LAN will ever use, which is why IPv6 plans count subnets rather than hosts.
- /32 to /48: 65,536 site prefixes (a typical ISP allocation).
- /48 to /64: 65,536 LANs (a typical business site).
- /56 to /64: 256 LANs (a common home assignment).
- /64 to /127: point-to-point links between routers (RFC 6164).
Why Plan on Nibble Boundaries?
Each hex digit of an IPv6 address is 4 bits, called a nibble. When both the parent prefix and the subnet size are multiples of 4 (/48, /52, /56, /60, /64), every subnet ID is a whole number of hex digits. Subnet 18 of a /48 is simply 2001:db8:abcd:12::/64, the 18 written in hex. Reverse DNS zones under ip6.arpa are also delegated one nibble at a time. The planner warns you when a plan crosses a nibble boundary and when a LAN prefix is longer than /64, because SLAAC and most host stacks need a /64.
What Else Is on the Page?
- Address Types: identifies global unicast, unique local, link-local, multicast, documentation, NAT64, 6to4, Teredo, and other special-purpose addresses, and generates a random ULA /48.
- Literals: expands and compresses addresses in bulk, checks text against the RFC 5952 canonical form, builds bracketed URL literals with zone indexes, and shows the ip6.arpa name.
- For a single expand, compress, or EUI-64 conversion, the original IPv6 Tools page is still available.
Use Cases
- New IPv6 rollout: number VLANs inside the /48 or /56 your ISP delegated.
- Multi-site design: carve a /32 or /40 into /48 sites, or a /48 into /52 regions.
- Firewall and route review: find which subnet an address in a log belongs to.
- Reverse DNS: get the ip6.arpa zone to delegate for a prefix.
Frequently Asked Questions
How many /64 subnets are in a /48?
A /48 contains 65,536 subnets of size /64, because the 16 bits between /48 and /64 can take 2 to the power of 16 values. A /56 contains 256 and a /60 contains 16.
Should every IPv6 LAN be a /64?
Yes for normal LANs. SLAAC address autoconfiguration and most operating systems expect a 64-bit interface ID, so a LAN prefix longer than /64 breaks autoconfiguration. Router-to-router links may use a /127 as RFC 6164 describes.
What is a subnet ID in IPv6?
The subnet ID is the group of bits between the prefix you were assigned and the subnet size you choose. In a /48 split into /64 networks it is the fourth 16-bit group, so subnet 0x12 is written as 2001:db8:abcd:12::/64.
Does the IPv6 planner send my prefixes anywhere?
No. All of the arithmetic runs in your browser with no network requests, and nothing is stored. Closing the tab discards everything you typed.
Can I plan subnets that are not on a nibble boundary?
Yes. The planner calculates any prefix length, but it warns you because subnet IDs then do not line up with whole hex digits, which makes addresses harder to read and reverse DNS harder to delegate.