Networking

IPv6 Calculator

Expand or compress an IPv6 address and get its prefix, range, type and address count.

IPv6 address and prefix

Shorthand :: and an embedded IPv4 suffix are accepted.

IPv6 in brief

An IPv6 address is 128 bits, written as eight groups of four hex digits. Two rules keep it readable: leading zeros in a group can be dropped, and one run of all-zero groups can be replaced by ::. This tool shows both the tidy compressed form and the fully expanded form, so you can paste whichever a device or config expects.

  • Network / prefix — the address with host bits cleared, e.g. a /64 for a typical LAN.
  • Addresses in prefix — 2(128−prefix). A single /64 already holds 18 quintillion addresses.
  • Type — global unicast (2000::/3), unique local / ULA (fc00::/7), link-local (fe80::/10), multicast (ff00::/8) and the loopback/unspecified specials.

IPv6 doesn't use broadcast addresses or a network/broadcast reservation the way IPv4 does, so every address in a prefix is usable; the "first" and "last" here are simply the bounds of the range.

These calculators run entirely in your browser — nothing you type is sent anywhere. Results are estimates for planning; validate against your vendor's documentation before you buy or deploy.