IPv6 Subnet Calculator

Calculate IPv6 network addresses, prefix boundaries, and address ranges. The essential companion to our IPv4 subnet calculator for dual-stack network planning.

IPv6 Subnet Calculator

Calculate IPv6 network addresses, ranges, and prefix details

Network bits Host bits

Quick examples:

Common IPv6 Prefix Lengths

Common IPv6 prefix lengths with their typical use and address counts
Prefix Common Use Addresses
/128 Loopback / single host 1
/127 Point-to-point link 2
/64 Standard LAN subnet ~1.8×10¹⁹
/56 Residential allocation ~4.7×10²¹
/48 Standard site allocation ~1.2×10²⁴
/32 ISP allocation from RIR ~7.9×10²⁸
/16 Large ISP block ~5.2×10³³

IPv6 Subnetting Fundamentals

IPv6 uses 128-bit addresses (vs 32-bit in IPv4), providing a vastly larger address space. The standard subnet for a LAN is /64, which gives each network 2⁶⁴ addresses — more than enough for any local network.

IPv6 vs IPv4 Subnetting

  • 128-bit addresses vs 32-bit
  • Standard LAN prefix: /64 (vs variable in IPv4)
  • No broadcast addresses in IPv6
  • Hex notation with colons instead of decimal with dots
  • :: shorthand for consecutive zero groups

Common Allocations

  • /32 — ISP allocation from Regional Internet Registry
  • /48 — Standard site allocation (most common)
  • /56 — Residential / small site allocation
  • /64 — Single LAN subnet
  • /128 — Single host (loopback)

Related Subnet Calculator Tools

Tracking IPv6 prefixes across sites?

💾 Join the SubnetVault waitlist

IPv6 Subnetting FAQ

Why is /64 the standard IPv6 subnet size?

An IPv6 address is 128 bits, split by convention into a 64-bit network prefix and a 64-bit interface identifier. That lower half is what Stateless Address Autoconfiguration and RFC 4941 privacy addresses use to generate addresses, so shortening it breaks them. The result is that essentially every ordinary LAN gets a /64 regardless of how many devices sit on it, and you size networks by counting /64s rather than by counting hosts.

How many subnets does a /48 give me?

65,536 /64 subnets. Each bit between the site prefix and the /64 boundary doubles the count, and a /48 leaves 16 such bits, so 2^16 = 65,536. That is why a /48 is the common allocation for an entire site or organisation: a /56, frequently handed to residential customers, leaves 8 bits and therefore 256 /64s, which is still far more than a typical home needs.

Does IPv6 reserve a network and broadcast address like IPv4?

No. IPv6 has no broadcast address at all, replacing it with multicast, and it does not set aside a network address the way IPv4 does. The subnet-router anycast address, which is the all-zeros interface identifier, is reserved on a /64, but you do not lose the two addresses per subnet that IPv4 costs you. In practice the usable count on a /64 is so large that these reservations never affect planning.

How do I compress an IPv6 address correctly?

Drop the leading zeros within each of the eight hextets, then replace the single longest run of consecutive all-zero hextets with a double colon. The critical constraint is that :: may appear only once in an address, because more than one would make the number of zeros it stands for ambiguous. So 2001:0db8:0000:0000:0000:ff00:0042:8329 compresses to 2001:db8::ff00:42:8329.

Should I subnet on nibble boundaries?

It helps considerably. A nibble is four bits and maps to exactly one hexadecimal digit, so prefixes at /48, /52, /56, /60 and /64 fall on digit boundaries and keep the subnet number readable at a glance. Subnetting at a length like /59 works technically but splits a hex digit across the prefix boundary, which makes addresses harder to read and reverse-DNS delegation more awkward than it needs to be.

IPv6 Tools

Everything you need for IPv6 addressing — free, client-side, no signup.