IPv6 Subnet Mask Calculator – Plan Your Network Right

March 26, 2026

🌐 IPv6 Subnet Mask Calculator

Calculate IPv6 subnets, host counts, address ranges, and network breakdowns instantly

⚡ Quick Presets
⚙️ Configuration
📊 Calculation Results
📋 Common Prefix Lengths — Quick Reference
/48
Site Allocation
/56
ISP Customer
/64
LAN Standard
/128
Single Host
2^64
Hosts per /64
65536
/64s in a /48
256
/56s in a /48
2^128
Total IPv6 Addrs
📐 IPv6 Prefix Length Reference Table
Prefix Length Subnets from /48 Hosts per Subnet Typical Use Case
/32N/A (ISP block)2^96 ≈ 7.9×10^28ISP allocation (RIR)
/40N/A2^88Large ISP sub-block
/4812^80 ≈ 1.2×10^24Standard site / enterprise
/52162^76Large campus sub-block
/562562^72 ≈ 4.7×10^21ISP customer allocation
/604,0962^68Small office VLANs
/6465,5362^64 ≈ 1.8×10^19Standard LAN segment (SLAAC)
/80—2^48 ≈ 2.8×10^14Large device pools
/96—2^32 ≈ 4.3×10^9NAT64, IPv4-mapped
/112—65,536Small segments
/120—256Server subnets
/124—16Small transfers
/126—4Point-to-point (2 usable)
/127—2P2P links (RFC 6164)
/128—1Single host / loopback
🗺️ IPv6 Address Type Reference
Type Prefix Scope Notes
Global Unicast2000::/3Global / InternetPublicly routable; assigned by RIRs
Unique Local (ULA)fc00::/7 (fd00::/8)Site-localNot routable on internet; RFC 4193
Link-Localfe80::/10Link onlyAuto-assigned; required on all interfaces
Loopback::1/128Host onlyEquivalent to 127.0.0.1 in IPv4
Multicastff00::/8GroupReplaces broadcast; many reserved groups
Unspecified::/128N/ASource before address assignment
IPv4-Mapped::ffff:0:0/96Host onlyIPv4 compatibility representation
Solicited-Nodeff02::1:ff00:0/104Link-localUsed for Neighbor Discovery (NDP)
📈 Common IPv6 Deployment Scenarios
Scenario Allocation Subnets Used Hosts Available
Home Lab (single router)/484–8 /64s2^64 per LAN
Small Office (5-20 users)/56 or /481–16 /64sEffectively unlimited
Proxmox 3-Node Cluster/486 /64s (mgmt+VM+storage)2^64 per VLAN
Enterprise Campus/32 or /48100–500 /64s2^64 per segment
ISP — Customer Assignment/56 per customer256 /64s per customer2^64 per subnet
Data Center (VLANs)/48Up to 65,536 /64s2^64 per VLAN
Point-to-Point Links/127 per link1 per P2P link2 addresses
IoT Sensor Network/641 flat subnet2^64 ≈ 18.4 quintillion
💡 Tip: Always Use /64 for LAN Segments — RFC 4291 and SLAAC (Stateless Address Autoconfiguration) require a /64 prefix for host assignment on any LAN segment. Using shorter prefixes (e.g. /80 or /96) will break SLAAC and some NDP mechanisms. For point-to-point links between routers, use /127 per RFC 6164.
💡 Tip: Plan Your Hierarchy from /48 Down — A standard site gets a /48, giving you 16 bits for subnet numbering (bits 49–64). This yields 65,536 possible /64 subnets. Use the upper bits for building/floor/VLAN hierarchy and the lower bits for the subnet number. For example: 2001:db8:1:[vlan]::/64 where [vlan] is your VLAN ID in hex.

IPv6 change the way address nets work compared to IPv4. The main difference? How one uses subnet mask.

In IPv4 one uses something like 255.255.255.0 to split the address between network and host parts. IPv6 drops the whole idea of “subnet mask”. Instead, one works with something called prefix length.

How IPv6 Uses Prefixes Instead of Subnet Masks

Or simply “prefix” if you want to simplify.

Here the key reason: the prefix length points out exactly how many bits, counted from the left side of the address, belong to the net. It works like the CIDR notation of IPv4. Instead of writing a long mask, you simply add a slash and number at the end of the address.

For instance, 2001:aaaa:bbbb:cccc:0:0:0:10/64, that /64 shows that the first 64 bits form the network part, so the subnet is 2001:aaaa:bbbb and everything that comes after that.

Writing a full ipv6 subnet mask as ffff:ffff:ffff:ffff:0000:0000:0000:0000 would drive you mad. The slash notation exists because of that, /64 simply points how many one-bits sit there from left to right in the mask. All ipv6 addresses use slash notation now.

Goodbye too dotted addresses.

An ipv6 address has 128 bits, split in eight groups of four hex signs, separated by colons. Every group stands for 16 bits, and eight times 16 give the full 128. Technically, prefix length can be anything and not always line up with those 16-bit blocks.

In practice though, the most common network uses of prefixes happen in multiples to keep everything nicely sorted.

The /64 is the standard size for one single subnet (whether it is LAN), WAN or similar. Using less than /64 creates real troubles, because you then invade the 64-bit identifier for devices. Tools like SLAAC, that allow devices to automatically create addresses without a DHCP server, will not work on smaller subnets.

So, /64 is the smallest size, if you want those basic features to work.

Here another important note: ipv6 does not use broadcast addresses everywhere. Not every possible mix of bits, that is not covered by the prefix rules, counts as host address. If you need something like broadcast, multicast to “all hosts” does the job instead.

ISPs usually deliver blocks around /48, which gives enough space for up to 65535 different subnets. The fourth group of 16 bits becomes your space for subnetting. During setup of VLANs in ipv6, that fourth group is what you split up.

Big companies depend on subnetting to control network security, simplify routing tables and reach better performance. Subnetting in ipv6 builds on the same basic ideas as variable length subnet mask in IPv4, onlywith much more addresses and a cleaner notation system.

IPv6 Subnet Mask Calculator – Plan Your Network Right

Related posts

Leave a Comment