Skip to content
D DocNectar

Free IPv6 Subnet Calculator

Calculate the network range, host bits, and /64 breakdown of an IPv6 CIDR block.

100% Free No Signup Works on all devices

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

IPv6 subnetting works on 128-bit addresses rather than IPv4's 32 bits, and — unlike IPv4 — there's no separate broadcast address reserved out of the range. This calculator finds an IPv6 block's network address, last address, host bits, and how many /64 subnets it contains.

How it works

Enter an IPv6 address with a CIDR prefix (e.g. 2001:db8::/32) and the calculator zeroes out the host bits to find the network address, sets them all to 1 to find the last address in the block, and computes the total address count using arbitrary-precision math (since 2^(128-prefix) overflows any native integer type).

  1. Enter iPv6 address with prefix (CIDR).
  2. Click Calculate to see your results.

Examples

A /32 allocation

2001:db8::/32 spans from 2001:db8:: through 2001:db8:ffff:ffff:ffff:ffff:ffff:ffff — over 79 octillion addresses, split into 4,294,967,296 individual /64 subnets.

Who should use it

  • Planning IPv6 address allocation for a network deployment.
  • Educational exploration of IPv6's much larger address space compared to IPv4.

Industry applications

  • Network engineering and ISP address planning
  • IT infrastructure and hosting/DevOps

Advantages

  • Handles true 128-bit IPv6 math via inet_pton()/inet_ntop() rather than approximating with 32-bit-sized logic.
  • Reports the /64 subnet breakdown for common network planning use.

Limitations

  • Doesn't special-case the reserved all-zeros "subnet-router anycast" host address within a block.

Common mistakes to avoid

  • Assuming IPv6 has a broadcast address reserved out of the range the way IPv4 does — it doesn't.
  • Mentally applying IPv4's 32-bit "reserve first and last address" habit directly to IPv6 math without adjusting for the different bit width.

Best practices

  • When planning subnets, remember /64 is the conventional smallest allocation per network segment — splitting smaller can break SLAAC on that segment.
  • Use the address count only as a scale reference — with IPv6's enormous address space, exhaustion planning works very differently than with IPv4.

Tips

  • Pair this with the IPv6 Compressor/Expander tool to convert individual addresses between their compressed and fully expanded forms.

Frequently asked questions

Yes, with no signup and no limit on how many calculations you run.
IPv6 dropped the broadcast concept entirely in favor of multicast — every address in a block (aside from the conventional all-zeros "subnet-router anycast" address) is available as a regular host address.
IPv6 addresses are 128 bits rather than 32, which is genuinely different math — IPv4-sized integer arithmetic can't represent an IPv6 address, and there's no broadcast-address special case to handle.
A /64 is the standard subnet size recommended for a single IPv6 network segment (e.g. one LAN) — it's large enough (2^64 addresses) that stateless address autoconfiguration (SLAAC) can rely on that fixed boundary.

Get new calculators and guides in your inbox

No spam — just new tools like IPv6 Subnet Calculator and practical guides.

Favorites