Next-Gen App & Browser Testing Cloud
Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Expand and compress an IPv6 prefix, see its mask, address range, and /64 count, then divide it into smaller subnets, all in your browser.
Divide the network into subnets:
An IPv6 subnet calculator takes an IPv6 prefix such as 2001:db8::/32 and works out everything about it: the compressed and fully expanded address, the network mask, the first and last address in the range, and how many /64 networks it contains. It then lets you divide that block into smaller, equally sized subnets.
Because an IPv6 address is 128 bits, doing this math by hand is error-prone. The calculator handles the full range with exact 128-bit arithmetic, so you get accurate prefixes and address counts for any block from a /0 down to a single /128 host.
IPv6 gives every organization an enormous address space, and subnetting is how you turn that space into a clean, routable network plan. Getting it right matters because:
Calculating and dividing an IPv6 network takes three steps:
An IPv6 address is 128 bits, and the prefix length tells you how many leading bits identify the network. The standard end-network in IPv6 is a /64, so subnet sizes are usually measured in how many /64s they hold:
The calculator is built for network engineers, sysadmins, and developers who plan or troubleshoot IPv6. Its features and typical uses include:
An IPv6 subnet calculator takes an IPv6 prefix such as 2001:db8::/32 and shows its expanded and compressed form, network mask, first and last address, and how many /64 networks it contains, then lets you split it into smaller subnets.
A prefix of length N contains 2 raised to the power (64 minus N) /64 subnets. For example a /32 contains 2^32 = 4,294,967,296 /64s, and a /48 contains 2^16 = 65,536 /64s.
A /64 is the standard size for a single IPv6 subnet, leaving 64 bits for interface identifiers. It provides 2^64 addresses per subnet, which is why almost every end network in IPv6 is a /64 regardless of how few devices it holds.
The expanded form writes all eight 16-bit groups in full, such as 2001:0db8:0000:0000:0000:0000:0000:0000. The compressed form removes leading zeros and collapses one run of zero groups with ::, giving 2001:db8:: for the same address.
No. All the math runs in your browser using 128-bit BigInt arithmetic. No address or prefix is uploaded to a server, logged, or stored.
Enter a prefix and either type how many subnets you need or pick a target prefix length. The tool rounds the count up to the next power of two, picks the resulting prefix, and lists each new subnet.
Yes. The tool uses 128-bit BigInt arithmetic, so it handles any valid prefix length from /0 to /128 accurately, including huge blocks like a /16 and single-address /128 host routes, without rounding errors.
Yes. The TestMu AI IPv6 subnet calculator is free with no signup and no limits. Every calculation runs in your browser, so you can expand prefixes and split networks as often as you need without installing software.
Did you find this page helpful?
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance