CIDR | Subnet mask | Binary | Addresses | Usable hosts |
/1 | 128.0.0.0 | 10000000.00000000.00000000.00000000 | 2147483648 | 2147483646 |
/2 | 192.0.0.0 | 11000000.00000000.00000000.00000000 | 1073741824 | 1073741822 |
/3 | 224.0.0.0 | 11100000.00000000.00000000.00000000 | 536870912 | 536870910 |
/4 | 240.0.0.0 | 11110000.00000000.00000000.00000000 | 268435456 | 268435454 |
/5 | 248.0.0.0 | 11111000.00000000.00000000.00000000 | 134217728 | 134217726 |
/6 | 252.0.0.0 | 11111100.00000000.00000000.00000000 | 67108864 | 67108862 |
/7 | 254.0.0.0 | 11111110.00000000.00000000.00000000 | 33554432 | 33554430 |
/8 | 255.0.0.0 | 11111111.00000000.00000000.00000000 | 16777216 | 16777214 |
/9 | 255.128.0.0 | 11111111.10000000.00000000.00000000 | 8388608 | 8388606 |
/10 | 255.192.0.0 | 11111111.11000000.00000000.00000000 | 4194304 | 4194302 |
/11 | 255.224.0.0 | 11111111.11100000.00000000.00000000 | 2097152 | 2097150 |
/12 | 255.240.0.0 | 11111111.11110000.00000000.00000000 | 1048576 | 1048574 |
/13 | 255.248.0.0 | 11111111.11111000.00000000.00000000 | 524288 | 524286 |
/14 | 255.252.0.0 | 11111111.11111100.00000000.00000000 | 262144 | 262142 |
/15 | 255.254.0.0 | 11111111.11111110.00000000.00000000 | 131072 | 131070 |
/16 | 255.255.0.0 | 11111111.11111111.00000000.00000000 | 65536 | 65534 |
/17 | 255.255.128.0 | 11111111.11111111.10000000.00000000 | 32768 | 32766 |
/18 | 255.255.192.0 | 11111111.11111111.11000000.00000000 | 16384 | 16382 |
/19 | 255.255.224.0 | 11111111.11111111.11100000.00000000 | 8192 | 8190 |
/20 | 255.255.240.0 | 11111111.11111111.11110000.00000000 | 4096 | 4094 |
/21 | 255.255.248.0 | 11111111.11111111.11111000.00000000 | 2048 | 2046 |
/22 | 255.255.252.0 | 11111111.11111111.11111100.00000000 | 1024 | 1022 |
/23 | 255.255.254.0 | 11111111.11111111.11111110.00000000 | 512 | 510 |
/24 | 255.255.255.0 | 11111111.11111111.11111111.00000000 | 256 | 254 |
/25 | 255.255.255.128 | 11111111.11111111.11111111.10000000 | 128 | 126 |
/26 | 255.255.255.192 | 11111111.11111111.11111111.11000000 | 64 | 62 |
/27 | 255.255.255.224 | 11111111.11111111.11111111.11100000 | 32 | 30 |
/28 | 255.255.255.240 | 11111111.11111111.11111111.11110000 | 16 | 14 |
/29 | 255.255.255.248 | 11111111.11111111.11111111.11111000 | 8 | 6 |
/30 | 255.255.255.252 | 11111111.11111111.11111111.11111100 | 4 | 2 |
/31 | 255.255.255.254 | 11111111.11111111.11111111.11111110 | 2 | 0 |
/32 | 255.255.255.255 | 11111111.11111111.11111111.11111111 | 1 | 0 |