Number of Subnets and Hosts for Various Masks and Netblocks

Number of Subnets and Hosts for Various Masks and Netblocks

     Subnets by netblock
# bits Subnetwork Mask Effective # of Hosts
16 255.255.0.0 65534
17 255.255.128.0 32766
18 255.255.192.0 16382
19 255.255.224.0 8190
20 255.255.240.0 4094
21 255.255.248.0 2046
22 255.255.252.0 1022
23 255.255.254.0 510
24 255.255.255.0 254
25 255.255.255.128 126
26 255.255.255.192 62
27 255.255.255.224 30
28 255.255.255.240 14
29 255.255.255.248 6
30 255.255.255.252 2
31 255.255.255.254 -
32 255.255.255.255 -



Return to index.