What is a /24 subnet?
254 usable hosts out of 256 addresses, behind netmask 255.255.255.0.
| Prefix | /24 |
|---|---|
| Netmask | 255.255.255.0 |
| Wildcard | 0.0.0.255 |
| Total addresses | 256 |
| Usable hosts | 254 |
| Example block | 10.0.0.0/24 |
| Usable host range | 10.0.0.1 – 10.0.0.254 |
| Broadcast | 10.0.0.255 |
A /24 fixes the first 24 bits of the address as the network and leaves 8 for hosts — 256 addresses in all.
Of those, 254 can be given to a machine: the first address names the network itself, and the last is the broadcast address.
These are the everyday sizes. A /24 is one office, one VLAN or one cloud subnet; the smaller ones suit a rack, a service tier or a DMZ.
A /24 is the size most people picture when they think of a subnet: one whole final octet.
Other subnet sizes
Subnet CalculatorStart in seconds
Bring your whole infrastructure into one modern dashboard.
Free plan · No credit card required · Set up in minutes