IPv6 Prefix Calculator – Expand, Compress & Range

Compress or expand IPv6 addresses, compute the first and last address of a prefix and the address count, and identify link-local, loopback and documentation ranges.

Click to copy

Enter an IPv6 address, e.g. 2001:db8::1/64

How it works

An IPv6 address is 128 bits. The prefix length fixes the network bits; the remaining bits determine how many addresses the prefix holds (a power of two).