Home / Subnet calculator / /8
/8 subnet: mask 255.0.0.0
A /8 network holds 16,777,216 addresses, of which 16,777,214 can be given to devices. Its subnet mask is 255.0.0.0.
- Prefix length (CIDR)
- /8
- Subnet mask
- 255.0.0.0
- Wildcard mask
- 0.255.255.255
- Mask in binary
- 11111111.00000000.00000000.00000000
- Network bits / host bits
- 8 / 24
- Total addresses
- 16,777,216 (2 to the power of 24)
- Usable host addresses
- 16,777,214 (the first address names the network and the last is the broadcast address)
- Contains
- 65,536 networks of size /24
What a /8 is used for
A /8 is the old class A network: the first number names the network and the other three are yours, 16.7 million addresses. 10.0.0.0/8 is the largest private range, 127.0.0.0/8 is reserved for loopback (a computer talking to itself), and the /8 is the unit in which the global address pool was handed to the regional registries. A few early organisations still hold a whole one.
Worked example: which /8 is 10.77.20.130 in?
The mask ends exactly on an octet boundary, so no arithmetic is needed. The first octet names the network and the rest are set to zero: 10.77.20.130 is in 10.0.0.0/8.
- Network
- 10.0.0.0/8
- Usable range
- 10.0.0.1 to 10.255.255.254
- Broadcast address
- 10.255.255.255
- Next /8 begins at
- 11.0.0.0/8
Open this example in the subnet calculator to see it bit by bit, or to try your own address.
The first 16 of the 256 /8 networks in 0.0.0.0/0
| Network | Usable range | Broadcast |
|---|---|---|
| 0.0.0.0/8 | 0.0.0.1 to 0.255.255.254 | 0.255.255.255 |
| 1.0.0.0/8 | 1.0.0.1 to 1.255.255.254 | 1.255.255.255 |
| 2.0.0.0/8 | 2.0.0.1 to 2.255.255.254 | 2.255.255.255 |
| 3.0.0.0/8 | 3.0.0.1 to 3.255.255.254 | 3.255.255.255 |
| 4.0.0.0/8 | 4.0.0.1 to 4.255.255.254 | 4.255.255.255 |
| 5.0.0.0/8 | 5.0.0.1 to 5.255.255.254 | 5.255.255.255 |
| 6.0.0.0/8 | 6.0.0.1 to 6.255.255.254 | 6.255.255.255 |
| 7.0.0.0/8 | 7.0.0.1 to 7.255.255.254 | 7.255.255.255 |
| 8.0.0.0/8 | 8.0.0.1 to 8.255.255.254 | 8.255.255.255 |
| 9.0.0.0/8 | 9.0.0.1 to 9.255.255.254 | 9.255.255.255 |
| 10.0.0.0/8 | 10.0.0.1 to 10.255.255.254 | 10.255.255.255 |
| 11.0.0.0/8 | 11.0.0.1 to 11.255.255.254 | 11.255.255.255 |
| 12.0.0.0/8 | 12.0.0.1 to 12.255.255.254 | 12.255.255.255 |
| 13.0.0.0/8 | 13.0.0.1 to 13.255.255.254 | 13.255.255.255 |
| 14.0.0.0/8 | 14.0.0.1 to 14.255.255.254 | 14.255.255.255 |
| 15.0.0.0/8 | 15.0.0.1 to 15.255.255.254 | 15.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 /7 is twice the size, with 33,554,430 usable addresses, and a /9 is half the size, with 8,388,606 usable addresses. The table of every prefix size compares them all.