Free IPv6 subnet calculator
IPv6 Subnet Calculator
Enter an IPv6 prefix and the subnet size you want. A /48 holds 65,536 subnets of /64, the standard size for one network, and each /64 has 264 addresses. The calculator counts the subnets, lists the first ones and gives the reverse DNS zones.
Split an IPv6 prefix
2001:db8:abcd::/48 as /64 subnets
This is an example result. Enter your own prefix above and press Calculate.
- Prefix
- 2001:db8:abcd::/48
- First address
- 2001:db8:abcd::
- Last address
- 2001:db8:abcd:ffff:ffff:ffff:ffff:ffff
- Addresses in the prefix
- 1,208,925,819,614,629,174,706,176 (2^80)
- Subnets of /64
- 65,536
- Networks of /64
- 65,536
Reverse DNS zone
- d.c.b.a.8.b.d.0.1.0.0.2.ip6.arpa
Delegate this zone to your DNS server to publish PTR records for the prefix.
The first 16 of 65,536 subnets
| # | Subnet | Address range |
|---|---|---|
| 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 prefix sizes in practice
| Prefix | Typical use | /64 networks |
|---|---|---|
| /32 | An ISP or large organisation from a regional registry | 4,294,967,296 |
| /48 | One site: a company office, campus or home with room to grow | 65,536 |
| /56 | A small site or a home connection | 256 |
| /64 | One network (LAN, VLAN). Needed for SLAAC to work | 1 |
| /127 | A point-to-point link between two routers (RFC 6164) | - |
| /128 | A single host, such as a loopback address | - |
IPv6 has no broadcast address, so every address in a subnet is usable, and a subnet is almost never sized by how many hosts it holds. Give every network a /64 and spend your design effort on how the bits above it are laid out: for example the next 8 bits of a /48 for the building and the last 8 for the floor. Each such block of 16 bits gives 65,536 networks.
To split blocks of mixed sizes, use the VLSM calculator (it works for IPv6 too), or check two prefixes for conflicts with the overlap checker.
Built and maintained by Bhavesh Vala. Last reviewed . Every calculation uses the same tested rules as the subnet planner, including /31, /32 and IPv6. About