Binary-Tech Institute
HomeAll Courses
About UsContact Us
Start Learning
Start Learning
All free toolsFree tool

VLSM Calculator

Design efficient IP address schemes with our free VLSM calculator. Enter your host requirements and get correctly sized subnets instantly — built for CCNA students.

Runs in your browser — your data never leaves your device

Allocations for 192.168.0.0/24 (largest requirement first)

Hosts neededPrefixNetworkBroadcastUsable range
100/25192.168.0.0192.168.0.127192.168.0.1 – 192.168.0.126
50/26192.168.0.128192.168.0.191192.168.0.129 – 192.168.0.190
20/27192.168.0.192192.168.0.223192.168.0.193 – 192.168.0.222
2/30192.168.0.224192.168.0.227192.168.0.225 – 192.168.0.226

Fixed-length subnetting wastes addresses. If one department needs 100 hosts and another needs 5, giving both a /24 means burning through address space you don't have to spare. Variable Length Subnet Masking (VLSM) fixes this by letting you size each subnet to match its actual requirement, and this calculator handles the arithmetic for you.

How to use the VLSM calculator

  1. Enter your base network address and prefix, for example 192.168.0.0/24.
  2. List the number of hosts each subnet needs to support (comma or line separated).
  3. The calculator allocates subnets from largest to smallest and shows network, broadcast, and usable range for each.

Why VLSM is worth learning properly

VLSM is where subnetting theory becomes network design. Real networks are never made up of equally sized segments — a head office might need 500 addresses, a branch office 50, and a point-to-point WAN link only 2. This is also a heavily weighted topic on the CCNA exam because it tests the ability to sequence and allocate address space efficiently across multiple requirements.

Worked example

Say you're given 172.16.0.0/22 and need subnets for 100 hosts, 50 hosts, 20 hosts, and a point-to-point link (2 hosts). You'd allocate a /25 (126 usable) for the 100-host segment first, then a /26 (62 usable) for 50 hosts, a /27 (30 usable) for 20 hosts, and a /30 (2 usable) for the WAN link — in that order, so each block starts on a correct boundary.

Subnet requirements are calculated locally. Your network design data never leaves your browser.

Building real network designs, not just passing exams?

Our Cisco networking courses cover VLSM alongside route summarization and IP address planning for real-world topologies, not just exam scenarios.

View Cisco & networking courses

Frequently asked questions

VLSM stands for Variable Length Subnet Masking. It's a technique for subnetting a network into subnets of different sizes, based on how many hosts each one actually needs.

Stay ahead in IT

Course updates, free resources, and training tips — straight to your inbox.

Binary-Tech Institute

Hands-on practice, minds-on experience. Practical IT training for real careers.

Resources

  • Blog & Vlogs
  • Free Tools
  • All Courses
  • FAQs
  • Contact Us

Popular Courses

    Contact

    • Address: Must Ltd, 124 City Road, London, EC1V 2NX, UK
    • Phone: +44 7360 507201
    • Email: contact@binary-tech.co.uk
    Copyright © 2026 Binary-Tech Institute
    Privacy Policy·Terms & Conditions