IPv6 Subnet Calculator Guide

Calculate IPv6 subnet boundaries, host ranges, and prefix sizes. Covers /64, /48, /128 sizing with dual-stack planning for AWS, Azure, and home networks.

ZERO UPLOAD · ALL LOCAL
  1. Enter an IP address (IPv4 like 192.168.1.0 or IPv6 like 2001:db8::) into the input box.
  2. Set the CIDR prefix using the number input. The tool auto-detects IPv4 or IPv6.
  3. Results appear instantly: network address, usable IP range, host count, and more.
  4. Use the Copy buttons next to each field to grab individual values.
  5. Toggle between IPv4 and IPv6 by simply changing the IP address format.

What to look for

  • 65,536 /64 subnets
  • 256 /64 subnets
/

SUBNET CALCULATION RESULTS

IP Version
Network Address
Broadcast Address
First Usable IP
Last Usable IP
Total Addresses
Usable Hosts
Wildcard Mask
CIDR Notation
IP Class
IP Type
Binary (IP)
Binary (Mask)
Hex Range Start
Hex Range End
Usable Host Count

IPv6 Subnet Calculator Guide

IPv6 subnetting uses 128-bit addresses. Unlike IPv4, every link segment is a /64 by default because SLAAC requires that fixed host-portion size to auto-configure interface addresses.1 Planning an IPv6 address scheme means allocating /48s for sites, /64s for segments, and /128s for specific host routes.

Modern ISPs hand out a /48 to residential and small-business customers, providing 65,536 /64 subnets for one per VLAN or LAN segment.2 Dual-stack deployments run IPv4 and IPv6 simultaneously, which means planning two separate CIDR trees that mirror each other. Cloud providers like AWS and Azure also require IPv6 CIDR blocks attached to VPCs, adding a second addressing layer to your infrastructure.

IPv6 prefix mechanics

Inside a /48 allocation, the third 16-bit group identifies the subnet, giving 65,536 distinct /64 subnets for any site-level deployment.3 Each /64 segment contains 2^64 addresses, more than enough for every device conceivable on a single LAN. This abundance means you never need to calculate host counts per subnet the way IPv4 forces you to, because every segment has more addresses than it will ever consume.

SLAAC requirements and /64 boundaries

SLAAC (Stateless Address Autoconfiguration) requires /64 boundaries because it embeds the 64-bit EUI-64 MAC-derived identifier into the host portion.4 Consequently, subnets smaller than /64 break SLAAC entirely and are incompatible with the majority of IPv6-capable operating systems. Building on this, /128 addresses a single host, equivalent to IPv4's /32, used in host routes, loopback addresses (::1/128), and security group rules targeting a specific server.

Dual-stack planning

Dual-stack networks run IPv4 and IPv6 simultaneously on every interface, requiring two separate CIDR trees that do not interfere with each other. A practical dual-stack plan mirrors the IPv4 VLAN structure in IPv6: VLAN 10 in IPv4 gets 10.0.10.0/24, and in IPv6 gets a /64 drawn from the site /48 (for example, 2001:db8:1:10::/64). This mirroring approach keeps firewall rules and routing tables intuitive.

Cloud provider dual-stack considerations

AWS VPCs support IPv6 CIDR blocks alongside the primary IPv4 CIDR, with each subnet receiving a /64 from the VPC /56 or /48 block.5 Azure VNets assign /48 or /56 prefixes per VNet, then distribute /64 per subnet.6 Consequently, the dual-stack plan doubles the number of CIDR ranges to track, making an IPAM or spreadsheet allocation essential before deploying resources.

Reserve IPv6 space for future growth the same way you reserve IPv4. A site that expects only a handful of VLANs today may add IoT, guest, and management segments later, and burning through a /48 too quickly forces a painful renumber. CapyToolkit shows each subnet boundary so you can confirm the IPv6 /64 lines up with the matching IPv4 /24 before you submit the cloud console form.

Using the calculator with IPv6 prefixes

Enter any IPv6 address, formatted with colons and optional :: compression, into the calculator. The tool auto-detects the address family and switches to 128-bit mode. Set the prefix to /48 to see the site allocation boundary, or /64 to see the standard segment. Results include the compressed network address, first host, last host, and total address count. Consequently, you can use the subnet calculator to plan IPv6 /64 subnets for Kubernetes pods, and verify that your /64 subnet boundaries align correctly before committing them to router configs or cloud console forms.

Comparing IPv4 and IPv6 results side by side

