How Does IPv6 Subnetting Work?
An IPv6 address has 128 bits. The prefix length (for example /48) says how many leading bits identify the network; the rest identify subnets and interfaces. Standard LAN subnets are /64, so a /48 site allocation contains 65,536 /64 networks, each with 18 quintillion addresses.
- Calculations
- Network, first/last address, total addresses, /64 count
- Formatting
- RFC 5952 compression and full 8-group expansion
- Extras
- ip6.arpa reverse name, address type, subnet split
- Privacy
- Runs entirely in your browser using BigInt math
Planning an IPv6 Address Plan
IPv6 removes the scarcity that forced complex NAT designs in IPv4. A good plan assigns a /48 per site, a /56 or /60 per building or customer, and a /64 for every VLAN, leaving room to grow. Aligning subnet boundaries on nibbles (multiples of 4 bits) keeps addresses readable and makes reverse DNS delegation simple.
Common IPv6 Prefix Sizes
| Prefix | Typical Use | /64 Subnets Inside |
|---|---|---|
| /32 | ISP allocation from an RIR | 4,294,967,296 |
| /48 | Business site or data center | 65,536 |
| /56 | Home broadband customer | 256 |
| /64 | Single LAN / VLAN (SLAAC) | 1 |
| /128 | Single host or loopback | — |
How to Calculate an IPv6 Subnet
-
1 Enter address and prefix
Type an address like 2001:db8:abcd::/48 or set the prefix separately.
-
2 Read the range
See the network, first and last address, total size and /64 count instantly.
-
3 Split the prefix
Choose a smaller prefix such as /64 to list the resulting subnets.
Frequently Asked Questions
Why are IPv6 LANs always /64?
Stateless address autoconfiguration (SLAAC) uses the last 64 bits for the interface identifier, so a /64 is required for most devices to configure themselves.
How do I compress an IPv6 address?
Remove leading zeros in each group and replace the longest run of zero groups with "::" once, as defined in RFC 5952. The calculator does this automatically.
What is ip6.arpa?
It is the reverse DNS zone for IPv6. Each hex digit of the expanded address is reversed and separated by dots to form the PTR record name.
Is there a broadcast address in IPv6?
No. IPv6 uses multicast instead of broadcast, so every address in a subnet is usable.