Home / Subnet calculator / /5
/5 subnet: mask 248.0.0.0
A /5 network holds 134,217,728 addresses, of which 134,217,726 can be given to devices. Its subnet mask is 248.0.0.0.
- Prefix length (CIDR)
- /5
- Subnet mask
- 248.0.0.0
- Wildcard mask
- 7.255.255.255
- Mask in binary
- 11111000.00000000.00000000.00000000
- Network bits / host bits
- 5 / 27
- Total addresses
- 134,217,728 (2 to the power of 27)
- Usable host addresses
- 134,217,726 (the first address names the network and the last is the broadcast address)
- Contains
- 524,288 networks of size /24
What a /5 is used for
No organisation holds a /5. A block this size exists only as arithmetic: a way to summarise eight neighbouring /8 blocks in a single line of a routing table or firewall rule.
Worked example: which /5 is 100.20.1.130 in?
The mask's value in the first octet is 248, so networks advance in steps of 256 minus 248, which is 8, in that octet: 0, 8, 16, 24 and so on up to 248. The first octet of 100.20.1.130 is 100, which falls in the step that starts at 96. The network is therefore 96.0.0.0/5.
- Network
- 96.0.0.0/5
- Usable range
- 96.0.0.1 to 103.255.255.254
- Broadcast address
- 103.255.255.255
- Next /5 begins at
- 104.0.0.0/5
Open this example in the subnet calculator to see it bit by bit, or to try your own address.
The first 16 of the 32 /5 networks in 0.0.0.0/0
| Network | Usable range | Broadcast |
|---|---|---|
| 0.0.0.0/5 | 0.0.0.1 to 7.255.255.254 | 7.255.255.255 |
| 8.0.0.0/5 | 8.0.0.1 to 15.255.255.254 | 15.255.255.255 |
| 16.0.0.0/5 | 16.0.0.1 to 23.255.255.254 | 23.255.255.255 |
| 24.0.0.0/5 | 24.0.0.1 to 31.255.255.254 | 31.255.255.255 |
| 32.0.0.0/5 | 32.0.0.1 to 39.255.255.254 | 39.255.255.255 |
| 40.0.0.0/5 | 40.0.0.1 to 47.255.255.254 | 47.255.255.255 |
| 48.0.0.0/5 | 48.0.0.1 to 55.255.255.254 | 55.255.255.255 |
| 56.0.0.0/5 | 56.0.0.1 to 63.255.255.254 | 63.255.255.255 |
| 64.0.0.0/5 | 64.0.0.1 to 71.255.255.254 | 71.255.255.255 |
| 72.0.0.0/5 | 72.0.0.1 to 79.255.255.254 | 79.255.255.255 |
| 80.0.0.0/5 | 80.0.0.1 to 87.255.255.254 | 87.255.255.255 |
| 88.0.0.0/5 | 88.0.0.1 to 95.255.255.254 | 95.255.255.255 |
| 96.0.0.0/5 | 96.0.0.1 to 103.255.255.254 | 103.255.255.255 |
| 104.0.0.0/5 | 104.0.0.1 to 111.255.255.254 | 111.255.255.255 |
| 112.0.0.0/5 | 112.0.0.1 to 119.255.255.254 | 119.255.255.255 |
| 120.0.0.0/5 | 120.0.0.1 to 127.255.255.254 | 127.255.255.255 |
One size up and one size down
Each bit removed from the prefix doubles a network, and each bit added halves it. A /4 is twice the size, with 268,435,454 usable addresses, and a /6 is half the size, with 67,108,862 usable addresses. The table of every prefix size compares them all.