Home / Subnet calculator / /7
/7 subnet: mask 254.0.0.0
A /7 network holds 33,554,432 addresses, of which 33,554,430 can be given to devices. Its subnet mask is 254.0.0.0.
- Prefix length (CIDR)
- /7
- Subnet mask
- 254.0.0.0
- Wildcard mask
- 1.255.255.255
- Mask in binary
- 11111110.00000000.00000000.00000000
- Network bits / host bits
- 7 / 25
- Total addresses
- 33,554,432 (2 to the power of 25)
- Usable host addresses
- 33,554,430 (the first address names the network and the last is the broadcast address)
- Contains
- 131,072 networks of size /24
What a /7 is used for
A /7 joins two neighbouring /8 blocks. It appears in filter lists and route summaries that cover two adjacent /8s with one entry, and nowhere in ordinary network design.
Worked example: which /7 is 100.20.1.130 in?
The mask's value in the first octet is 254, so networks advance in steps of 256 minus 254, which is 2, in that octet: 0, 2, 4, 6 and so on up to 254. The first octet of 100.20.1.130 is 100, which falls in the step that starts at 100. The network is therefore 100.0.0.0/7.
- Network
- 100.0.0.0/7
- Usable range
- 100.0.0.1 to 101.255.255.254
- Broadcast address
- 101.255.255.255
- Next /7 begins at
- 102.0.0.0/7
Open this example in the subnet calculator to see it bit by bit, or to try your own address.
The first 16 of the 128 /7 networks in 0.0.0.0/0
| Network | Usable range | Broadcast |
|---|---|---|
| 0.0.0.0/7 | 0.0.0.1 to 1.255.255.254 | 1.255.255.255 |
| 2.0.0.0/7 | 2.0.0.1 to 3.255.255.254 | 3.255.255.255 |
| 4.0.0.0/7 | 4.0.0.1 to 5.255.255.254 | 5.255.255.255 |
| 6.0.0.0/7 | 6.0.0.1 to 7.255.255.254 | 7.255.255.255 |
| 8.0.0.0/7 | 8.0.0.1 to 9.255.255.254 | 9.255.255.255 |
| 10.0.0.0/7 | 10.0.0.1 to 11.255.255.254 | 11.255.255.255 |
| 12.0.0.0/7 | 12.0.0.1 to 13.255.255.254 | 13.255.255.255 |
| 14.0.0.0/7 | 14.0.0.1 to 15.255.255.254 | 15.255.255.255 |
| 16.0.0.0/7 | 16.0.0.1 to 17.255.255.254 | 17.255.255.255 |
| 18.0.0.0/7 | 18.0.0.1 to 19.255.255.254 | 19.255.255.255 |
| 20.0.0.0/7 | 20.0.0.1 to 21.255.255.254 | 21.255.255.255 |
| 22.0.0.0/7 | 22.0.0.1 to 23.255.255.254 | 23.255.255.255 |
| 24.0.0.0/7 | 24.0.0.1 to 25.255.255.254 | 25.255.255.255 |
| 26.0.0.0/7 | 26.0.0.1 to 27.255.255.254 | 27.255.255.255 |
| 28.0.0.0/7 | 28.0.0.1 to 29.255.255.254 | 29.255.255.255 |
| 30.0.0.0/7 | 30.0.0.1 to 31.255.255.254 | 31.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 /6 is twice the size, with 67,108,862 usable addresses, and a /8 is half the size, with 16,777,214 usable addresses. The table of every prefix size compares them all.