ITEngineeringTools

IPv6 Subnet Calculator

Calculate the IPv6 prefix, expanded network address, last address, and address count.

Input

Result

How it works

The calculator expands IPv6 hextets and masks a 128-bit integer. The last address includes all host bits set. IPv6 uses multicast for functions that require broadcast in IPv4.

Formula

Count = 2^(128 − prefix). First address = address AND prefix mask.

Example

IPv6 address and prefix: 2001:db8:abcd:12::1/48

Network 2001:db8:abcd::/48 with 2^80 addresses.