IPv6 Subnet Calculator
Calculate IPv6 prefixes, address ranges and subnets, and expand or compress addresses.
Network details
Continue your work
- IPv4 Subnet Calculator — Calculate IPv4 subnets and masks.
- DNS Lookup — Look up AAAA records for a domain.
Share this tool
Found it useful? Send it to a friend or teammate.
Rate this tool
0.0
0 ratings
- 5 stars 0
- 4 stars 0
- 3 stars 0
- 2 stars 0
- 1 star 0
Clear instructions
Find steps, examples and limitations below.
Use online
Open the tool in a supported web browser.
Free to use
No sign-up required. Tool-specific limits may apply.
How to use the IPv6 Subnet Calculator
The IPv6 subnet calculator works with 128-bit addresses exactly. Enter an address and prefix length to see the network prefix, the first and last addresses, the number of addresses and /64 subnets, the address type (global, link-local, unique local and more), the fully expanded and compressed forms and the reverse DNS name. You can also split a prefix, such as a /48, into /56 or /64 subnets.
- 1 Enter an IPv6 address, optionally with a prefix like 2001:db8::/48.
- 2 Adjust the prefix length if needed.
- 3 Read the network details and choose a size to divide it into subnets.
Example and practical tips
An ISP assigns you 2001:db8:abcd::/48. That contains 65,536 /64 subnets, one for each LAN or VLAN, starting with 2001:db8:abcd::/64 and 2001:db8:abcd:1::/64.
Frequently asked questions
Why is /64 the standard subnet size?
IPv6 address autoconfiguration (SLAAC) needs 64 bits for the interface identifier, so LANs almost always use /64 subnets.
How are IPv6 addresses compressed?
Leading zeros in each group are dropped, and one run of all-zero groups is replaced by ::. So 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1.
What is a unique local address?
Addresses starting with fc or fd (fc00::/7) are private, like 192.168.x.x in IPv4, and are not routed on the internet.
Report an issue
Something broken or not quite right? Tell us and we will look into it.