IPv6 Subnet Calculator

Enter an IPv6 address or prefix (e.g. 2001:db8::/48 or 2001:db8::1/64) to see the network, range, and address count with both compressed and fully expanded forms.

IPv6 Input

Examples: 2001:db8::/32, 2001:db8:abcd:1::1/64, 2001:db8:: (assumes /64)

How IPv6 Subnetting Works

IPv6 uses 128-bit addresses, written as eight 16-bit blocks in hexadecimal, separated by colons. A prefix length such as /64 indicates how many of those 128 bits belong to the network portion; the remaining bits identify individual interfaces.

Typical Prefix Lengths

Zero Compression

IPv6 allows a run of consecutive all-zero blocks to be compressed with :: once per address (for example, 2001:db8:0:0:0:0:0:1 becomes 2001:db8::1). This calculator shows both the canonical compressed form and the fully expanded form.