InfraBench / network / ipv6-cidr

IPv6 CIDR & Subnet Expansion Calculator

Exact 128-bit BigInt IPv6 prefix math, RFC 5952 compression, full expansion, scope detection & subnet splits

Presets:
Compressed Network (RFC 5952)
-
-
Full Expanded Form
-
32 hex digits
Last Address in Prefix
-
-
Contained /64 Subnets
-
standard LAN segments
IPv6 Subnet Allocation Plan (First 16)
#Subnet Prefix (Compressed)Expanded StartLast Address

IPv6 Addressing & Nibble-Boundary Subnetting Best Practices

Unlike IPv4 subnetting (see our IPv4 CIDR & VPC Planner), IPv6 provides a 128-bit address space designed so every LAN segment uses a standard /64 prefix to support Stateless Address Autoconfiguration (SLAAC).

  • Allocate on 4-bit Nibble Boundaries: Splitting on multiples of 4 bits (/48 → /52 → /56 → /60 → /64) aligns cleanly with hexadecimal digits, making routing tables and reverse DNS (ip6.arpa) vastly easier to operate.
  • Typical Prefix Sizes: Organizations receive a /48 (65,536 /64 subnets); residential ISPs delegate a /56 (256 /64 subnets) or /60; AWS VPCs allocate a /56 per VPC and /64 per subnet.
  • RFC 5952 Canonical Compression: Always shorten only the longest run of two or more all-zero 16-bit groups using :: (breaking ties by choosing the leftmost run) and use lowercase hex letters.

Frequently Asked Questions

What is an IPv6 Unique Local Address (ULA, fc00::/7)?

ULA prefixes in fd00::/8 (with a randomly generated 40-bit Global ID) act like IPv4 RFC 1918 private networks for internal-only routing across home labs or private VPNs without colliding across sites.