Options for 200 hosts
| Prefix | Mask | Usable hosts | Spare |
|---|---|---|---|
| /24 | 255.255.255.0 | 254 | 54 |
| /23 | 255.255.254.0 | 510 | 310 |
| /22 | 255.255.252.0 | 1,022 | 822 |
Rule: find the power of 2 that, minus 2, covers the host count. The exponent is the number of host bits and the prefix is 32 minus those bits.
Step by step
- Hosts plus network and broadcast: 200 + 2 = 202 addresses.
- Smallest power of 2 that fits: 28 = 256.
- Prefix: 32 − 8 = /24 (255.255.255.0).
- Usable hosts: 256 − 2 = 254; 54 spare (79% used).
Other host counts
| Hosts | Prefix | Usable | Used |
|---|---|---|---|
| 2 | /31 | 2 | 100% |
| 6 | /29 | 6 | 100% |
| 10 | /28 | 14 | 71% |
| 14 | /28 | 14 | 100% |
| 20 | /27 | 30 | 67% |
| 30 | /27 | 30 | 100% |
| 50 | /26 | 62 | 81% |
| 60 | /26 | 62 | 97% |
| 100 | /25 | 126 | 79% |
| 120 | /25 | 126 | 95% |
| 200 | /24 | 254 | 79% |
| 250 | /24 | 254 | 98% |
| 500 | /23 | 510 | 98% |
| 1,000 | /22 | 1,022 | 98% |
| 2,000 | /21 | 2,046 | 98% |
| 4,000 | /20 | 4,094 | 98% |
In practice
With 200 hosts the /24 is 79% used: 54 addresses (21% of the block) are left for growth before you need a new mask. The next size up, /23, would give 510 usable hosts at 39%; the size below, /25, has only 126 and is too small.
To try other values, open the Hosts → mask calculator with these numbers already filled in.