Subnetting turns one IPv4 block into smaller broadcast domains. The reliable workflow is to read the prefix length, calculate the address count, then reserve network and broadcast addresses before assigning hosts.
Usable hosts = total addresses − 2
Worked example: 192.168.10.0/24
A /24 leaves 8 host bits. That gives 256 total addresses, from 192.168.10.0 through 192.168.10.255. The network address is .0, the broadcast address is .255, and the usable range is 192.168.10.1–192.168.10.254.
Common prefix sizes
| CIDR | Total addresses | Usable hosts | Typical use |
|---|---|---|---|
| /30 | 4 | 2 | Point-to-point link |
| /29 | 8 | 6 | Small appliance segment |
| /24 | 256 | 254 | Office VLAN |
| /16 | 65,536 | 65,534 | Large private network |
A practical subnetting workflow
- Calculate host bits as 32 minus the prefix.
- Confirm the network boundary and broadcast address.
- Reserve infrastructure addresses before counting client capacity.
- Check overlap with existing routes.
Frequently asked questions
How many usable hosts are in a /27?
A /27 has 32 total addresses and 30 usable host addresses.
What is the fastest way to verify a subnet?
Enter the address and CIDR in the NetEngineerLab calculator, then compare the network, broadcast and host range with your design notes.