IPv6 Calculator
Paste an IPv6 address with its prefix and get the network, the compressed and expanded forms, the range, how many /64s fit and the address type.
Address notation
- Compressed
—- Expanded
—- Reverse DNS
—
IPv6 address types
| Prefix | Type |
|---|---|
| ::/128 | Unspecified |
| ::1/128 | Loopback |
| ::ffff:0:0/96 | IPv4-mapped |
| 2000::/3 | Global unicast |
| 2001:db8::/32 | Documentation |
| fc00::/7 | Unique local (ULA) |
| fe80::/10 | Link-local |
| ff00::/8 | Multicast |
Runs locally in your browser · no sign-up · nothing leaves your browser
How it works
The calculator takes an IPv6 address with its prefix (for example 2001:db8::/48) and breaks it down completely: compressed and expanded forms, network address, full block range, how many addresses it contains, how many /64 subnets fit, the address type (global unicast, ULA, link-local, multicast, documentation, etc.) and the reverse DNS record under ip6.arpa. It accepts :: compression and embedded IPv4 (::ffff:192.0.2.1).
Internally it works with the full 128 bits: it ANDs the prefix mask with the address to get the network and uses its inverse for the last address of the block, exactly like a router. The compressed form follows the canonical rules of RFC 5952 (lowercase, no leading zeros, :: on the longest zero run) and the type classification follows the IANA ranges: 2000::/3 global, fc00::/7 ULA, fe80::/10 link-local, ff00::/8 multicast and 2001:db8::/32 for documentation.
Example: what is inside 2001:db8::/48?
- The network is
2001:db8::and the range runs from2001:db8::to2001:db8:0:ffff:ffff:ffff:ffff:ffff. - There are
128 − 48 = 80host bits left: 2^80 ≈ 1.2 × 10^24 addresses. - Between /48 and /64 there are 16 subnet bits:
2^16 = 65,536available /64 subnets. - The detected type is Documentation (2001:db8::/32): that block is reserved for examples and is not routed on the internet.