IPv6 subnet calculator with IPv4 and VLSM
Plan IPv6 prefixes and see how many /48, /56 and /64 fit in your allocation, together with the full list. In addition, the same tool handles IPv4 network, mask, range and broadcast, equal splits and VLSM by segment.
FreeNo sign-upSourced formulasRuns in your browser
By the IP Insight Support engineering team · Updated
Use the IPv6 subnet calculator
Pick the IPv6, IPv4 or VLSM tab, then type: results update while you write.
Building your addressing plan or your IPv6 rollout? In that case, we design it with you.
Chat on WhatsAppHow the IPv6 subnet calculator works
In short, the rules are the IETF ones for IPv6 addressing and CIDR.
IPv6 subnets
IPv6 uses 128-bit prefixes, so the tool counts how many /48, /56 and /64 fit and then lists the first ones.
/64 subnets in a /p = 2^(64 − p)Architecture: RFC 4291. For customer sizing, RFC 6177 also cites a /56 as an example for homes.
IPv4 hosts per subnet
Each IPv4 prefix leaves 32 minus the prefix bits for hosts; however, the network and broadcast addresses are not usable.
Usable hosts = 2^(32 − prefix) − 2Basis: RFC 4632 (CIDR). However, point-to-point /31s use both addresses, per RFC 3021.
VLSM step by step
First, segments are sorted from largest to smallest; then each gets the smallest aligned block that fits its hosts.
Block = smallest 2^n such that hosts + 2 ≤ 2^nAs a result, this avoids wasting addresses, in line with the allocation model in RFC 4632 (CIDR).
Special ranges
The tool also flags private, CGNAT, loopback, link-local and multicast networks.
Private ranges: RFC 1918. Shared space 100.64.0.0/10: RFC 6598.
Worked example with the IPv6 subnet calculator
An ISP receives 2001:db8:abcd::/48 for a city. When you split it into /56s, you get 256 customer prefixes, while the /48 holds 65,536 /64 networks in total.
For IPv4, the same ISP also has 10.20.0.0/22 and needs 500 hosts for customers, 120 for cameras, 60 for management and one point-to-point link. As a result, VLSM assigns a /23, a /25, a /26 and a /30 and uses 708 of 1,024 addresses, so there is room to grow.
- Plan IPv6 on nibble boundaries (/48, /52, /56, /60, /64) so prefixes stay readable.
- Leave free space between IPv4 blocks: growing is easier than renumbering.
- Use /30 or /31 on point-to-point links so you save addresses.
- Planning a migration? Read our IPv6 migration guide before you hand out prefixes.
IPv6 subnet calculator FAQ
What prefix should I give each IPv6 customer?
RFC 6177 sets no single size. It asks that every site get at least a /64 and, in general, quite a bit more, and cites a /56 as an example for homes.
Why is a /64 the standard LAN size?
IPv6 addressing architecture expects 64-bit interface identifiers on most links, so a /64 is the normal size for a single network segment.
What is VLSM?
Variable-length subnet masking: each segment gets a block sized to its needs, instead of splitting the network into equal pieces.
Why subtract two addresses in an IPv4 subnet?
The first address identifies the network, while the last one is broadcast. However, the exceptions are /31, which RFC 3021 allows on point-to-point links, and /32.
Can I use 100.64.0.0/10 on my network?
RFC 6598 reserves that block so operators can use it between their CGNAT and their customers. For that reason, it is not routed on the internet and should not be used as a company LAN.
Is my data sent to a server?
No, because the IPv6 subnet calculator runs entirely in your browser.
Other free tools for your network
Link budget calculator
Check link margin and free-space path loss, then confirm Fresnel zone clearance over an obstacle.
Use the tool →CGNATCGNAT calculator
See subscribers per public IP and how many IPs you need, then get a deterministic script for RouterOS.
Use the tool →SLA and continuityDowntime calculator
Turn an SLA into hours of downtime per year, then estimate the cost and what redundancy adds.
Use the tool →Related services and guides
Need more than a subnet calculator?
We design your IPv4 and IPv6 addressing plan and then leave it documented.
