What does this calculator do?
IPv6 addressing plans are built by subdividing an allocation: a site receives a /48 or /56 from its provider and splits it into /64 segments, one per VLAN. This calculator tells you how many child prefixes a parent contains, how many bits you borrow to get there, and how many addresses each child holds. Counts are exact and computed with arbitrary-precision integers, since the numbers involved quickly exceed what floating point can represent. Everything is computed in your browser from the values you type. Nothing is looked up on the network — there is no ping, no DNS query, no WHOIS and no geolocation.
Formula
Every borrowed bit doubles the number of child prefixes.
borrowedBits = childPrefix − parentPrefix childSubnets = 2^borrowedBits addressesPerChild = 2^(128 − childPrefix)
How to use it
Enter the parent prefix length you have been allocated and the child prefix length you want to hand out. The child prefix must be equal to or longer than the parent — a longer prefix means a smaller network. For LAN segments, keep the child at /64 so that SLAAC keeps working; /112 and /127 are used for point-to-point and infrastructure links.
Worked example
A /48 site allocation split into /64 segments borrows 64 − 48 = 16 bits, which yields 2¹⁶ = 65,536 child subnets. Each /64 contains 18,446,744,073,709,551,616 addresses. A /56 split the same way borrows 8 bits and yields 256 subnets.
Frequently asked questions
How many /64 subnets are in a /56?
2⁸ = 256. A /56 is a common residential or small-site delegation, which leaves plenty of segments for VLANs, guest networks and a lab.
Why does the number of subnets not depend on the address itself?
Subdivision depends only on the two prefix lengths. The parent’s actual address determines which prefixes you get, not how many.
Should I ever use a prefix longer than /64 on a LAN?
Generally no. Stateless autoconfiguration assumes 64 interface bits, so hosts on a /80 segment will not self-configure. Longer prefixes are appropriate for router-to-router links and loopbacks, where addresses are assigned manually.
Sources
- RFC 4632 — Classless Inter-Domain Routing (CIDR): the address-block, prefix-length and aggregation model used for every IPv4 subnet result on this page.
- RFC 3021 — Using 31-Bit Prefixes on IPv4 Point-to-Point Links: why a /31 has two usable addresses and no broadcast address, and why /32 is a single host.
- RFC 4291 — IP Version 6 Addressing Architecture: prefix and interface-identifier structure (IPv6 has no broadcast address). IPv6 output follows the canonical text form of RFC 5952.
- Reviewed: 2026-08-10
Related calculators
Last updated: 2026-08-10 · v1.0.0 · Report an error