Networking Fundamentals

IPv6 Subnet Calculator: Split Any Prefix Into /64s

G Gurpreet Singh September 7, 2026 6 min read
A 128 bit IPv6 address divided into a 48 bit routing prefix, a 16 bit subnet id and a 64 bit interface id, with the subnet id highlighted as the only part you subnet
An IPv6 subnet calculator divides a delegated prefix into smaller networks. Subnetting happens only between your prefix length and /64, because the lower 64 bits are the interface identifier. A /56 gives 256 subnets, a /48 gives 65,536.
Key takeaways

  • Subnet space is the gap between the prefix your provider gave you and /64, and nothing else.
  • Every /64 holds 18,446,744,073,709,551,616 addresses, so host counting stops being part of the job.
  • A /56 gives 256 segments and is what a home connection should be delegated, while a /64 cannot be subnetted at all.
  • Going longer than /64 on a normal LAN breaks SLAAC, so keep it for point to point links and loopbacks.
  • The subnet field counts in hexadecimal, so after ee09 comes ee0a rather than ee10.
  • IPv6 has no broadcast address and no dotted netmask, so nothing is reserved out of each subnet.

Give it a prefix and the size you want to cut it into, and it works out how many subnets you get, how many addresses sit in each, and what the first few actually look like written out. It runs in your browser. Nothing you type is sent anywhere.

IPv6 subnet calculator

Enter a prefix such as 2001:db8::/32, then choose the new prefix length you want to divide it into.




If you have used an IPv4 subnet calculator, the first thing you will notice is that this one never asks how many hosts you need. That question does not exist in IPv6, and the rest of this page explains why.

What you are actually dividing

A 128 bit IPv6 address split into two halves of 64 bits, with the network half assigned by the provider and the host half generated by the device, alongside notes that SLAAC and privacy addresses both need exactly 64 host bits
The lower 64 bits belong to the device, not to you. Subnetting happens entirely in the upper half.

An IPv6 address is 128 bits. In almost every real deployment the lower 64 of those are the interface identifier, which the device works out for itself. That leaves the upper 64 bits, and only part of those are yours.

Your provider gives you a prefix. If that prefix is a /56, the first 56 bits are fixed and you cannot touch them. The 8 bits between 56 and 64 are the only ones you get to play with. Eight bits gives 256 subnets, and each of those subnets is a /64.

That is the whole exercise. Take the gap between the prefix you were given and /64, and that gap is your subnet space.

Why /64 is treated as a hard floor

Stateless address autoconfiguration, the mechanism that lets a device generate its own address without a DHCP server, is defined around a 64 bit interface identifier. Privacy addresses, the randomised ones your phone rotates through, use the same 64 bits.

You can configure a /112 or a /126 and packets will move. Point to point links between routers are often built that way, and loopbacks are usually /128. But on any segment where ordinary devices need to configure themselves, going past /64 stops SLAAC working and you have to run DHCPv6 or set addresses by hand instead.

Why this is easier than IPv4 subnetting

Side by side comparison of subnetting effort, showing five steps for IPv4 including counting hosts and checking for overlap, against three steps for IPv6 which are simply giving each segment a slash 64
The IPv4 column is arithmetic. The IPv6 column is bookkeeping.

IPv4 subnetting is an exercise in scarcity. You count how many hosts a segment needs, round up to a power of two, pick a mask that fits, and then check the block does not collide with anything else. Get the estimate wrong and you either waste addresses or run out and have to renumber.

None of that applies here. Every /64 holds 18,446,744,073,709,551,616 addresses. A segment with three devices on it gets a /64. A segment with four thousand devices on it gets a /64. You are no longer sizing subnets, you are numbering them.

What replaces the arithmetic is planning. With 256 segments available on a home /56, the useful question becomes which networks you want to keep separate, not how many addresses each will consume. Our IPv4 subnet calculator still exists for the other half of your network, and the contrast between the two is worth seeing.

What size prefix you should have

