/5 Subnet Mask: 248.0.0.0
A /5 prefix fixes the first 5 bits of the address as the network, leaving 27 bits for hosts. That gives 134,217,728 addresses, of which 134,217,726 can be assigned to hosts.
| CIDR notation | /5 |
| Subnet mask | 248.0.0.0 |
| Wildcard mask | 7.255.255.255 |
| Binary mask | 11111000.00000000.00000000.00000000 |
| Hex mask | 0xF8000000 |
| Total addresses | 134,217,728 |
| Usable hosts | 134,217,726 |
Example: 0.0.0.0/5
- Network address: 0.0.0.0
- First usable host: 0.0.0.1
- Last usable host: 7.255.255.254
- Broadcast address: 7.255.255.255
When to use a /5 subnet
Huge address blocks allocated to regional internet registries and large organizations; rarely used for subnetting.
Frequently Asked Questions
What is the subnet mask for /5?
The subnet mask for /5 is 248.0.0.0, and its wildcard (inverse) mask is 7.255.255.255.
How many hosts are in a /5?
A /5 contains 134,217,728 addresses. Subtracting the network and broadcast addresses leaves 134,217,726 usable hosts.