IPv6 Subnet Calculator

Paste any IPv6 address or prefix to get its canonical and expanded forms, the full address range, how many /64 networks it holds, its address type and its reverse DNS name. Then split it into smaller prefixes.

  • 100% free
  • Runs in your browser – nothing uploaded
  • No sign-up
Examples:
Network prefix
–

Split this prefix

Advanced options output format

RFC 5952 recommends lowercase, compressed output – switch these on only if a device or import format needs them.

IPv6 addressing in 60 seconds

An IPv6 address is 128 bits, written as eight groups of four hexadecimal digits: 2001:0db8:0000:0000:0000:0000:0000:0001. Two shortening rules make it readable. You can drop leading zeros in each group, and you can replace one run of all-zero groups with ::. The result is 2001:db8::1.

RFC 5952 defines one canonical way to write every address: lowercase, no leading zeros, :: for the longest run of two or more zero groups (the first one on a tie), and never :: for a single zero group. Consistent notation matters when you search logs, compare firewall rules or write documentation. This calculator always outputs the canonical form.

Common prefix sizes

PrefixTypical useNumber of /64 networks
/32Allocation to an ISP or large organisation (from an RIR such as APNIC)4,294,967,296
/48A whole site or enterprise65,536
/56A home or small-business customer256
/64A single LAN / VLAN. Required for SLAAC1
/127Point-to-point router links (RFC 6164)–
/128A single host, loopback or anycast address–
📏

Plan on nibble boundaries. Prefixes that are multiples of 4 (/48, /52, /56, /60, /64) line up with hex digits, so subnets are easy to read: 2001:db8:abcd:0100::/56, 2001:db8:abcd:0200::/56. Use the split tool above to generate the list.

IPv6 address types

PrefixType
2000::/3Global unicast (public internet)
fc00::/7Unique local addresses (ULA), the IPv6 equivalent of private ranges. In practice fd00::/8
fe80::/10Link-local. Every interface has one, and it’s used by Neighbor Discovery and routing protocols
ff00::/8Multicast (IPv6 has no broadcast). ff02::1 = all nodes
::1/128 · ::/128Loopback · unspecified
::ffff:0:0/96IPv4-mapped addresses
2001:db8::/32Documentation and examples
64:ff9b::/96NAT64 well-known prefix

Frequently asked questions

How many IPv6 addresses are in a /64?

264 = 18,446,744,073,709,551,616. That’s why a /64 is the standard size for a single LAN, and why you don’t count usable hosts in IPv6 the way you do in IPv4.

Does IPv6 have a broadcast address?

No. IPv6 uses multicast instead. For example, ff02::1 reaches all nodes on the local link. So there’s no network/broadcast subtraction when counting addresses.

Why must I use /64 for LANs?

Stateless address autoconfiguration (SLAAC) builds a 64-bit interface identifier, so it needs exactly a /64. Smaller subnets break SLAAC and some other features.

What is the ip6.arpa name used for?

It’s the name you create a PTR record for when setting up reverse DNS for an IPv6 address. Each hex digit (nibble) is reversed and separated by dots.