Skip to content
Illinois License # 127.001891Lincolnshire · Chicago, ILinfo@meridianalarm.com

Tools and Resources

IPv6 subnet calculator

Network and last address, how many a block holds, and how it divides. IPv6 has no broadcast address and no usable-host count worth printing, so the prefix tells you what size of thing you are holding instead.

Full form or shortened with ::, any case. A %zone suffix is ignored: it names an interface, not part of the address.

Are these two in the same prefix?

A worked example

2001:db8:abcd:1234::1/64. The /64 leaves 64 bits of host part, so the block runs from 2001:db8:abcd:1234:: to 2001:db8:abcd:1234:ffff:ffff:ffff:ffff and holds 18,446,744,073,709,551,616 addresses — more than four billion times the whole of IPv4, in one subnet.

Every one of them is usable. There is no broadcast address to set aside and the all-zeros host part is an ordinary address, so the two deductions you make in IPv4 do not apply here.

For this example the site has a /48. That one holds 65,536 subnets of /64 — 2001:db8:abcd::, 2001:db8:abcd:1::, 2001:db8:abcd:2:: and so on. Running out of subnets is not a thing that happens.

Why /64 and not something tidier

A /64 is the ordinary size of a single subnet, and the reason is not aesthetic: stateless address autoconfiguration expects exactly 64 bits of host part. Go longer — a /112, say, to make the numbers look manageable — and devices stop configuring themselves. That is fine on a point-to-point link where both ends are set by hand, and wrong on a LAN. The calculator says which side of that line you are on.

Writing an address down

This is the part that catches people, because several different strings are the same address and only one of them is the form everyone else will produce. Each row below is computed by the same code the calculator uses.

How an IPv6 address is written in canonical form
Written asComes out asRule
2001:0DB8:0000:0000:0000:FF00:0042:83292001:db8::ff00:42:8329lowercase, leading zeros dropped
2001:db8:0:1:0:0:0:12001:db8:0:1::1the longest run of zeros collapses
2001:db8:0:0:1:0:0:12001:db8::1:0:0:1equal runs: the leftmost one
2001:db8:0:1:1:1:1:12001:db8:0:1:1:1:1:1a single zero group is written out
::ffff:c000:201::ffff:192.0.2.1an IPv4-mapped address keeps its dotted tail

The one worth dwelling on is the third. Both halves of 2001:db8:0:0:1:0:0:1 have two zero groups, so either could legally collapse. Taking the leftmost is what makes the output canonical rather than merely valid — it is why two tools given the same address agree on how to print it.

And :: may be used once, never twice. A second one would leave no way to tell how many groups each stood for, so the calculator refuses it and says so rather than guessing.

What this does not do

  • List every special block. The table above is the handful somebody wiring a building actually meets. IANA's registry holds two dozen more — Teredo relays, benchmarking, AS112, ORCHID — and listing them all would bury the ones that matter.
  • Count usable hosts. There is no useful answer. A /64 holds more addresses than four billion copies of the IPv4 internet, and the number of devices on it is decided by the wiring rather than the arithmetic.
  • Size a subnet to a device count. The IPv4 tool does this because addresses are scarce there. Here you take a /64 and stop thinking about it.
  • Say anything about routing or firewalling. Two addresses in one subnet can reach each other as far as the addressing is concerned; what is in between them is another matter.

Blocks that are not ordinary address space

If an address falls in one of these, the calculator says so. Anything else is ordinary global unicast, which RFC 4291 defines as everything left over rather than as a block of its own.

IPv6 special-purpose address blocks
BlockWhat it isSource
::1/128LoopbackThe device itself. Never leaves it.RFC 4291
::/128UnspecifiedMeans no address. A device uses it before it has one; it is never a destination.RFC 4291
::ffff:0:0/96IPv4-mappedAn IPv4 address carried inside an IPv6 one, used by sockets that handle both.RFC 4291
64:ff9b::/96IPv4/IPv6 translationNAT64. The last 32 bits are the IPv4 address being reached.RFC 6052
2001:db8::/32DocumentationReserved for examples, including the ones on this page. Never route it.RFC 3849
3fff::/20DocumentationA second, newer documentation block. Also never routed.RFC 9637
2001::/32TeredoIPv6 tunnelled through IPv4. Not something you assign.RFC 4380
fc00::/7Unique localThe rough equivalent of RFC 1918: private to the site, not routed on the internet.RFC 4193
fe80::/10Link-localValid only on one link. Every interface has one, and routers will not forward it.RFC 4291
ff00::/8MulticastNot a host address. ff02::1 is every node on the link, which is where IPv6 does what IPv4 used broadcast for.RFC 4291

Two worth knowing on site. Link-local is on every interface whether you configured one or not, and a router will not forward it — so two devices can ping each other by link-local address and still have nothing usefully routed between them. Multicast is where IPv6 does what IPv4 used broadcast for: there is no broadcast address, and ff02::1 is every node on the link.

From IANA's IPv6 Special-Purpose Address Registry and RFC 4291 section 2.4, both read 26 November 2026: the registry and RFC 4291.

More in networking

Or jump to power and wiring, electronics and components, video and storage, cable, conduit and site and general calculators. Every calculator is on one page, with a search box.

Free consultation

Tell us about the property and what it needs.

We will look at the building, the risks and the way it is used, then quote a system that fits. No charge for the conversation.

Call 224-500-4670Request a quote