Tested tool guide
Tested browser tools
Checked August 16, 2026
What VLSM Calculator does, with a checked example
A VLSM calculator carves one IPv4 network into subnets of different sizes, like a real plan needs: a server segment with 50 hosts, a lab with 20, a link with 2. You enter the base network and a host count per segment; the tool rounds each count up to the next power-of-two block, allocates the largest subnets first, and returns one row per subnet with network address, mask, usable range, and broadcast. The part that surprises people is arithmetic, not interface: usable addresses are the block size minus two for network and broadcast, so a 50-host segment consumes 64 addresses, and the plan's footprint exceeds the sum of its hosts.
Worked example
A concrete input and expected output from the current implementation.
Input
Base network 192.168.1.0/24 with segments needing 50, 30, 20, and 5 hosts.
->
Expected output
Segment A: 192.168.1.0/26, usable 192.168.1.1-192.168.1.62, broadcast 192.168.1.63 (50 hosts, 62 usable)
Segment B: 192.168.1.64/27, usable 192.168.1.65-192.168.1.94, broadcast 192.168.1.95 (30 hosts, 30 usable)
Segment C: 192.168.1.96/27, usable 192.168.1.97-192.168.1.126, broadcast 192.168.1.127 (20 hosts, 30 usable)
Segment D: 192.168.1.128/29, usable 192.168.1.129-192.168.1.134, broadcast 192.168.1.135 (5 hosts, 6 usable)
Unallocated: 192.168.1.136-192.168.1.255, 120 addresses
Each host count rounds up to the smallest power-of-two block whose size minus two covers it, and blocks are assigned largest-first so every subnet starts on a boundary that its own size divides evenly. A /26 holds 62 usable addresses, enough for 50 hosts; the two /27 blocks give 30 usable each; the /29 gives 6. The footprint is 136 addresses, leaving 120 of the /24 free.