I hope this post will guide you to calculate VLSM very shortly. Also you don’t have to remember binary for every number except subnet mask. I take an IP address, for example: 192.168.100.40 /27 Step 1 : Subnet Mask Step 2 : Network Address and Broadcast Address Fill first 3 octets with IP Address. Now the first number of the block is Network Address and Last number of block is Broadcast Address. Step 3 : Valid IP Range Step 4 : Number of Hosts