Skip to main content
WorkUtilities
← All GuidesDeveloper Tools

Subnet Calculator Guide β€” CIDR Notation & IP Ranges Explained

Alex Morgan Β· 7 min read Β· Last updated June 2026


Subnetting is essential for network engineers, DevOps professionals, and anyone configuring cloud VPCs or firewalls. Use our free Subnet Calculator to find network address, broadcast, usable hosts, IP range, and subnet mask from any IPv4 CIDR notation.


What Is Subnetting?

Subnetting divides a large IP network into smaller segments for security isolation, performance, and efficient IP allocation. Every network engineer and DevOps professional working with cloud VPCs, on-premise networks, firewalls, and router configurations relies on subnet math daily.


Understanding CIDR Notation

The /24 in 192.168.1.0/24 means the first 24 bits are the network portion, leaving 8 bits for host addresses β€” 28 = 256 total addresses. After subtracting the network address (first) and broadcast address (last), you get 254 usable host addresses.


Common Cloud VPC Sizes

AWS typically recommends a /16 for a full VPC (65,536 addresses) and /24 subnets within it for individual segments. A /30 (4 addresses, 2 usable) is common for point-to-point links between routers.


Related Reading


Frequently Asked Questions

What does /24 mean in an IP address like 192.168.1.0/24?

The /24 is CIDR notation, meaning the first 24 bits identify the network, leaving 8 bits for host addresses. This gives 256 total IP addresses (2^8), with 254 usable after reserving the network and broadcast addresses.

Why are 2 addresses subtracted from the total to get usable hosts?

The first address is the network address (identifies the subnet itself, not assignable to devices), and the last address is the broadcast address (used to send to all devices on the subnet at once) β€” both are reserved and can't be assigned to individual hosts.

What's the difference between a subnet mask and a CIDR prefix?

They express the same information in different formats. A /24 CIDR prefix is equivalent to a 255.255.255.0 subnet mask β€” CIDR is more compact and widely used today, while dotted-decimal subnet masks are the older format, still used in some device configuration interfaces.

Which CIDR prefix should I use for a small office network?

/24 (256 addresses, 254 usable) is the most common choice for small networks, providing enough addresses for typical office use while keeping the subnet manageable. For very small segments (like point-to-point links), /30 (4 addresses, 2 usable) is common.


Calculate a Subnet Now β†’

Ready to try it yourself?

Subnet Calculator β€” Free & Private

No signup. No upload to server. Runs in your browser.

Try Subnet Calculator β†’