UK’s trusted IT infrastructure partner since 2003
Servnet
ToolsConfiguratorGet in Touch

VLSM calculator

Divide one network into right-sized subnets from your required host counts. Largest-first allocation, a full per-subnet table, pool efficiency and a visual map.

Pool: 256 addresses · used 93.8%
Subnet nameHosts needed
Subnet allocationWi-FiSalesEngineeringEach block sized to its requirement; grey = free space.
SubnetCIDRMaskNetworkHost rangeBroadcastUsable
Wi-Fi192.168.1.0/25255.255.255.128192.168.1.0192.168.1.1192.168.1.126192.168.1.127126
Sales192.168.1.128/26255.255.255.192192.168.1.128192.168.1.129192.168.1.190192.168.1.19162
Engineering192.168.1.192/27255.255.255.224192.168.1.192192.168.1.193192.168.1.222192.168.1.22330
Servers192.168.1.224/28255.255.255.240192.168.1.224192.168.1.225192.168.1.238192.168.1.23914

Largest-first allocation (standard VLSM), minimum /30 per subnet. Single-subnet calculator →

Subnet CalculatorCIDR CalculatorSubnet Cheat SheetAll networking tools

VLSM — common questions

What is VLSM?

Variable Length Subnet Masking lets you carve a single network into subnets of different sizes, instead of forcing every subnet to the same mask. A 50-host LAN gets a /26, a point-to-point link gets a /30, and so on — so you waste far fewer addresses than fixed-length subnetting.

How does this VLSM calculator allocate subnets?

It sorts your required subnets largest-first, gives each the smallest standard block that fits its host count (block = next power of two ≥ hosts + 2, minimum /30), and places them sequentially from the base network so they stay aligned with no gaps. It shows each subnet’s CIDR, mask, network, host range, broadcast and usable count, plus how much of the pool you used.

Why largest-first?

Allocating the biggest subnets first keeps every block aligned on its natural boundary, which avoids fragmentation and wasted space. If a requirement doesn’t fit the base network, the calculator tells you which one overflowed so you can pick a larger pool.

Can Servnet help with the real network?

Yes — we design and deliver enterprise IP addressing, segmentation, switching and routing on Cisco, HPE Aruba, Juniper and Fortinet. Plan the addressing here, then talk to us about the build.