Skip to content
Mailwel
Theme

VLSM calculator

Fit subnets of different sizes into one block. List how many hosts each one needs, and get an aligned block for each, largest first.

Subnets and the hosts each needs

Hosts are the devices that need an address. IPv4 subnets also lose two addresses to the network and broadcast.

Try:

Allocations

Example: type your own block and subnets above.

Subnets placed4largest first
Addresses used93.7%240 of 256
Left over16in 1 block
NameNeededSubnetUsable rangeUsableWasted
London100192.0.2.0/25192.0.2.1 – 192.0.2.12612626
Paris50192.0.2.128/26192.0.2.129 – 192.0.2.1906212
Berlin25192.0.2.192/27192.0.2.193 – 192.0.2.222305
Madrid10192.0.2.224/28192.0.2.225 – 192.0.2.238144
  • Name
    London
    Needed
    100
    Subnet
    192.0.2.0/25
    Usable range
    192.0.2.1 – 192.0.2.126
    Usable
    126
    Wasted
    26
  • Name
    Paris
    Needed
    50
    Subnet
    192.0.2.128/26
    Usable range
    192.0.2.129 – 192.0.2.190
    Usable
    62
    Wasted
    12
  • Name
    Berlin
    Needed
    25
    Subnet
    192.0.2.192/27
    Usable range
    192.0.2.193 – 192.0.2.222
    Usable
    30
    Wasted
    5
  • Name
    Madrid
    Needed
    10
    Subnet
    192.0.2.224/28
    Usable range
    192.0.2.225 – 192.0.2.238
    Usable
    14
    Wasted
    4

Space left over

1 block
192.0.2.240/28