EN
My tools

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.

Network
2001:db8:abcd::/48
Subnets after split
65,536
2^16 subnets of /64
Network (expanded)
2001:0db8:abcd:0000:0000:0000:0000:0000
First address
2001:db8:abcd::
Last address
2001:db8:abcd:ffff:ffff:ffff:ffff:ffff
Total addresses
1,208,925,819,614,629,174,706,176
2^80
Number of /64 networks
65,536
Address type
Documentation (RFC 3849)
Prefix mask
ffff:ffff:ffff::
First 16 of 65,536 /64 subnets
#SubnetFirst addressLast address
12001:db8:abcd::/642001:db8:abcd::2001:db8:abcd:0:ffff:ffff:ffff:ffff
22001:db8:abcd:1::/642001:db8:abcd:1::2001:db8:abcd:1:ffff:ffff:ffff:ffff
32001:db8:abcd:2::/642001:db8:abcd:2::2001:db8:abcd:2:ffff:ffff:ffff:ffff
42001:db8:abcd:3::/642001:db8:abcd:3::2001:db8:abcd:3:ffff:ffff:ffff:ffff
52001:db8:abcd:4::/642001:db8:abcd:4::2001:db8:abcd:4:ffff:ffff:ffff:ffff
62001:db8:abcd:5::/642001:db8:abcd:5::2001:db8:abcd:5:ffff:ffff:ffff:ffff
72001:db8:abcd:6::/642001:db8:abcd:6::2001:db8:abcd:6:ffff:ffff:ffff:ffff
82001:db8:abcd:7::/642001:db8:abcd:7::2001:db8:abcd:7:ffff:ffff:ffff:ffff
92001:db8:abcd:8::/642001:db8:abcd:8::2001:db8:abcd:8:ffff:ffff:ffff:ffff
102001:db8:abcd:9::/642001:db8:abcd:9::2001:db8:abcd:9:ffff:ffff:ffff:ffff
112001:db8:abcd:a::/642001:db8:abcd:a::2001:db8:abcd:a:ffff:ffff:ffff:ffff
122001:db8:abcd:b::/642001:db8:abcd:b::2001:db8:abcd:b:ffff:ffff:ffff:ffff
132001:db8:abcd:c::/642001:db8:abcd:c::2001:db8:abcd:c:ffff:ffff:ffff:ffff
142001:db8:abcd:d::/642001:db8:abcd:d::2001:db8:abcd:d:ffff:ffff:ffff:ffff
152001:db8:abcd:e::/642001:db8:abcd:e::2001:db8:abcd:e:ffff:ffff:ffff:ffff
162001:db8:abcd:f::/642001:db8:abcd:f::2001:db8:abcd:f:ffff:ffff:ffff:ffff
My tools →
Advertisement

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

  1. Type an address with its prefix length, such as 2001:db8:abcd::/48 (any address inside the network works).
  2. Choose the subnet size to split into — /64 for LANs is typical.
  3. Set how many subnets to list (up to 256).
  4. 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:

Cite or embed this tool
APA

kakaoCalc. (2026, November 8). IPv6 Subnet Calculator. https://kakao.mobile/tools/ipv6-subnet-calculator/

MLA

“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

Advertisement