IPv6 Subnet Calculator
IPv6 Subnet Calculator. Enter an IPv6 Address and Prefix Length, then click Calculate in this IPv6 subnet calculator to get the network and address range.
Input
IPv6 Subnet Details
Address Range
Enter an IPv6 address with a prefix length to calculate the network address, address range, and subnet size for any IPv6 block. Get expanded and compressed forms, total address count, and prefix boundaries — everything you need for IPv6 network planning and address allocation.
Working out how a large IPv6 block breaks down into smaller pieces by hand is tedious and easy to get wrong, which is exactly the gap an IPv6 Subnet Calculator closes. Enter an IP address and a slash value, and it instantly returns the network's starting point, its full span, and how many usable hosts sit inside it. Some people call this a subnetting calculator, others a CIDR calculator or simply a network calculator — whatever the name, an IPv6 calculator tool like this one runs the same binary math underneath. Below, you'll find that math explained, how IPv6 differs from its predecessor, and a reference table you can use even without the tool open.
How This IPv6 Subnet Calculator Works
The tool takes two inputs: the address itself and the number after the slash. From those two values alone it derives everything else — no separate dotted subnet mask field required, the way an IPv4 tool needs one. Subnetting also helps relieve network congestion by keeping packet routing local to smaller segments instead of flooding an entire block with traffic meant for one corner of it.
- Enter the address and its
/64-style value. - The calculator returns the network's identifying address, its total range, and the count of usable hosts.
- For a larger allocation, it also shows how many smaller subnets fit inside, so you can plan an addressing scheme before assigning anything.
What the IPv6 Subnet Calculator Reads: CIDR Notation and the Slash Value
CIDR notation is the shorthand that makes this possible. Written as 2001:db8::/32, it pairs an address with a slash and a number — the routing prefix — that marks how many leading bits are fixed. Everything before that boundary identifies the network; everything after is free for hosts. Because a full address runs 128 bits long, the routing prefix can technically fall anywhere from /1 to /128, though in practice almost every real allocation lands on /64 or shorter.
Reading the Output: Network Address, Range, and Host Range
Once you calculate, three results matter most: the starting address of the block, the address range spanning first to last, and the host range — the addresses actually available for devices. For a /64 allocation that host range is enormous, which is one reason this feels so different from working with a cramped IPv4 pool.
IPv4 Subnet Calculator vs IPv6 Subnetting: What's Different
Both are versions of the Internet Protocol, but the protocol's addressing rules diverge sharply once you get past the basics. If you've used an IP subnet calculator for the older standard before, some pieces here will feel familiar and others won't map over at all.
Why an IPv4 Subnet Calculator Still Leans on Network Class and Subnet Mask
IPv4 grew out of a rigid class system — Class A, B, and C — each with its own default subnet mask and host count. Every IPv4 address also carries an IP class, a leftover from before CIDR existed, plus a network mask usually written as four decimal numbers instead of a slash. An IPv4 subnet calculator has to juggle a 32-bit address, that dotted mask, and borrowed-bit math to carve a block into smaller pieces, because a limited pool made every host precious. That scarcity is the entire reason subnetting exists on the older standard: you're always trading network space for host space to avoid waste.
IPv6's 128-Bit Space and the /64 Standard
IPv6 doesn't share that scarcity, so it skips network classes entirely. A 128-bit address, written in hexadecimal and separated by colons, provides so much room that the default building block is a /64 — leaving roughly 18 quintillion addresses per subnetwork. At that scale, an organization can give every network interface its own public IP outright rather than hiding devices behind a private network with translation tricks. The reverse operation — folding several small blocks back into one — is called supernetting, and the same calculator logic covers supernets in either direction.
CIDR Calculator Insights: Network Prefix and Host Identifier
Every address splits into two parts: the portion that identifies the subnet, and the remaining bits that identify one device on it — the interface ID. A subnet calculator's whole job is drawing that line precisely.
Calculating Usable Hosts and the Formulas Behind Them
The number of usable addresses in an IPv6 block follows directly from the slash value:
$$\text{Usable Addresses} = 2^{128 - P}$$
where P is that value. For a /64 network, that works out to \(2^{64}\) — for all practical purposes, unlimited. IPv6 also has no broadcast address the way IPv4 does; every address in the range can potentially be assigned, which simplifies things compared to a legacy calculation that has to reserve one address for broadcast and one for the network itself. The dotted wildcard mask disappears too, since a single number after the slash already says which bits are fixed.
A short glossary covers the rest of what a results screen shows you:
- Network Prefix — the fixed portion of the address, playing the same role an IPv4 network mask does.
- Host Identifier — the remaining bits that pick out one device on that subnet.
- Default Subnet Mask — for this protocol, the de facto default is /64, unlike IPv4's class-based defaults.
- Wildcard Mask — the inverted mask used in older routing protocols like OSPF and in access control lists; rarely needed here.
- Usable Host IP Range — the subset of the address range that can actually be handed to a device.
- IP Type — flags whether an address is public or reserved for private use.
- Binary Format and Integer Format — the same value written as raw digits or as a plain integer, alongside a Hex ID for quick hexadecimal lookups.
IPv6 Prefix Length Reference Table and Who Uses an IP Subnet Calculator
If you just need a quick reference instead of running the tool, the table below shows how common values translate into subnet counts and address space, alongside IPv4 equivalents for context.
Common IPv6 Prefix Lengths and Subnet Counts
| Prefix Length (CIDR Notation) | Network Mask Equivalent | Number of /64 Subnets | Usable Hosts per Subnet |
|---|---|---|---|
| /48 | ffff:ffff:ffff:: | 65,536 | 280 |
| /56 | ffff:ffff:ffff:ff00:: | 256 | 272 |
| /60 | ffff:ffff:ffff:fff0:: | 16 | 268 |
| /64 | ffff:ffff:ffff:ffff:: | 1 | 264 |
| /112 | ffff:ffff:ffff:ffff:ffff:ffff:ffff:0000 | — | 65,534 |
| /127 | ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe | — | 2 |
Splitting a /48 allocation into /64 blocks is a calculation the tool handles for you: \(2^{64-48} = 2^{16} = 65{,}536\) — matching the table above.
Network Administration, DevOps, and Real-World Use
This kind of address planning sits at the intersection of network administration, network engineering, and cloud computing: a system administrator racking on-prem gear and a cloud infrastructure team spinning up subnets in a hyperscaler both run the identical math. Network administrators reach for it daily when planning IP address allocation, and DevOps engineers lean on it when scripting network configuration as infrastructure as code, especially in cloud environments where subnets get created and torn down on demand. Monitoring platforms depend on the same accuracy — knowing exactly which addresses are valid helps catch network downtime faster and keeps website monitoring, server monitoring, and ping monitoring tools pointed at real hosts instead of unassigned space.
- TCP/IP configuration, where the network number and host portion of an address need to be assigned consistently across every router and interface — and routers use that network prefix to decide where to forward packets.
- 6to4 and IPv4 mapped address transition schemes, which embed a 32-bit address inside a 128-bit one for backward compatibility.
- Legacy building blocks like octets and dot-decimal notation, still useful when documenting a dual-stack network.
- Classless Inter-Domain Routing itself, which replaced the old class-based system for both standards and made variable-length prefixes possible in the first place.
- The rest field of an address, plus gateway and reverse DNS records under in-addr.arpa, which map an address back to a hostname and export cleanly to a CSV file for documentation.
Whether you're troubleshooting from an internet service provider's network operations center or working through a networking course, running the numbers through a dedicated calculator beats binary math by hand — and it's far less error-prone than guessing how many bits a given value actually reserves for the network versus the host.
Related Network Tools
Explore these related tools for subnet calculation and IP address management.
Additional networking calculators for IP address planning and network analysis.
More tools to support network design, addressing, and subnet troubleshooting.
Comments & Feedback
Share your experience or ask questions about this tool