Advanced maths

IPv6 subnet allocation planner calculator

Allocate aligned IPv6 child prefixes largest first with exact 128-bit arithmetic, canonical ranges and a CIDR decomposition of the remaining suffix.

Your numbers

No thousands separators; use the units stated in the label

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Try it, understand it

Explore the result

Normalize parent host bits, order requests from largest address block to smallest and allocate aligned children consecutively. Keep all address counts as exact integers rather than floating-point approximations.

Worked example comparison
ExampleOutputWhat to notice
Worked exampleNormalized parent network2001:db8::/48Inside 2001:db8::/48, the first /56 begins at 2001:db8::. The following /60 begins at 2001:db8:0:100::, with remaining addresses represented as aligned CIDR blocks.
Two /64 childrenNormalized parent network2001:db8::/48Small aligned children leave most of the parent unused.
Normalize parent host bitsNormalized parent network2001:db8::/48The displayed normalized parent remains 2001:db8::/48.

Check your understanding

Are large address counts rounded?

No, counts use exact BigInt arithmetic.

Is broadcast removed?

No, IPv6 has no IPv4-style broadcast deduction.

Behind the numbers

How this calculation works

Normalize parent host bits, order requests from largest address block to smallest and allocate aligned children consecutively. Keep all address counts as exact integers rather than floating-point approximations.

THE FORMULABlock addresses = 2^(128 − prefix); align each child to its block size inside the normalized parent

A worked example

Inside 2001:db8::/48, the first /56 begins at 2001:db8::. The following /60 begins at 2001:db8:0:100::, with remaining addresses represented as aligned CIDR blocks.

Good to know

Offline arithmetic, not scanning, reachability or assignment permission. Pure hexadecimal notation only; no embedded dotted IPv4 or zone identifiers. No IPv6 broadcast subtraction.

A prefix determines an exact address count

IPv6 blocks can exceed the exact-integer capacity of ordinary floating-point numbers. This page uses 128-bit integer arithmetic and displays counts as decimal text.

The first and last addresses describe arithmetic endpoints. They do not establish which addresses a network policy or device configuration can assign.

The ipv4 vlsm subnet planner calculator adds plan largest-first variable IPv4 subnet blocks from host demands, with exact alignment, explicit /31 and /32 interpretation and remaining CIDRs.

Largest-first requests avoid silent fragmentation

Requests are ordered by descending block size, with input order preserved for equal sizes. Every allocated start is aligned to the child’s size and stays within the parent.

All requested children must fit. The tool reports an input error rather than silently dropping a request and presenting a partial plan as complete.

Canonical text is a representation rule

Output uses lowercase hexadecimal and compresses the leftmost longest qualifying zero run. A shorter string does not change the underlying 128-bit address.

The normalized parent is displayed explicitly when entered host bits are cleared. Remaining space is decomposed into aligned CIDRs, rather than reported as an arbitrary unaligned address interval only.

Use the result with the next measurement

The IPv4 VLSM subnet planner calculator converts host demands into IPv4 blocks under an explicit reserved-address convention. IPv6 prefix allocation does not reuse its broadcast rules.

Offline arithmetic, not scanning, reachability or assignment permission. Pure hexadecimal notation only; no embedded dotted IPv4 or zone identifiers. No IPv6 broadcast subtraction.

A few questions, answered

Are large address counts rounded?

No, counts use exact BigInt arithmetic.

Is broadcast removed?

No, IPv6 has no IPv4-style broadcast deduction.

Does the tool contact the network?

No, it is entirely local arithmetic.

Find your calculator

Start typing to explore the library.