How to use the IPv6 Subnet Calculator tool
- Enter an address like 2001:db8:abcd:12::1/64.
- Read the network, range and other values.
- Choose a longer prefix and click “List first subnets” to plan subnets.
How IPv6 prefixes work
IPv6 addresses have 128 bits, written as eight groups of four hexadecimal digits. Leading zeros in a group can be dropped, and one run of all-zero groups can be replaced with ::, which is why 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1. The calculator shows both forms following RFC 5952.
Subnetting in IPv6 is mostly about prefixes rather than host counts. A /64 is the standard size for a single LAN, because stateless address autoconfiguration (SLAAC) needs 64 bits for the interface identifier. Internet providers typically assign a /48 or /56 to a site, which gives 65,536 or 256 /64 networks.
Address types
- 2000::/3: global unicast, the public internet.
- fc00::/7: unique local addresses, the IPv6 equivalent of private ranges.
- fe80::/10: link-local, present on every interface and never routed.
- ff00::/8: multicast. IPv6 has no broadcast.
- 2001:db8::/32: reserved for documentation and examples.
Privacy
All calculations run in your browser. Nothing you enter is sent anywhere.
IPv6 prefix sizes at a glance
| Prefix | Number of /64 networks | Typical use |
|---|---|---|
| /32 | 4,294,967,296 | Allocation to an internet provider |
| /40 | 16,777,216 | Large organisation or region |
| /44 | 1,048,576 | Large organisation |
| /48 | 65,536 | One site, company or campus |
| /52 | 4,096 | Smaller site or building |
| /56 | 256 | Home or small office from a provider |
| /60 | 16 | Some home connections |
| /64 | 1 | One LAN or VLAN (needed for SLAAC) |
| /127 | n/a (2 addresses) | Point-to-point router link (RFC 6164) |
| /128 | n/a (1 address) | Loopback or a single host route |
Planning an IPv6 address plan
With a /48 for a site, a common plan uses the 16 bits between /48 and /64 to describe the network: for example the first hex digit for the building or location, the next for the purpose (users, servers, guests, management) and the last two for the VLAN number. Then 2001:db8:abcd:1210::/64 can be read as location 1, purpose 2, VLAN 10. A readable plan makes firewall rules and troubleshooting much easier than handing out networks one after another.
With a /56 from a home or small-office provider, you have 256 /64 networks, which is still plenty for separate LAN, guest, IoT and lab networks.
Useful special addresses
- ::1: the loopback address, like 127.0.0.1 in IPv4.
- ::: the unspecified address, used before an interface has an address.
- 64:ff9b::/96: the well-known prefix for NAT64, used to reach IPv4-only services from IPv6-only networks.
- ::ffff:0:0/96: IPv4-mapped addresses, how dual-stack software represents IPv4 connections.
Frequently asked questions
Why is there no broadcast address in IPv6?
IPv6 replaced broadcast with multicast, so every address in a subnet can be used.
Should I use a /64 for every LAN?
Yes. Smaller subnets break SLAAC and some features. Use /127 for point-to-point router links.
How many /64 networks are in a /48?
65,536.
What is the ip6.arpa name used for?
Reverse DNS. It lists every hexadecimal digit of the address in reverse order.
How many /56 networks fit in a /48?
256. Each step of 8 bits multiplies the number of networks by 256.
Should I use unique local addresses (fc00::/7)?
Use them for internal services that must keep the same address when your provider prefix changes. Generate a random /48 inside fd00::/8 rather than picking an easy one, so networks can be connected later without conflicts.
Do I still need NAT with IPv6?
Usually not. Every device can have a global address, and a stateful firewall on the router blocks unsolicited incoming connections, which gives the protection people associate with NAT.
