IPv6 Subnet Calculator
IPv6 subnet calculator: network, first and last address, total addresses, number of /64s and address type for any prefix, plus a list of subnets when you split it.
| # | Subnet | First address | Last address |
|---|---|---|---|
| 1 | 2001:db8:abcd::/64 | 2001:db8:abcd:: | 2001:db8:abcd:0:ffff:ffff:ffff:ffff |
| 2 | 2001:db8:abcd:1::/64 | 2001:db8:abcd:1:: | 2001:db8:abcd:1:ffff:ffff:ffff:ffff |
| 3 | 2001:db8:abcd:2::/64 | 2001:db8:abcd:2:: | 2001:db8:abcd:2:ffff:ffff:ffff:ffff |
| 4 | 2001:db8:abcd:3::/64 | 2001:db8:abcd:3:: | 2001:db8:abcd:3:ffff:ffff:ffff:ffff |
| 5 | 2001:db8:abcd:4::/64 | 2001:db8:abcd:4:: | 2001:db8:abcd:4:ffff:ffff:ffff:ffff |
| 6 | 2001:db8:abcd:5::/64 | 2001:db8:abcd:5:: | 2001:db8:abcd:5:ffff:ffff:ffff:ffff |
| 7 | 2001:db8:abcd:6::/64 | 2001:db8:abcd:6:: | 2001:db8:abcd:6:ffff:ffff:ffff:ffff |
| 8 | 2001:db8:abcd:7::/64 | 2001:db8:abcd:7:: | 2001:db8:abcd:7:ffff:ffff:ffff:ffff |
| 9 | 2001:db8:abcd:8::/64 | 2001:db8:abcd:8:: | 2001:db8:abcd:8:ffff:ffff:ffff:ffff |
| 10 | 2001:db8:abcd:9::/64 | 2001:db8:abcd:9:: | 2001:db8:abcd:9:ffff:ffff:ffff:ffff |
| 11 | 2001:db8:abcd:a::/64 | 2001:db8:abcd:a:: | 2001:db8:abcd:a:ffff:ffff:ffff:ffff |
| 12 | 2001:db8:abcd:b::/64 | 2001:db8:abcd:b:: | 2001:db8:abcd:b:ffff:ffff:ffff:ffff |
| 13 | 2001:db8:abcd:c::/64 | 2001:db8:abcd:c:: | 2001:db8:abcd:c:ffff:ffff:ffff:ffff |
| 14 | 2001:db8:abcd:d::/64 | 2001:db8:abcd:d:: | 2001:db8:abcd:d:ffff:ffff:ffff:ffff |
| 15 | 2001:db8:abcd:e::/64 | 2001:db8:abcd:e:: | 2001:db8:abcd:e:ffff:ffff:ffff:ffff |
| 16 | 2001:db8:abcd:f::/64 | 2001:db8:abcd:f:: | 2001:db8:abcd:f:ffff:ffff:ffff:ffff |
IPv6 networks are handed out as prefixes — a /48 for a site, a /56 or /60 for a home, a /64 for each LAN — and the numbers involved are too large to work out by hand. Enter an address and prefix to get the network in compressed and full form, the first and last address, the exact number of addresses, how many /64 networks fit, and what kind of address it is. Choose a longer prefix to list the subnets inside it.
How to use this tool
- Type an address with its prefix length, such as 2001:db8:abcd::/48 (any address inside the network works).
- Choose the subnet size to split into — /64 for LANs is typical.
- Set how many subnets to list (up to 256).
- Copy the network, range or subnet list.
Formula
network = address AND mask · last = network OR NOT mask · addresses = 2^(128 − p) · subnets of /q = 2^(q − p)
Addresses are handled as exact 128-bit integers. Output follows RFC 5952: lower-case hex, leading zeros dropped and the longest run of two or more zero groups replaced by "::" (the first run if two are equally long). IPv6 has no broadcast address, so the whole range is usable apart from reserved interface IDs.
Example
2001:db8::/48 contains 2^80 = 1,208,925,819,614,629,174,706,176 addresses. Split into /64 networks it gives 2^16 = 65,536 subnets, from 2001:db8::/64 to 2001:db8:0:ffff::/64, and its last address is 2001:db8:0:ffff:ffff:ffff:ffff:ffff. The 2001:db8::/32 range is reserved for documentation, so it is labelled as such.
Frequently asked questions
Why is every LAN a /64?
Stateless address autoconfiguration (SLAAC) builds a 64-bit interface identifier, so hosts expect a /64. Smaller subnets break it; /127 is used only on router-to-router links.
How many /64s is a /56?
2^(64 − 56) = 256. A /48 holds 65,536 and a /60 holds 16.
What is fd00::/8?
Unique local addresses (fc00::/7 with the L bit set) are for private networks, like 10.0.0.0/8 in IPv4. Pick a random 40-bit global ID to avoid clashes.
Sources
Last updated:
Page address with these inputs: https://kakao.mobile/tools/ipv6-subnet-calculator/
Cite or embed this tool
kakaoCalc. (2026, November 8). IPv6 Subnet Calculator. https://kakao.mobile/tools/ipv6-subnet-calculator/
“IPv6 Subnet Calculator.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/ipv6-subnet-calculator/.
Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms