We Value Your Privacy

We use cookies to enhance your browsing experience and analyze site traffic. All calculations happen locally in your browser - we never see or store your data. Learn more in our Privacy Policy

/
/
CalculateYogi
  1. Home
  2. Technology
  3. IPv6 Subnet Calculator
Technology

IPv6 Subnet Calculator

Calculate an IPv6 network address, range and /64 count from any prefix, identify the block against the IANA registry, and split a site allocation.

Common scenarios
Calculation mode

The prefix sizes IPv6 is allocated in

Allocation sizes follow IANA's IPv6 Global Unicast Address Assignments; the regional registries hold /12s.

PrefixRoleWho holds it/64s
/12RIR allocationIANA to a regional registry4,503,599,627,370,496
/32ISP allocationRegistry to a service provider4,294,967,296
/48Site allocationEnterprise or campus65,536
/56Small siteResidential, from an ISP256
/64Standard subnetOne LAN; required by SLAAC1
/127Point-to-point linkRouter-to-router (RFC 6164)Under one
/128Single addressHost route or loopbackUnder one

IANA special-purpose address blocks

Every row, including the Reachable column, is transcribed from the IANA IPv6 Special-Purpose Address Registry. N/A is the registry's own entry, not an omission.

BlockPurposeRFCReachable
::1/128LoopbackRFC 4291No
::/128UnspecifiedRFC 4291No
::ffff:0:0/96IPv4-mappedRFC 4291No
64:ff9b::/96IPv4/IPv6 translationRFC 6052Yes
64:ff9b:1::/48IPv4/IPv6 translation, local useRFC 8215No
100::/64Discard-onlyRFC 6666No
100:0:0:1::/64Dummy prefixRFC 9780No
2001::/23IETF protocol assignmentsRFC 2928No
2001::/32TeredoRFC 4380N/A
2001:1::1/128Port Control Protocol anycastRFC 7723Yes
2001:1::2/128TURN anycastRFC 8155Yes
2001:1::3/128DNS-SD service registration anycastRFC 9665Yes
2001:2::/48BenchmarkingRFC 5180No
2001:3::/32AMTRFC 7450Yes
2001:4:112::/48AS112-v6RFC 7535Yes
2001:10::/28Deprecated (formerly ORCHID)RFC 4843N/A
2001:20::/28ORCHIDv2RFC 7343Yes
2001:30::/28Drone Remote ID entity tagsRFC 9374Yes
2001:db8::/32DocumentationRFC 3849No
2002::/166to4RFC 3056N/A
2620:4f:8000::/48AS112 direct delegationRFC 7534Yes
3fff::/20DocumentationRFC 9637No
5f00::/16Segment Routing (SRv6) SIDsRFC 9602No
fc00::/7Unique localRFC 4193No
fe80::/10Link-local unicastRFC 4291No
Did this calculator solve your problem today?

Contributor

Reviewed by

Last updated: September 13, 2026
SupportI build these free tools with love, late nights, and way too much coffee. If this calculator helped you, a small donation would mean the world to me and help keep this site running. Thank you for your kindness!

Related Calculators

You might also find these calculators useful

CIDR Calculator

Convert CIDR to a range, split a block, or aggregate blocks

Subnet Calculator

Network, broadcast, mask and usable hosts for any IPv4 subnet

Binary Calculator

Binary arithmetic and base conversion, exact past 64 bits

Hex Packet Decoder

Decode packet hex into protocol layers and verify every checksum

Work out an IPv6 prefix without counting nibbles

Give this calculator an IPv6 address and a prefix length and it returns the network address, the first and last address in the block, how many /64 subnets the block contains, and what the IANA registry says the address actually is. It accepts all three text forms defined in RFC 4291, including the mixed form ::ffff:192.0.2.1, and it splits a site allocation into evenly sized subnets.

What is an IPv6 subnet?

An IPv6 address is 128 bits, written as eight groups of four hexadecimal digits. A prefix length says how many of those leading bits identify the network; the rest form the interface identifier. A /64 is the standard subnet because Stateless Address Autoconfiguration expects a 64-bit interface identifier, so the practical question in IPv6 planning is rarely how many hosts fit, but how many /64s a block contains.

Addresses in a prefix

How to use it

1

2

3

4

5

Common uses

Planning a site allocation

Split the /48 an ISP gave you into /52s or /56s per building, then into /64s per VLAN, and see the exact boundaries.

Reading a firewall or routing table

Paste a prefix from a rule and confirm which addresses it actually covers, and whether the block is globally reachable.

Diagnosing an address that should not be on the wire

Link-local, unique local, documentation and discard-only blocks all look like ordinary addresses until you check them against the registry.

Building a reverse DNS zone

The ip6.arpa form is 32 reversed nibbles and is easy to get wrong by hand; it is printed here for every address.

Why use this calculator

Counts in /64s, not just addresses

A /48 holds 1.2 × 10²⁴ addresses, which tells you nothing. It holds 65,536 /64 subnets, which is the number you plan with.

Classifies against the IANA registry

Every block, and its Globally Reachable flag, is transcribed from the IANA IPv6 Special-Purpose Address Registry rather than guessed from a prefix.

Reads the multicast scope

ff02::1 and ff0e::1 differ only in the scope nibble, and only one of them can leave the link. The scope is decoded per RFC 4291 section 2.7, not ignored.

Accepts every legal form

RFC 5952 requires that any legitimate RFC 4291 format be accepted, so the mixed form ::ffff:192.0.2.1 and a zone id such as fe80::ab%eth0 both parse.

Frequently asked questions

Yes. IPv6 uses the same prefix-length notation as CIDR does in IPv4: a /64 means the first 64 bits identify the subnet. What changed is that subnetting is no longer done to conserve addresses. A site is given far more space than it can use, so subnets are sized for structure — one /64 per link — rather than for host counts.

There is no dotted subnet mask in IPv6. RFC 4291 defines only the prefix-length form, so a network is written 2001:db8::/64 and never with a 128-bit mask spelled out. The prefix length is the mask.

It is the number after the slash in the address your interface or router reports — 2001:db8:85a3::1/64 is a /64. On most networks a host receives a /64 by SLAAC, while the router holds the shorter prefix (commonly a /56 or /48) that the ISP delegated.

A /64. Stateless Address Autoconfiguration builds the interface identifier from 64 bits, so a subnet longer than /64 breaks SLAAC. The exception is a router-to-router link, where RFC 6164 recommends a /127 to avoid a neighbour-discovery exhaustion attack.

Because of its scope. A multicast address carries a 4-bit scope field, defined in RFC 4291 section 2.7: ff02::1 has scope 2, link-local, so it can never be forwarded off the link it was sent on. ff0e::1 has scope 14, global. The two addresses differ by one hexadecimal digit and mean entirely different things.

Yes. RFC 4291 section 2.2 defines three text forms, and the third is x:x:x:x:x:x:d.d.d.d, with a dotted IPv4 tail. ::ffff:192.0.2.1 is an IPv4-mapped address, used inside dual-stack software to hold an IPv4 address in an IPv6 socket. RFC 5952 adds that any legitimate RFC 4291 format must be accepted, so a calculator that rejects it is wrong.

RFC 5952 sets the rules: drop the leading zeros in every group, then replace the longest run of all-zero groups with a double colon. If two runs are the same length, shorten the first. A double colon may never stand for a single zero group, and it may appear only once. So 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1.

Usually a /56 or a /48 delegated by the ISP. A /56 contains 256 /64 subnets and a /48 contains 65,536, which is why a residential router can hand a separate /64 to the LAN, the guest network and each VLAN without ever running out.

For comprehensive network analysis including IPv6 visualization and additional subnet tools, visit NetYogi's Subnet Calculator. It offers advanced features for network planning and troubleshooting.

CalculateYogi

The most comprehensive calculator web app. Free, fast, and accurate calculators for everyone.

Calculator Categories

  • Math
  • Finance
  • Health
  • Conversion
  • Date & Time
  • Statistics
  • Science
  • Engineering
  • Business
  • Everyday
  • Construction
  • Education
  • Technology
  • Food & Cooking
  • Sports
  • Climate & Environment
  • Agriculture & Ecology
  • Social Media
  • Other

Company

  • About
  • Contact
  • Contributors

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy

© 2026 CalculateYogi. All rights reserved.

Sitemap

Made with by the AppsYogi team