PasteZap
🌐 English
Free · No account

FREE · NETWORK & IT INFRASTRUCTURE

VLSM Subnet Calculator.

Divide an IPv4 block into variable-size subnets from the number of hosts each one needs, with a full allocation table and free space.

Limits & supported formats

IPv4 only, up to 200 subnets. Subnets that do not fit are listed as such rather than overlapping. Everything is calculated in your browser; nothing is sent or probed on the network.

CALCULATED IN YOUR BROWSER · NOTHING IS UPLOADED
Subnets
Subnets allocated6 / 6192.168.0.0/22
Block size
1,024 addresses
Allocated
548 addresses
Free
476 addresses
Block used
53.5 %
Hosts requested
507
Free blocks
192.168.2.36/30, 192.168.2.40/29, 192.168.2.48/28, 192.168.2.64/26, 192.168.2.128/25, 192.168.3.0/24

Allocation plan

NameHosts neededSubnetMaskFirst hostLast hostBroadcastUsableSpare
Guests Wi-Fi250192.168.0.0/24255.255.255.0192.168.0.1192.168.0.254192.168.0.2552544
Sales120192.168.1.0/25255.255.255.128192.168.1.1192.168.1.126192.168.1.1271266
Engineering60192.168.1.128/26255.255.255.192192.168.1.129192.168.1.190192.168.1.191622
Voice50192.168.1.192/26255.255.255.192192.168.1.193192.168.1.254192.168.1.2556212
Servers25192.168.2.0/27255.255.255.224192.168.2.1192.168.2.30192.168.2.31305
WAN link2192.168.2.32/30255.255.255.252192.168.2.33192.168.2.34192.168.2.3520
  • Hosts needed should include the gateway and any addresses reserved for routers or HA pairs.
  • Every subnet starts on a multiple of its own size, as routing requires.

How to use VLSM Subnet Calculator

Enter the address block, then one line per subnet with its name and the hosts it needs (include the gateway). Download the plan as CSV.

How it works

Each subnet gets the smallest prefix whose usable addresses cover its hosts. Largest subnets are placed first, each aligned on a multiple of its own size, so no address is wasted between them. The remaining space is summarised as CIDR blocks.

Example

192.168.0.0/22 split for 250, 120, 60, 50, 25 and 2 hosts gives /24, /25, /26, /26, /27 and /30 with 476 addresses left.

Questions about VLSM Subnet Calculator

Is VLSM Subnet Calculator free, and do I need an account?

Yes. This tool is free to use in your browser without an account. Processing takes place on your device.

What are the limits and what should I check?

IPv4 only, up to 200 subnets. Subnets that do not fit are listed as such rather than overlapping. Everything is calculated in your browser; nothing is sent or probed on the network. Review the result before using it in your work.

Is my input sent to a server?

Your input is processed in your browser and is not uploaded by this tool. Files and pasted text are cleared when the page is refreshed. Normal website requests are still required to load the page and its libraries. Read the privacy explanation.