IPv6 Subnet Calculator

Free IPv6 subnet calculator: expand and compress addresses, find the network prefix, first and last address and the number of /64 subnets.

IPv6 prefix sizes

PrefixTypical use/64 networks
/32ISP allocation4,294,967,296
/48Business site65,536
/56Home (common ISP delegation)256
/64Single LAN / VLAN1
/128Single host–

IPv6 address shortening rules

Leading zeros in each 16-bit group can be dropped, and one run of all-zero groups can be replaced by ::. For example 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1. For IPv4, use the CIDR subnet calculator.

Frequently asked questions

Why does every IPv6 LAN use /64?

SLAAC (automatic address configuration) needs 64 bits for the interface ID, so home and office LANs use a /64 prefix.

What prefix will my ISP give me?

Commonly a /56 (256 × /64 networks) or /48 (65,536 × /64). Some ISPs only give a single /64.