Skip to main content

IPv6 subnet calculator.

Enter an IPv6 address and prefix length to see the range it covers and how big it is.

Input

For example 2001:db8:abcd::/48

Result

Network (CIDR)
2001:db8:abcd::/48
Address
2001:db8:abcd:12::1
First address
2001:db8:abcd::
Last address
2001:db8:abcd:ffff:ffff:ffff:ffff:ffff
Prefix length
/48
Total addresses
2^80
/64 networks
65,536 (2^16)

2001:db8:abcd::/48: 2^80 addresses

How it works

IPv6 addresses are 128 bits long, written as eight groups of four hex digits. Leading zeros in a group can be dropped, and one run of all-zero groups can be replaced by "::", which is the short form shown by default.

A /64 is the standard size for a single network segment, so the number of /64s tells you how many separate LANs a prefix can hold. Providers usually assign a /48 or /56 to a site.

Everything is calculated in your browser; nothing you type is sent to us.