Home Net Guide

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

NetworkUsable rangeBroadcast
0.0.0.0/60.0.0.1 to 3.255.255.2543.255.255.255
4.0.0.0/64.0.0.1 to 7.255.255.2547.255.255.255
8.0.0.0/68.0.0.1 to 11.255.255.25411.255.255.255
12.0.0.0/612.0.0.1 to 15.255.255.25415.255.255.255
16.0.0.0/616.0.0.1 to 19.255.255.25419.255.255.255
20.0.0.0/620.0.0.1 to 23.255.255.25423.255.255.255
24.0.0.0/624.0.0.1 to 27.255.255.25427.255.255.255
28.0.0.0/628.0.0.1 to 31.255.255.25431.255.255.255
32.0.0.0/632.0.0.1 to 35.255.255.25435.255.255.255
36.0.0.0/636.0.0.1 to 39.255.255.25439.255.255.255
40.0.0.0/640.0.0.1 to 43.255.255.25443.255.255.255
44.0.0.0/644.0.0.1 to 47.255.255.25447.255.255.255
48.0.0.0/648.0.0.1 to 51.255.255.25451.255.255.255
52.0.0.0/652.0.0.1 to 55.255.255.25455.255.255.255
56.0.0.0/656.0.0.1 to 59.255.255.25459.255.255.255
60.0.0.0/660.0.0.1 to 63.255.255.25463.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.