For dual-stack work, open two browser tabs, one with your IPv4 CIDR and one with the IPv6 prefix, and compare the output side by side to confirm your VLAN-to-subnet mapping is consistent across both protocols. This catches mismatches where an IPv4 /24 maps to a different VLAN number than the corresponding IPv6 /64, which would cause asymmetric routing in a dual-stack environment.

NDP and IPv6 neighbor discovery on local segments

IPv6 Neighbor Discovery Protocol (NDP) replaces ARP with a more robust mechanism that operates over ICMPv6.7 When an IPv6 host needs the MAC address for a destination on the same segment, it sends a Neighbor Solicitation (NS) to the solicited-node multicast address (ff02::1:ffxx:xxxx, derived from the last 24 bits of the target address). Only hosts whose addresses match that suffix respond with a Neighbor Advertisement (NA), reducing unnecessary interruptions compared to ARP's broadcast-everyone approach.

Building on this, NDP also handles router discovery: hosts listen for Router Advertisements (RA) that carry the prefix, default gateway, and flags (M for managed, O for other configuration). The BE900 and other IPv6-capable routers send RAs on each LAN segment. If you run into connectivity issues where devices have link-local addresses but no global IPv6, check that the router's RA is reaching the segment. Wireshark filtering for icmpv6.type==135 (NS) and icmpv6.type==136 (NA) reveals whether neighbor discovery is functioning correctly.8

IPv6 subnetting for container and Kubernetes networks

Container runtimes and Kubernetes CNI plugins consume IPv6 address space differently than traditional VMs. With Azure CNI or AWS VPC CNI for EKS, each pod receives a VNet IP from the node's subnet, meaning the node subnet must be large enough for the maximum pod count per node. A /24 node subnet (251 usable in AWS) supports 110 pods per node (the default Kubernetes limit) with headroom for system pods and daemonsets.9

For IPv6, the calculation changes: each node receives a /64 from the pod CIDR, and every pod on that node draws from that /64's 2^64 addresses. Building on this, a /56 cluster pod CIDR provides 256 node /64s, enough for a 200-node cluster with room to grow. The subnet calculator's IPv6 mode shows the first and last addresses in each /64, which you can paste directly into your CNI configuration (for example, the aws-node daemonset's WARM_IP_TARGET and MINIMUM_IP_TARGET settings). Consequently, planning IPv6 pod CIDRs with the same rigor as IPv4 prevents the address exhaustion that silently breaks pod scheduling.

When to use this

Use this calculator when planning a new IPv6 address scheme, verifying dual-stack configurations, or checking that your ISP /48 allocation provides enough /64 subnets for your VLAN count.

Examples

Home network with a /48 ISP allocation planning 4 VLANs

Assign /64 subnets from 2001:db8::/48, one per VLAN, leaving 65,532 /64s unused for future expansion.

AWS VPC adding an IPv6 CIDR block alongside an existing 10.0.0.0/16

AWS assigns a /56 to the VPC and allows you to request /64 per subnet. The calculator confirms subnet boundaries before configuring the VPC console.

Sources
  1. 1.

    R. Hinden and S. Deering, "IP Version 6 Addressing Architecture," RFC 4291, IETF, February 2006. https://www.rfc-editor.org/rfc/rfc4291.html

  2. 2.

    ARIN, "IPv6 Addressing Plan Design for Service Providers," arin.net, July 2018. https://www.arin.net/vault/blog/2018/07/05/ipv6-addressing-plan-design-for-service-providers/

  3. 3.

    "IPv6 address," Wikipedia, accessed June 2026. https://en.wikipedia.org/wiki/IPv6_address

  4. 4.

    S. Thomson, T. Narten, T. Jinmei, "IPv6 Stateless Address Autoconfiguration," RFC 4862, IETF, September 2007. https://www.rfc-editor.org/rfc/rfc4862.html

  5. 5.

    Amazon Web Services, "IP addressing for your VPCs and subnets," docs.aws.amazon.com, accessed June 2026. https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html

  6. 6.

    Microsoft, "Overview of IPv6 for Azure Virtual Network," learn.microsoft.com, accessed June 2026. https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/ipv6-overview

  7. 7.

    "Neighbor Discovery Protocol," Wikipedia, accessed June 2026. https://en.wikipedia.org/wiki/Neighbor_Discovery_Protocol

  8. 8.

    Wireshark, "Display Filter Reference: Internet Control Message Protocol v6," wireshark.org, accessed June 2026. https://www.wireshark.org/docs/dfref/i/icmpv6.html

  9. 9.

    Amazon Web Services, "Increase the available IP addresses for your Amazon EKS node," docs.aws.amazon.com, accessed June 2026. https://docs.aws.amazon.com/eks/latest/userguide/cni-increase-ip-addresses-procedure.html

FAQ