Subnet calculator › CIDR /7
/7 subnet mask (254.0.0.0)
A /7 uses the first 7 bits for the network and the remaining 25 bits for hosts: 33,554,432 addresses, 33,554,430 usable hosts.
| CIDR notation | /7 |
|---|---|
| Subnet mask | 254.0.0.0 |
| Wildcard mask | 1.255.255.255 |
| Binary mask | 1111111|0.00000000.00000000.00000000 |
| Hex mask | 0xFE000000 |
| Total addresses | 33,554,432 (225) |
| Usable hosts | 33,554,430 · 33,554,432 addresses minus the network and broadcast addresses. |
| Block size | The first octet changes in steps of 2 |
What is a /7 used for?
- Aggregation at large carrier or country scale
/7 address range examples
Splitting 0.0.0.0/0 into /7 gives 128 subnets. The first 8 are shown.
| Network | Usable range | Broadcast |
|---|---|---|
| 0.0.0.0/7 | 0.0.0.1 ~ 1.255.255.254 | 1.255.255.255 |
| 2.0.0.0/7 | 2.0.0.1 ~ 3.255.255.254 | 3.255.255.255 |
| 4.0.0.0/7 | 4.0.0.1 ~ 5.255.255.254 | 5.255.255.255 |
| 6.0.0.0/7 | 6.0.0.1 ~ 7.255.255.254 | 7.255.255.255 |
| 8.0.0.0/7 | 8.0.0.1 ~ 9.255.255.254 | 9.255.255.255 |
| 10.0.0.0/7 | 10.0.0.1 ~ 11.255.255.254 | 11.255.255.255 |
| 12.0.0.0/7 | 12.0.0.1 ~ 13.255.255.254 | 13.255.255.255 |
| 14.0.0.0/7 | 14.0.0.1 ~ 15.255.255.254 | 15.255.255.255 |
Splitting a /7 further
| Split into | Subnets | Hosts each |
|---|---|---|
| /8 | 2 | 16,777,214 |
| /9 | 4 | 8,388,606 |
| /10 | 8 | 4,194,302 |
| /11 | 16 | 2,097,150 |
| /12 | 32 | 1,048,574 |
| /13 | 64 | 524,286 |
| /14 | 128 | 262,142 |
| /15 | 256 | 131,070 |