Hero Background

Next-Gen App & Browser Testing Cloud

Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Next-Gen App & Browser Testing Cloud

Free IPv6 Subnet Calculator Online - TestMu AI (Formerly LambdaTest)

Expand and compress an IPv6 prefix, see its mask, address range, and /64 count, then divide it into smaller subnets, all in your browser.

IPv6 address

Divide the network into subnets:

At leastsubnets

What is an IPv6 Subnet Calculator?

An IPv6 subnet calculator takes an IPv6 prefix such as 2001:db8::/32 and works out everything about it: the compressed and fully expanded address, the network mask, the first and last address in the range, and how many /64 networks it contains. It then lets you divide that block into smaller, equally sized subnets.

Because an IPv6 address is 128 bits, doing this math by hand is error-prone. The calculator handles the full range with exact 128-bit arithmetic, so you get accurate prefixes and address counts for any block from a /0 down to a single /128 host.

Why IPv6 subnetting matters

IPv6 gives every organization an enormous address space, and subnetting is how you turn that space into a clean, routable network plan. Getting it right matters because:

  • Address planning: A tidy hierarchy of prefixes keeps routing tables small and makes the network easier to reason about and grow.
  • Avoiding overlap: Calculating exact ranges prevents two subnets from colliding, which causes hard-to-debug routing problems.
  • Right-sizing allocations: Handing each site or team the correct prefix length avoids both waste and running out of room later.
  • Security segmentation: Separate subnets let you apply firewall and access rules per network segment instead of one flat space.

How to use the IPv6 Subnet Calculator

Calculating and dividing an IPv6 network takes three steps:

  • Enter a prefix: Type an IPv6 address with a prefix length, for example 2001:db8::/32, then click Calculate.
  • Read the details: Review the compressed and expanded forms, the mask, the address range, and the /64 count.
  • Divide it: Enter a number of subnets, or pick a target prefix length, and the tool lists each resulting subnet.

Understanding IPv6 prefixes and /64s

An IPv6 address is 128 bits, and the prefix length tells you how many leading bits identify the network. The standard end-network in IPv6 is a /64, so subnet sizes are usually measured in how many /64s they hold:

  • Shorter prefix, bigger block: A /32 holds 2^32 (about 4.29 billion) /64s, while a /48 holds 65,536 /64s.
  • Splitting adds bits: Every extra bit of prefix doubles the number of subnets and halves their size.
  • Common allocations: ISPs often assign a /48 or /56 per site, and each device network within it is a /64.

Features and use cases of the IPv6 Subnet Calculator

The calculator is built for network engineers, sysadmins, and developers who plan or troubleshoot IPv6. Its features and typical uses include:

  • Expand and compress: Convert any prefix between its shorthand and full 8-group form to compare or document addresses clearly.
  • Range and count at a glance: See the first and last address plus the /64 count so you know exactly how big a block is.
  • Split into subnets: Carve a block into equal child prefixes for sites, VLANs, or lab environments in one click.
  • Pair with related tools: For IPv4 planning use the Subnet Calculator or CIDR Calculator, and convert addresses with IPv4 to IPv6.
  • Verify reachability: After planning, check a host with Ping IPv6. As the maker of a testing platform spanning 10,000+ real devices and 3000+ browsers, TestMu AI builds these utilities for everyday developer and network workflows.

Frequently Asked Questions (FAQs)

What is an IPv6 subnet calculator?

An IPv6 subnet calculator takes an IPv6 prefix such as 2001:db8::/32 and shows its expanded and compressed form, network mask, first and last address, and how many /64 networks it contains, then lets you split it into smaller subnets.

How many /64 subnets are in an IPv6 prefix?

A prefix of length N contains 2 raised to the power (64 minus N) /64 subnets. For example a /32 contains 2^32 = 4,294,967,296 /64s, and a /48 contains 2^16 = 65,536 /64s.

What is a /64 in IPv6?

A /64 is the standard size for a single IPv6 subnet, leaving 64 bits for interface identifiers. It provides 2^64 addresses per subnet, which is why almost every end network in IPv6 is a /64 regardless of how few devices it holds.

What is the difference between a compressed and expanded IPv6 address?

The expanded form writes all eight 16-bit groups in full, such as 2001:0db8:0000:0000:0000:0000:0000:0000. The compressed form removes leading zeros and collapses one run of zero groups with ::, giving 2001:db8:: for the same address.

Does this IPv6 calculator send my data anywhere?

No. All the math runs in your browser using 128-bit BigInt arithmetic. No address or prefix is uploaded to a server, logged, or stored.

How do I divide an IPv6 network into subnets?

Enter a prefix and either type how many subnets you need or pick a target prefix length. The tool rounds the count up to the next power of two, picks the resulting prefix, and lists each new subnet.

Can it handle a full /128 or very large prefixes?

Yes. The tool uses 128-bit BigInt arithmetic, so it handles any valid prefix length from /0 to /128 accurately, including huge blocks like a /16 and single-address /128 host routes, without rounding errors.

Is the IPv6 subnet calculator free to use?

Yes. The TestMu AI IPv6 subnet calculator is free with no signup and no limits. Every calculation runs in your browser, so you can expand prefixes and split networks as often as you need without installing software.

Did you find this page helpful?

More Tools

Related Tools
Code Formatters & Minifiers
Code Converters

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests