IP addressing

VLSM Planner

Divide one parent network into right-sized, non-overlapping subnets and see exactly how each allocation was calculated.

Calculated locally

Learn VLSM planning step by step

Follow largest-first allocation, overlap prevention, and infrastructure reservation guidance in the complete article.

Read How to Calculate VLSM

Build your address plan

Enter the parent network and usable hosts needed by each subnet.

Subnet requirements

0 networks

NameRequired hostsPurpose
Learn mode

How VLSM is calculated

The planner follows the same sequence an engineer uses by hand.

1

Sort largest first

Large requirements are allocated before small ones to reduce fragmentation.

2

Add growth reserve

The chosen percentage is added to each requested host count and rounded up.

3

Find the smallest fit

The planner chooses the smallest power-of-two block with enough usable addresses.

4

Use valid boundaries

Each block begins at the next address aligned to its subnet size.

Traditional IPv4 sizingusable hosts = 2^(32 − prefix) − 2
Example: 50 hosts/27 = 30 usable → too small
/26 = 62 usable → selected
Why largest-first allocation?

Several small subnets can leave gaps that are too small or incorrectly aligned for a later large subnet. Largest-first allocation keeps the plan compact and predictable.

How does growth reserve work?

A 20% reserve changes a 100-host requirement to 120 before sizing. A /25 supports 126 usable addresses, so /25 is selected.

What is special about /31?

On an RFC 3021 routed point-to-point link, both addresses can be used and there is no traditional network or broadcast address.

Copied