Bar chart of IPv6 allocation sizes showing a slash 48 giving 65,536 segments for a business site, a slash 56 giving 256 segments for a typical home, a slash 60 giving 16 segments from a stingy provider, and a slash 64 giving a single segment
A /64 allocation cannot be subnetted at all. If that is what you were given, it is worth a phone call.

Providers hand out wildly different sizes, and the one you get decides what is possible.

  • A /48 gives 65,536 segments. This is the standard business allocation and more than any single site will use.
  • A /56 gives 256 segments. This is what a residential customer should expect, and it is plenty for a main network, a guest network, an IoT network and room to grow.
  • A /60 gives 16 segments. Workable but tight, and a sign the provider is rationing something that costs them nothing.
  • A /64 gives you one segment and no ability to subnet at all. If your router is only being handed a /64, you cannot run separate networks behind it.

The last case is worth acting on. Many providers will issue a larger prefix on request, and some routers just need prefix delegation switched on with a larger size requested. Look for a DHCPv6 prefix delegation setting on the WAN page and ask for a /56.

A worked example on a home /56

A home slash 56 prefix divided into four slash 64 networks for the main network, guest, IoT and cameras, with only the fourth hexadecimal group changing between them
Only one group of the address changes. The counting is done in hexadecimal, which is the only part that trips people up.

Say the provider delegates 2001:db8:abcd:ee00::/56. The 56 bit boundary lands in the middle of the fourth group, so the first two hexadecimal digits of that group are fixed at ee and the last two are yours.

Four networks, laid out with room to expand:

  • 2001:db8:abcd:ee00::/64 for the main network
  • 2001:db8:abcd:ee01::/64 for guests
  • 2001:db8:abcd:ee02::/64 for smart home devices
  • 2001:db8:abcd:ee03::/64 for cameras

You have used four of 256. The remaining 252 are there if you ever want a lab network or a separate segment for a teenager who downloads things.

The one habit worth forming early is leaving gaps. If you think the guest network might later split into wired and wireless, number them ee10 and ee20 rather than ee01 and ee02, so related things stay near each other when you come back to it in two years.

Common mistakes

Quick answers panel listing that a slash 64 is always the size of one segment, a slash 56 is what to ask a provider for at home, subnet bits are only those between your prefix and slash 64, and host count stops mattering
Four things that between them cover most of what goes wrong.

Subnetting past /64 on a normal LAN. The temptation is to carve a /64 into /72s to save space. There is no space to save, and it breaks address autoconfiguration for every device on that segment.

Counting in decimal. The subnet field is hexadecimal. After ee09 comes ee0a, not ee10. Getting this wrong produces overlapping ranges that look fine until traffic starts going to the wrong place.

Treating the prefix as a netmask. IPv6 has no dotted netmask. The prefix length is the whole story, and there is no equivalent of 255.255.255.0 to convert to.

Assuming a /64 per device. A /64 is a segment, not a host. Every device on one network shares the same /64 and differs only in the lower 64 bits.

Questions people ask

Can I use a prefix longer than /64? Yes, on point to point links and loopbacks, where no host needs to autoconfigure. On a normal LAN it breaks SLAAC, so avoid it.

How many subnets does a /56 give me? 256, each of them a /64. A /48 gives 65,536. The count is two to the power of the difference between your prefix and 64.

Do I need to worry about a network address and a broadcast address? No. IPv6 has no broadcast at all, and the all zeros address in a subnet is usable in practice on modern equipment. Both of the addresses IPv4 makes you give up are yours here.

Is this calculator storing what I type? No. Everything runs in JavaScript inside your own browser. There is no request to a server and no logging of the values you enter.

Every calculator on the site works the same way, and they are collected on the free networking tools page.

GU
Written by

Gurpreet Singh

Hey! I"m Gurpreet Singh and I Have 7+ Years of experience in the Network & Security Domain as well as the Cloud Infra Domain. I am Certified with Cisco ( CCNA ), CheckPoint ( CCSA ), 1xAWS, 3xAZURE, and 3xNSE. So I love to share my tech knowledge with you.

Leave a Reply

Your email address will not be published. Required fields are marked *