IP subnet calculator for IPv6
IPv6 addresses are 128 bits long, written as eight groups of hexadecimal digits. Subnetting works exactly like IPv4 — a prefix length says how many leading bits identify the network — but the numbers are enormous, so this IPv6 subnet calculator uses exact 128-bit integer arithmetic rather than floating-point estimates.
IPv6 CIDR and prefix lengths
| Prefix | Typical use | /64 subnets |
|---|---|---|
| /32 | ISP allocation | 4,294,967,296 |
| /48 | Site / organisation | 65,536 |
| /56 | Home or small site | 256 |
| /64 | Single LAN (SLAAC) | 1 |
| /127 | Router point-to-point link | n/a |
See the IPv6 prefix length guide for the full reference and address types.
Compressing and expanding IPv6 addresses
Enter any valid form — compressed (2001:db8::1), expanded or with an embedded IPv4 tail (::ffff:192.0.2.1) — and the calculator shows both the expanded and RFC 5952 canonical representation, the reverse DNS ip6.arpa name and the address type (global unicast, unique local, link-local, multicast and more).
IPv4 or IPv6?
Working with legacy networks? Use the IPv4 subnet calculator, or the CIDR calculator for notation conversions that apply to both families.