ipv6 prefix calculator

You may include the prefix in the address field (e.g. /48).
If provided, calculator also shows subnet count and addresses per subnet.

What this IPv6 prefix calculator does

This tool helps you quickly determine the network information for an IPv6 address and CIDR prefix. Enter an address and prefix length, and it calculates the normalized address, network prefix, full address range, mask, and host-space size. If you also provide a target subnet prefix, it calculates how many subnets are available and how many addresses live in each subnet.

Why IPv6 prefix math matters

IPv6 uses 128-bit addresses, which is much larger than IPv4. Because the address space is so large, planning is usually done with prefixes rather than individual host ranges. Understanding how to split and assign prefixes is essential for:

  • Enterprise network design
  • Data center segmentation
  • ISP aggregation and route summarization
  • Home-lab and cloud architecture

Quick refresher: IPv6 CIDR notation

Prefix length basics

In CIDR notation, /n means the first n bits are the network portion and the remaining 128 - n bits are host/interface space. For example:

  • /48 leaves 80 host bits
  • /56 leaves 72 host bits
  • /64 leaves 64 host bits (common LAN size)

Common operational prefixes

  • /32 – often allocated to large providers or organizations
  • /48 – common customer/site allocation
  • /64 – standard subnet size for most LAN segments
  • /128 – single host/endpoint address

How to use the calculator

  1. Enter an IPv6 address (compressed or expanded format).
  2. Enter a prefix length from 0 to 128.
  3. (Optional) Enter a target subnet prefix for subnetting calculations.
  4. Click Calculate Prefix.

Tip: You can paste an address with CIDR directly into the first field, such as 2001:db8:1234::9/48.

Example planning scenario

Suppose your organization receives 2001:db8:1000::/48. If you plan to deploy /64 networks for each VLAN, the number of subnets is:

2^(64 - 48) = 65,536 subnets

That gives plenty of room to create structured allocations by building, function, environment, or business unit while still keeping routes easy to summarize.

Practical tips for clean IPv6 design

  • Keep subnet boundaries nibble-aligned when possible (e.g., /48, /52, /56, /60, /64).
  • Use consistent allocation blocks per region or function.
  • Document prefix ownership and purpose in your IPAM system.
  • Design for growth so renumbering is rare.
  • Prefer aggregation-friendly layouts to minimize route complexity.

Frequently asked questions

Is there a broadcast address in IPv6?

IPv6 does not use broadcast in the IPv4 sense. This calculator still displays the last address in the prefix range, which is useful for understanding boundaries.

Why is /64 so common?

Many IPv6 mechanisms and operational practices assume /64 subnets. It provides a massive interface space and supports standard address-autoconfiguration behavior.

Can I use compressed addresses?

Yes. The calculator accepts compressed form (like 2001:db8::1) and expanded form. It returns normalized values in both compressed and expanded output where useful.

🔗 Related Calculators