IPv6 Subnet Calculator
Instantly expand, compress, and analyze IPv6 addresses. Determine your network prefix, address type, scope, and host interface ID in real-time.
IPv6 Calculator
This IPv6 Calculator simplifies working with 128-bit IP addresses. Enter your IPv6 address and adjust the prefix length to instantly expand or compress the address, separate your network and host portions, and identify the exact address type and routing scope.
Valid IPv6 required (e.g. 2001:db8::1)
IPv6 Details
| Network Address | — |
|---|---|
| Full IPv6 Address | — |
| Compressed Address | — |
| Network Prefix (Hex) | — |
| Host Portion (Interface ID) | — |
| First Address | — |
| Last Address | — |
| Total Addresses | — |
| Address Type | — |
| Scope | — |
| Number of /64 Networks | — |
How to Use the IPv6 Calculator
IPv6 addresses are 128-bit identifiers represented as eight groups of four hexadecimal digits. This calculator simplifies analyzing these massive addresses.
- Enter an IPv6 Address: Type the address into the input field. You can use standard compressed notation (e.g.,
2001:db8::1) or fully expanded notation. - Adjust Prefix Length: Use the slider or the direct input box to set the prefix length (from
0to128). In most modern deployments,/64is the standard size for a single local subnet. - Review the Analysis: The calculator instantly expands the address to its full 32-character form, compresses it to its shortest valid form, and separates the Network Prefix from the Host Portion (Interface ID).
Example Calculation
If you input the IPv6 address 2001:0db8:85a3:0000:0000:8a2e:0370:7334 with a prefix of /64, the output generated will be:
| Network Address | 2001:db8:85a3::/64 |
|---|---|
| Full IPv6 Address | 2001:0db8:85a3:0000:0000:8a2e:0370:7334 |
| Compressed Address | 2001:db8:85a3::8a2e:370:7334 |
| Network Prefix (Hex) | 2001:0db8:85a3:0000::… |
| Host Portion (Interface ID) | 0000:0000:0000:0000:0000:8a2e:0370:7334 |
| Total Addresses | 2^64 (≈1.84×10^19) |
| Address Type | Documentation (2001:db8::/32) |
| Scope | Global |
Did you know? Unlike IPv4, IPv6 does not use broadcast addresses. Instead, it relies heavily on multicast addresses (starting with
ff00::/8) to deliver packets to multiple nodes.