VLSM Calculator
Split one network into right-sized subnets with MiniWebtool’s VLSM Calculator. Enter the hosts each subnet needs to get network addresses, masks, usable ranges and broadcasts, an address map, practice problems and a PDF plan.
For Gemini, paste the copied question into the chat. You can also copy it below.Need help using this tool? Ask AI
View the question
Enter your network and the hosts each subnet needs. You get the network address, mask, usable range and broadcast of every subnet, largest first.
Type an address with a prefix (192.168.10.0/24) or with a mask (192.168.10.0 255.255.255.0).
VLSM address plan
🔒 Calculated in your browser. Nothing you type is sent anywhere.
About VLSM Calculator
The VLSM Calculator divides one IPv4 network into subnets of different sizes, each just big enough for the hosts it needs. Type the network you were given and the host count for every department, VLAN or link, and you get a complete addressing plan: the network address, prefix, subnet mask, usable host range, broadcast address and wildcard mask of each subnet, the space left over, and a map of how the blocks sit in the network. It is built for networking students checking an assignment and for anyone planning the addresses of an office or a lab.
At a Glance
VLSM Calculator divides one IPv4 network into right-sized subnets by the hosts each one needs and lists every network address, mask, usable range and broadcast address.
| Feature | What you get | Good for |
|---|---|---|
| Subnets by hosts needed | Each subnet gets the smallest block that fits, largest first. | Assignments and address plans |
| Full subnet table | Network address, prefix, mask, usable range, broadcast and wildcard for every subnet. | Router and DHCP setup |
| Point-to-point links | Add router links as /30 or /31. | WAN links between sites |
| Address space map | Coloured blocks for each subnet and the space left over. | Seeing waste at a glance |
| Practice problems | Random networks with the answers hidden until you check them. | CCNA and networking students |
| Copy and PDF | Copy the table into a spreadsheet or download the plan as a PDF, free with a light watermark. | Documentation |
How to use the calculator
- Enter the network. Type it with a prefix, such as 192.168.10.0/24, or with a mask, such as 192.168.10.0 255.255.255.0.
- List the subnets. Give each one a name and the number of hosts it needs. Count every device that needs an address, including the router interface.
- Add the links. Choose how many point-to-point links between routers you need and whether they are /30 or /31.
- Read the plan. The table updates as you type. Leave the order on largest first unless your assignment asks for the subnets in a set order.
- Keep it. Copy the table into a spreadsheet, or download the address plan as a PDF.
Practice VLSM problems
Press New practice problem for a random network and set of subnets. The answers stay hidden: work out each subnet on paper, then show the answers one row at a time to check yourself. A PDF downloaded while the answers are hidden is a blank worksheet, and one downloaded after showing them is the answer key.
VLSM step by step: a worked example
The network 192.168.10.0/24 has 256 addresses. It needs subnets for Sales (60 hosts), Engineering (28 hosts), HR (12 hosts) and two WAN links of 2 hosts each.
- Sort by size: Sales 60, Engineering 28, HR 12, then the two links.
- Sales: 60 hosts need 64 addresses, a /26. It gets 192.168.10.0/26: hosts .1 to .62, broadcast .63.
- Engineering: 28 hosts need 32 addresses, a /27, starting at .64: hosts .65 to .94, broadcast .95.
- HR: 12 hosts need 16 addresses, a /28, starting at .96: hosts .97 to .110, broadcast .111.
- WAN links: two /30 blocks at .112 and .116, with hosts .113–.114 and .117–.118.
- Left over: 192.168.10.120 to .255, 136 addresses for future subnets.
Subnet sizes cheat sheet
| Prefix | Subnet mask | Addresses | Usable hosts |
|---|---|---|---|
| /30 | 255.255.255.252 | 4 | 2 |
| /29 | 255.255.255.248 | 8 | 6 |
| /28 | 255.255.255.240 | 16 | 14 |
| /27 | 255.255.255.224 | 32 | 30 |
| /26 | 255.255.255.192 | 64 | 62 |
| /25 | 255.255.255.128 | 128 | 126 |
| /24 | 255.255.255.0 | 256 | 254 |
| /23 | 255.255.254.0 | 512 | 510 |
| /22 | 255.255.252.0 | 1,024 | 1,022 |
To size a subnet, take the hosts it needs, add 2 for the network and broadcast addresses, and round up to the next number in the Addresses column. For a single network rather than a whole plan, the IP subnet calculator shows the same details for one address and mask.
Frequently asked questions
What is VLSM?
VLSM (variable length subnet masking) means splitting one network into subnets of different sizes, each with its own mask, instead of cutting it into equal pieces. A department with 60 hosts gets a /26 and one with 12 hosts gets a /28, so far fewer addresses are wasted.
How do you calculate VLSM?
Sort the subnets from the most hosts to the fewest. For each one, find the smallest block whose size minus 2 covers the hosts (64 addresses give 62 hosts, 32 give 30, 16 give 14, 4 give 2). Give the first block the start of the network, then start each next block where the previous one ended. Working largest first keeps every block on a boundary of its own size.
Why do you allocate the largest subnet first?
A block of 64 addresses has to start on a multiple of 64. If small subnets go first, the large ones have to skip ahead to the next boundary and the space in between is wasted. Largest first packs the blocks with no gaps.
Why does a subnet have 2 fewer usable hosts than addresses?
The first address of a subnet is the network address and the last is the broadcast address, and neither can be given to a device. A /26 has 64 addresses and 62 usable hosts. The exception is a /31 point-to-point link, which uses both of its 2 addresses.
What is the difference between VLSM and FLSM?
FLSM (fixed length subnet masking) cuts a network into equal subnets that all use the same mask, so every subnet is as big as the largest one needs. VLSM sizes each subnet separately. With subnets of 60, 28 and 12 hosts, FLSM uses three /26 blocks (192 addresses) while VLSM uses a /26, a /27 and a /28 (112 addresses).
What is the difference between VLSM and CIDR?
Both drop the old fixed class A, B and C boundaries. VLSM divides one network into smaller subnets of different sizes. CIDR works the other way as well: it writes any network as an address and a prefix length such as /22 and lets routers combine many networks into one route.
Should point-to-point links use /30 or /31?
A /30 has 4 addresses and 2 usable hosts and works everywhere. A /31 has only 2 addresses and no network or broadcast address (RFC 3021), which halves the space links take. Most current routers support /31 on point-to-point links; use /30 if an exam or older equipment expects it.
What if my subnets do not fit?
The calculator tells you how many addresses the subnets need and the smallest network prefix that would hold them. You can ask for a bigger network, split a large subnet, or reduce the host counts. Remember each subnet rounds up to a power of 2, so 65 hosts need a /25 of 128 addresses.
Reference this content, page, or tool as:
"VLSM Calculator" at https://MiniWebtool.com/vlsm-calculator/ from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: December 3, 2026
Chat with your favorite AI
For Gemini, paste the copied question into the chat. You can also copy it below.
View the question
General Tools:
- 0–60 / Quarter Mile Calculator New
- 24 Game Solver & Trainer
- 2-Stroke Oil Mix Calculator New
- Age Calculator
- AI Gift Idea Generator Popular
- AI Travel Itinerary Generator New
- AI Unit Converter (Natural Language) New
- Air Conditioner BTU Calculator
- Aquarium Heater Wattage Calculator New
- Aquarium Substrate Calculator
- Aquarium Volume & Stocking Calculator
- Baby Name Generator New
- Backpacking Food Weight Calculator New
- Banana Radiation Calculator
- Barcode Generator
- BBQ Calculator
- Beer Chill Time Calculator
- Betting Odds Converter New
- Birthday Across Cultures Calculator New
- 🖱️ Click Counter Popular
- Closet Capsule Calculator New
- Cocktail ABV Calculator
- Coffee Brew Ratio Calculator
- Commute Life Wasted Calculator
- Cost of Smoking Calculator
- Crossword Puzzle Maker
- Cryptogram Generator
- CTR Calculator New
- Cube Timer New
- Daily Time Savings Calculator
- 💧 Dew Point Calculator New
- ⚔️ DPS Calculator New
- Eisenhower Matrix New
- Elo Rating Calculator New
- Email Reply Time Calculator
- Facebook Ad Cost Calculator New
- Falling Through Earth Calculator
- Fertilizer Calculator (NPK) New
- Flight Distance Calculator New
- Freight Class Calculator New
- Frost Date Calculator New
- Futoshiki Generator
- 🎰 Gacha Pity Calculator New
- 🎮 Game Sensitivity Converter New
- Gas Mileage Calculator New
- Hair Dye Mixing Calculator New
- Hashi (Bridges) Puzzle Generator
- 🌡️ Heat Index Calculator New
- Homebrew ABV Calculator (Alcohol by Volume)
- How Old Are You?
- 🎮 In-Game Currency Converter New
- Instagram Engagement Rate Calculator New
- Instagram Font Generator New
- Invoice Generator New
- IP Address to Binary Converter Popular
- IP Address to Hex Converter Popular
- IP Subnet Calculator New
- Is JavaScript Enabled?
- Job Finder
- Julia Set Generator New
- K/D Ratio Calculator New
- Kakuro Generator
- KenKen Generator (Calcudoku)
- Killer Sudoku Generator
- Knot Tying Reference Tool New
- L-System Fractal Generator New
- Laundry Detergent Dosage Calculator New
- Lawn Fertilizer Calculator New
- Lego Brick House Calculator
- Light Bulb Savings Calculator
- 🎲 Loot Drop Probability Calculator New
- Mandelbrot Set Explorer New
- Maze Generator
- Meeting Cost Ticker
- Miles per Gallon Calculator
- Nonogram Generator (Picross)
- Number to Word Converter
- Octane Mix Calculator Popular
- Packing List Generator New
- Paper Size Reference New
- Parking Ratio Calculator
- Penny Drop Impact Calculator
- Pizza Party Planner
- Plant Spacing Calculator
- QR Code Generator
- Quote Finder Popular
- Raised Bed Soil Calculator New
- ROAS Calculator New
- Shower Cost Calculator
- Sierpinski Triangle Generator New
- Gantt Chart Maker New
- Sleeping Bag Temperature Rating Guide New
- Slitherlink Puzzle Generator
- ❄️ Snow Day Calculator New
- Social Media Image Size Guide New
- Social Media Post Time Optimizer New
- Social Media Username Checker Popular
- Speedrun Split Timer New
- Spirograph Generator New
- Storage Unit Size Calculator New
- Sudoku Generator & Solver
- Tent Footprint Size Calculator New
- Tessellation Generator New
- TikTok Engagement Rate Calculator New
- TikTok Money Calculator New
- Tire Load Index & Speed Rating Lookup New
- Tire Size Calculator New
- Tire Tread Wear Calculator New
- Toilet Paper Value Calculator
- Trailer Tongue Weight Calculator New
- TV Size Calculator New
- Twitch Earnings Calculator New
- Twitter/X Character Counter New
- Twitter/X Timestamp Converter Popular
- Vehicle Towing Capacity Calculator New
- Vehicle Weight Distribution Calculator New
- VLSM Calculator New
- Voronoi Diagram Generator New
- Wedding Alcohol Calculator
- Wet Bulb Temperature Calculator New
- Wheel Offset Calculator New
- 🌬️ Wind Chill Calculator New
- Word Ladder Generator Popular
- Word Scramble Generator Popular
- Word Search Puzzle Generator
- Word to Phone Number Converter Popular
- Would You Rather Generator New
- YouTube Channel Statistics Popular
- YouTube Comment Picker New
- YouTube Earnings Estimator New
- YouTube Shorts Monetization Calculator New
- YouTube Tag Extractor Popular
- YouTube Thumbnail Downloader New
- YouTube Watch Time Calculator New
- YouTube Transcript Generator Popular
- QR Code Scanner New
- Keyboard Tester New
- Reaction Time Test New
- Qibla Direction Finder New
- CPS Test New
- Aim Trainer New
- Mouse Test New
- Laundry Symbols Guide New
- Wedding Seating Chart Maker New
- Dead Pixel Test New
- Planting Calendar New
- Companion Planting Chart New
- CBM Calculator New