VLSM Subnet Planner

Split a network into subnets sized by how many hosts each one needs — the most efficient CIDR for each, with no overlaps

Uses 148 of 256 addresses (58%).

Subnets and the hosts each needs

Plan

NameHostsSubnetMaskUsable rangeBroadcastUsableSpare
Engineering60192.168.10.0/26255.255.255.192192.168.10.1 – 192.168.10.62192.168.10.63622
Sales28192.168.10.64/27255.255.255.224192.168.10.65 – 192.168.10.94192.168.10.95302
Guest Wi-Fi25192.168.10.96/27255.255.255.224192.168.10.97 – 192.168.10.126192.168.10.127305
Servers12192.168.10.128/28255.255.255.240192.168.10.129 – 192.168.10.142192.168.10.143142
Router link2192.168.10.144/30255.255.255.252192.168.10.145 – 192.168.10.146192.168.10.14720

Still free for later: 192.168.10.148/30, 192.168.10.152/29, 192.168.10.160/27, 192.168.10.192/26

Each subnet gets the smallest block whose usable hosts cover what you asked for: block size minus the network and broadcast addresses (or minus 5 with AWS / Azure rules). Subnets are placed largest first, so every block starts on its own boundary and nothing overlaps. Need to combine or clean up a list of ranges instead? Try CIDR Merge.

Was the VLSM Subnet Planner helpful?

Get new tools in your inbox

About once a month, when new tools ship. No spam, one-click unsubscribe.

We store only your email to send these updates. Privacy

About this tool

The VLSM Subnet Planner splits a network into subnets of different sizes based on how many hosts each needs. Enter the address space (for example 192.168.10.0/24) and a list like Engineering 60, Sales 28, Servers 12, Router link 2, and it gives every subnet the smallest block that fits, with its CIDR, subnet mask, usable host range and broadcast address — without overlaps and with the remaining free blocks listed for later. VLSM (variable-length subnet masking) avoids wasting addresses on a one-size-fits-all mask. Subnets are placed largest first, so every block starts on its own boundary. Switch on AWS/Azure rules to account for the 5 addresses those clouds reserve in every subnet and their /16–/28 size limits.

When to use it

  • →Planning subnets for an office, campus or lab network
  • →Laying out VPC subnets in AWS or Azure with reserved addresses counted
  • →Solving subnetting homework and certification exercises (CCNA, Network+)
  • →Checking whether a set of subnets fits in an address block

Tips

  • ◆Each subnet needs room for its network and broadcast address: 30 hosts fit a /27, 31 hosts need a /26.
  • ◆Leave growth room — ask for a little more than today's host count.
  • ◆Point-to-point router links only need 2 hosts, which fits a /30.
  • ◆Copy the plan as a table and paste it into a spreadsheet or your docs.

Frequently asked questions

What is VLSM?

Variable-length subnet masking: splitting a network into subnets of different sizes instead of equal ones, so each subnet gets just the addresses it needs.

How many hosts fit in each subnet size?

A block of 2^n addresses has 2^n − 2 usable hosts (network and broadcast are reserved): /26 = 62, /27 = 30, /28 = 14, /29 = 6, /30 = 2. In AWS and Azure subnets, 5 addresses are reserved instead.

Why are the biggest subnets placed first?

Placing blocks from largest to smallest keeps each one aligned to its own size, so they pack together without gaps or overlaps.

Related tools

ToolNinja