IPv6 Subnet Calculator

Compress or expand an IPv6 address to its canonical form (RFC 5952) and, when you provide a prefix, calculate the network address, the last address in the range, and the exact address count — entirely in your browser.

All calculations run entirely in your browser — the address you enter is never sent to a server.

See also: IPv4 Subnet Calculator.

Compressed form
2001:db8::
Expanded form
2001:0db8:0000:0000:0000:0000:0000:0000

Subnet /32

Prefix/32
Number of addresses in range79,228,162,514,264,337,593,543,950,336
Network address
2001:db8::

Expanded form: 2001:0db8:0000:0000:0000:0000:0000:0000

Last address in range
2001:db8:ffff:ffff:ffff:ffff:ffff:ffff

Expanded form: 2001:0db8:ffff:ffff:ffff:ffff:ffff:ffff

IPv6 has no broadcast address — the "last address" above is just the upper bound of the range; every address in the subnet (including the network address) can be assigned to a host.