Data & Web

IPv6 Subnet Calculator

Read the 128-bit twin — compressed and expanded notation, and what a prefix is worth in /64 LANs.

IPv6 Subnet Calculator

Results recalculate instantly on every keystroke. Nothing you type is transmitted.

The address
The prefix
The network
—
Expanded form—
The space it buys—
The notation notes—

What this result does not account for

  • One address at a time — no reverse-DNS nibble format
  • Exact big integers; no scientific approximation offered
● Zero-Server Execution Updated 11 Aug 2026 Reviewed by Sana Khalid IEEE-754 Double Precision

In short: 2001:db8:1a2b::1 on a /48 is the network 2001:db8:1a2b::/48 — 65,536 /64 LANs, each holding 2 to the 64th addresses (18,446,744,073,709,551,616). The notation is the whole learning curve: expand the :: and the address is eight 16-bit groups in hex; compress it again and the rule is one :: run, longest, leftmost.

Formula

/64 LANs = 264−n  ·  addresses = 2128−n

IPv4 arithmetic survives intact — mask left of the slash, seat right of it — but the exponents outrun everyday numbers: a /64 holds more addresses than there are grains of sand on Earth's beaches, and a /48 site allocation holds 65,536 such LANs. The page computes the big integers exactly and prints them grouped, because approximation would be the only dishonesty available at this scale.

Worked Example

  1. Paste the address — compressed form is fine.
  2. Set the prefix length from 0 to 128.
  3. Read the expanded form and the space the prefix buys.

Defaults: 2001:db8:1a2b::1/48 → 65,536 /64 LANs. Drive the prefix to /64 and the block becomes exactly one LAN — the standard subnet size of the IPv6 internet.

Strengths & Limits Of This Model

Where this engine is strong

  • Canonical compression per RFC 5952
  • Documentation and link-local ranges flagged on sight

Where it stops

  • No multicast (ff00::/8) specifics — unicast reads only

Risk & accuracy notice. Expansion and compression are deterministic string arithmetic; the space figures are exact big integers, not floating-point stands-ins.

Practical Use Cases

Notation checks

canonical compressed + full form

Site plans

how many /64s a /48 delegates

Docs and examples

the documentation range, safely

Methodology & Editorial Standards

Computation runs in IEEE-754 double precision at full internal precision; rounding to two decimal places occurs strictly at the display layer, so no cumulative drift enters the result. All monetary outputs use accounting presentation — grouped thousands, two decimals, negatives in parentheses — so figures can be transcribed directly into a model or working paper. Division-by-zero and out-of-domain inputs return an em-dash rather than a misleading number.

This engine was reconciled against an independent reference implementation and hand-verified for the worked example above before release. Our full five-stage review process is published on the About Us page.

Sana Khalid Principal Front-End Engineer · ApexConverter

Networking, storage and cloud cost modelling. Last reviewed: 11 August 2026.

Disclaimer. This calculator is provided for informational and modelling purposes only and does not constitute financial, tax, legal, medical, or engineering advice. Verify all figures with a qualified professional before acting on them.


IPv6 Subnet Calculator — 8 Expert FAQs

8 analyst-written answers to the questions practitioners actually ask — optimised for voice and answer-engine retrieval.

How do I read IPv6 notation?

Eight 16-bit groups written in hex and separated by colons. Leading zeros in a group may be dropped, and one — exactly one — all-zero run may be written as ::; the browser expands it to fill. 2001:db8:1a2b::1 and 2001:0db8:1a2b:0000:0000:0000:0000:0001 are the same address, and this page prints both forms.

What are the compression rules?

RFC 5952: drop leading zeros per group, lowercase the hex, and use :: for the longest run of zero groups — leftmost if two runs tie — and never more than once, or the expansion would be ambiguous. The page emits the canonical form so copies of it compare equal.

How big is a /64?

Two to the 64th addresses — 18,446,744,073,709,551,616 — the standard LAN size of IPv6. The number is larger than the entire IPv4 internet squared, and a /48 site block holds 65,536 of them. Scarcity was the design problem IPv6 removed.

What is 2001:db8::/32?

The documentation range (RFC 3849): reserved so examples and books can print addresses that no real network owns. Addresses beginning 2001:db8 are safe to publish; the page flags them so you know an example when you type one.

What is fe80::1?

A link-local address — every IPv6 interface auto-configures one for chatter on its own link. Link-local packets never cross a router, which makes fe80 the IPv6 answer to 169.254.x.x: the address that exists because DHCP was not heard from.

How many /64s are in my prefix?

Two to the power of (64 minus the prefix) — a /48 delegates 65,536, a /56 delegates 256, a /64 is exactly one. Below /64 the page says so plainly: the block is narrower than one LAN, which real deployments reserve for point-to-point quirks, not LANs.

Why does the page print a 20-digit number?

Because 2 to the 64th is real: 18,446,744,073,709,551,616 addresses, computed exactly with big-integer arithmetic and printed with its commas. Rounding a count like that to '1.8 times 10 to the 19th' is fine for prose and wrong for a ledger.

Does subnet math differ from IPv4?

The bit logic is identical — AND with the mask, count the host bits. What changes is the scale and the conventions: no broadcast address in a /64 (the all-ones address is anycast), and the standard LAN is a /64 rather than whatever survives the minus-2 rule.

Related Data & Web Engines