2026-04-09

Subnetting cheat sheet: CIDR, masks, and VLSM without panic

A plain-language subnetting guide for students, admins, and certification prep when you need the math to click quickly.

What you’ll learn

This guide now combines stronger visuals, clearer milestones, and a faster scan path so you can find the right insight without reading every paragraph.

How to decide from here

Every article now pairs stronger examples with clearer next-step guidance so you can move from reading to action faster.

  1. Scan the headings and charts to find the section that matches your question.
  2. Compare the examples against your real numbers, then open the linked calculator to personalize the story.
  3. Use the action checklist or callout at the end to pick the next right move.
Editorial review
thestatickit Technical Review Board

Chief Technical Editor · Specializes in browser-side execution, data privacy architecture, and deterministic algorithm verification. Ensures all tools meet our "Zero-Server" processing standard.

CIDR is just a way to talk about network bits

The slash notation tells you how many leading bits belong to the network portion. Once that clicks, host counts and mask ranges stop feeling like separate magic tricks and start feeling like one system.

VLSM is planning, not memorization theater

Variable Length Subnet Masking matters because real networks rarely need identical host counts everywhere. The point is to allocate space intentionally instead of wasting address ranges because a fixed-size split felt simpler.

CIDR quick reference table

Memorizing this table covers 90% of real-world subnetting scenarios:

CIDR notation quick reference
CIDRSubnet MaskUsable HostsCommon Use
/8255.0.0.016,777,214Large enterprise / ISP
/16255.255.0.065,534Campus network
/24255.255.255.0254Small office / home network
/25255.255.255.128126Split /24 into 2 subnets
/26255.255.255.19262Split /24 into 4 subnets
/27255.255.255.22430Small department
/28255.255.255.24014Small team / VLAN
/30255.255.255.2522Point-to-point links
/32255.255.255.2551Single host / loopback
Usable hosts = 2^(32-prefix) - 2 (subtract network and broadcast addresses).

VLSM planning: allocate by need, not by habit

Variable Length Subnet Masking lets you assign different-sized subnets to different network segments. Always allocate largest subnets first.

VLSM allocation strategy

How to plan subnet allocation:

Step 1: List all segments by host count (largest first)

Sort requirements: 100 hosts, 50 hosts, 25 hosts, 10 hosts, 2 hosts (point-to-point).

Step 2: Assign smallest subnet that fits each requirement

100 hosts → /25 (126 usable). 50 hosts → /26 (62 usable). 25 hosts → /27 (30 usable).

Step 3: Verify no overlap between allocated ranges

Use the subnet calculator to confirm start/end addresses do not conflict.

Step 4: Document and reserve space for growth

Leave at least 20% headroom in each subnet for future hosts.

Use tools to verify, not to avoid understanding

A subnet calculator is best when it confirms your reasoning, shows usable ranges, and lets you compare allocations quickly. It should reduce mistakes, not replace the mental model completely.


Apply this article

Open the calculators below to turn these ideas into your own numbers and next steps.


Tools in this guide

Open a calculator directly—each runs in your browser without sign-up.


← All posts