"/24" next to an IP address looks cryptic until you know what it's counting — once it clicks, subnetting stops being a memorization exercise and becomes simple arithmetic.
What CIDR Notation Actually Counts
The number after the slash (e.g., /24) is the number of bits reserved for the network portion of the address, out of 32 total bits in an IPv4 address — the remaining bits identify individual hosts on that network. A /24 leaves 8 bits for hosts; a /16 leaves 16 bits.
Common Prefixes and What They Mean
| CIDR | Subnet Mask | Usable Hosts |
|---|---|---|
| /24 | 255.255.255.0 | 254 |
| /25 | 255.255.255.128 | 126 |
| /28 | 255.255.255.240 | 14 |
| /16 | 255.255.0.0 | 65,534 |
Why Break a Network Into Subnets
Network Address, Broadcast Address, and Usable Range
Within any subnet, the first address is reserved as the network address and the last as the broadcast address — neither is assignable to a device. The usable host range is always two less than the total addresses in the subnet, which is why a /24 (256 total addresses) has 254 usable hosts, not 256.
Step-by-Step: Calculate Subnet Details
- Enter an IP address and CIDR prefix
- Get the subnet mask, network address, broadcast address, and usable host range instantly
Try It Yourself
Use our free Subnet Calculator — full IPv4 subnet details instantly
Open Subnet Calculator →