IPv6 Subnet Calculator

Enter an IPv6 address and prefix length to see the subnet prefix, interface ID, compressed/expanded forms, and address type (link-local, global unicast, etc.).

Enter an IPv6 address.

CIDR prefix length. Typical: /64 for LANs.

Result

Enter your values and press Calculate — the result appears here.

Worked examples

Calculate /64 subnet

  • ip = 2001:0db8:85a3:0000:0000:8a2e:0370:7334
  • prefix = 64

Result: Prefix: 2001:db8:85a3::/64

Frequently asked questions

Why is /64 the standard for LANs?

IPv6 SLAAC (Stateless Address Autoconfiguration) requires /64 to generate interface IDs from MAC addresses (or privacy extensions).

What is an interface ID?

The interface ID is the host portion of an IPv6 address (similar to the host part in IPv4). It is 64 bits for standard subnets.

Copied!