Home / Subnet calculator / /6
/6 subnet: mask 252.0.0.0
A /6 network holds 67,108,864 addresses, of which 67,108,862 can be given to devices. Its subnet mask is 252.0.0.0.
- Prefix length (CIDR)
- /6
- Subnet mask
- 252.0.0.0
- Wildcard mask
- 3.255.255.255
- Mask in binary
- 11111100.00000000.00000000.00000000
- Network bits / host bits
- 6 / 26
- Total addresses
- 67,108,864 (2 to the power of 26)
- Usable host addresses
- 67,108,862 (the first address names the network and the last is the broadcast address)
- Contains
- 262,144 networks of size /24
What a /6 is used for
A /6 is four /8 blocks side by side, about 67 million addresses. Like every size shorter than /8, it is used to summarise routes and write filters, not to number a network.
Worked example: which /6 is 100.20.1.130 in?
The mask's value in the first octet is 252, so networks advance in steps of 256 minus 252, which is 4, in that octet: 0, 4, 8, 12 and so on up to 252. 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/6.
- Network
- 100.0.0.0/6
- Usable range
- 100.0.0.1 to 103.255.255.254
- Broadcast address
- 103.255.255.255
- Next /6 begins at
- 104.0.0.0/6
Open this example in the subnet calculator to see it bit by bit, or to try your own address.
The first 16 of the 64 /6 networks in 0.0.0.0/0
| Network | Usable range | Broadcast |
|---|---|---|
| 0.0.0.0/6 | 0.0.0.1 to 3.255.255.254 | 3.255.255.255 |
| 4.0.0.0/6 | 4.0.0.1 to 7.255.255.254 | 7.255.255.255 |
| 8.0.0.0/6 | 8.0.0.1 to 11.255.255.254 | 11.255.255.255 |
| 12.0.0.0/6 | 12.0.0.1 to 15.255.255.254 | 15.255.255.255 |
| 16.0.0.0/6 | 16.0.0.1 to 19.255.255.254 | 19.255.255.255 |
| 20.0.0.0/6 | 20.0.0.1 to 23.255.255.254 | 23.255.255.255 |
| 24.0.0.0/6 | 24.0.0.1 to 27.255.255.254 | 27.255.255.255 |
| 28.0.0.0/6 | 28.0.0.1 to 31.255.255.254 | 31.255.255.255 |
| 32.0.0.0/6 | 32.0.0.1 to 35.255.255.254 | 35.255.255.255 |
| 36.0.0.0/6 | 36.0.0.1 to 39.255.255.254 | 39.255.255.255 |
| 40.0.0.0/6 | 40.0.0.1 to 43.255.255.254 | 43.255.255.255 |
| 44.0.0.0/6 | 44.0.0.1 to 47.255.255.254 | 47.255.255.255 |
| 48.0.0.0/6 | 48.0.0.1 to 51.255.255.254 | 51.255.255.255 |
| 52.0.0.0/6 | 52.0.0.1 to 55.255.255.254 | 55.255.255.255 |
| 56.0.0.0/6 | 56.0.0.1 to 59.255.255.254 | 59.255.255.255 |
| 60.0.0.0/6 | 60.0.0.1 to 63.255.255.254 | 63.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 /5 is twice the size, with 134,217,726 usable addresses, and a /7 is half the size, with 33,554,430 usable addresses. The table of every prefix size compares them all.