A CIDR prefix such as /24 says how many leading bits of the address are the network. The table shows each prefix as a dotted mask, in binary, as a wildcard mask and with its number of usable hosts.
| CIDR | Subnet mask | Binary mask | Wildcard | Usable hosts |
|---|---|---|---|---|
| /0 | 0.0.0.0 | 00000000.00000000.00000000.00000000 | 255.255.255.255 | 4,294,967,294 |
| /1 | 128.0.0.0 | 10000000.00000000.00000000.00000000 | 127.255.255.255 | 2,147,483,646 |
| /2 | 192.0.0.0 | 11000000.00000000.00000000.00000000 | 63.255.255.255 | 1,073,741,822 |
| /3 | 224.0.0.0 | 11100000.00000000.00000000.00000000 | 31.255.255.255 | 536,870,910 |
| /4 | 240.0.0.0 | 11110000.00000000.00000000.00000000 | 15.255.255.255 | 268,435,454 |
| /5 | 248.0.0.0 | 11111000.00000000.00000000.00000000 | 7.255.255.255 | 134,217,726 |
| /6 | 252.0.0.0 | 11111100.00000000.00000000.00000000 | 3.255.255.255 | 67,108,862 |
| /7 | 254.0.0.0 | 11111110.00000000.00000000.00000000 | 1.255.255.255 | 33,554,430 |
| /8 | 255.0.0.0 | 11111111.00000000.00000000.00000000 | 0.255.255.255 | 16,777,214 |
| /9 | 255.128.0.0 | 11111111.10000000.00000000.00000000 | 0.127.255.255 | 8,388,606 |
| /10 | 255.192.0.0 | 11111111.11000000.00000000.00000000 | 0.63.255.255 | 4,194,302 |
| /11 | 255.224.0.0 | 11111111.11100000.00000000.00000000 | 0.31.255.255 | 2,097,150 |
| /12 | 255.240.0.0 | 11111111.11110000.00000000.00000000 | 0.15.255.255 | 1,048,574 |
| /13 | 255.248.0.0 | 11111111.11111000.00000000.00000000 | 0.7.255.255 | 524,286 |
| /14 | 255.252.0.0 | 11111111.11111100.00000000.00000000 | 0.3.255.255 | 262,142 |
| /15 | 255.254.0.0 | 11111111.11111110.00000000.00000000 | 0.1.255.255 | 131,070 |
| /16 | 255.255.0.0 | 11111111.11111111.00000000.00000000 | 0.0.255.255 | 65,534 |
| /17 | 255.255.128.0 | 11111111.11111111.10000000.00000000 | 0.0.127.255 | 32,766 |
| /18 | 255.255.192.0 | 11111111.11111111.11000000.00000000 | 0.0.63.255 | 16,382 |
| /19 | 255.255.224.0 | 11111111.11111111.11100000.00000000 | 0.0.31.255 | 8,190 |
| /20 | 255.255.240.0 | 11111111.11111111.11110000.00000000 | 0.0.15.255 | 4,094 |
| /21 | 255.255.248.0 | 11111111.11111111.11111000.00000000 | 0.0.7.255 | 2,046 |
| /22 | 255.255.252.0 | 11111111.11111111.11111100.00000000 | 0.0.3.255 | 1,022 |
| /23 | 255.255.254.0 | 11111111.11111111.11111110.00000000 | 0.0.1.255 | 510 |
| /24 | 255.255.255.0 | 11111111.11111111.11111111.00000000 | 0.0.0.255 | 254 |
| /25 | 255.255.255.128 | 11111111.11111111.11111111.10000000 | 0.0.0.127 | 126 |
| /26 | 255.255.255.192 | 11111111.11111111.11111111.11000000 | 0.0.0.63 | 62 |
| /27 | 255.255.255.224 | 11111111.11111111.11111111.11100000 | 0.0.0.31 | 30 |
| /28 | 255.255.255.240 | 11111111.11111111.11111111.11110000 | 0.0.0.15 | 14 |
| /29 | 255.255.255.248 | 11111111.11111111.11111111.11111000 | 0.0.0.7 | 6 |
| /30 | 255.255.255.252 | 11111111.11111111.11111111.11111100 | 0.0.0.3 | 2 |
| /31 | 255.255.255.254 | 11111111.11111111.11111111.11111110 | 0.0.0.1 | 2 |
| /32 | 255.255.255.255 | 11111111.11111111.11111111.11111111 | 0.0.0.0 | 1 |
A /24 (255.255.255.0) has 256 addresses, of which 254 are usable because the network and broadcast addresses are reserved.
RFC 3021 allows /31 networks on point-to-point links, where both addresses are usable because no broadcast address is needed.