About the IPv6 Subnet Calculator
IPv6 uses 128-bit addresses written as eight groups of hexadecimal digits. Subnetting in IPv6 works on prefix length rather than dotted subnet masks: a /64 is the standard size for a single LAN segment, a /48 is a common site allocation, and a /56 is typical for residential delegated prefixes. This calculator takes any IPv6 address and prefix and shows the network address, the first and last address in the range, both the compressed and fully expanded notation, and the total number of addresses in the block.
Everything is computed locally in your browser using BigInt arithmetic, so no addresses leave your device. That makes it safe to use with internal addressing plans and production prefixes.
How to Use This Tool
2001:db8::1) or fully expanded forms are both accepted.Common Use Cases
- Site addressing plans. Split the /48 your provider delegates into /64 VLANs — one per network segment — and document the ranges before deployment.
- Troubleshooting "same network" issues. Check whether two IPv6 addresses actually fall inside the same prefix when neighbour discovery or routing behaves oddly.
- Firewall and ACL scoping. Confirm exactly which addresses a /56 or /60 rule covers before applying it — expanded notation removes the guesswork.
- Cloud VPC design. Azure and AWS hand out IPv6 blocks in fixed sizes; verify how many /64 subnets fit in your allocation and where each begins.
- Learning IPv6. Watching compressed addresses expand — and seeing why
::can appear only once — teaches more than any diagram.
Common IPv6 Prefix Sizes
- /64. Standard for a single subnet or VLAN. Required for SLAAC autoconfiguration to work.
- /48. Typical site allocation, giving 65,536 /64 subnets for one organisation or location.
- /56. Common residential or small-business delegation, giving 256 /64 subnets.
- /127. Recommended for point-to-point router links (RFC 6164).