Options for 1,000 hosts
| Prefix | Mask | Usable hosts | Spare |
|---|---|---|---|
| /22 | 255.255.252.0 | 1,022 | 22 |
| /21 | 255.255.248.0 | 2,046 | 1,046 |
| /20 | 255.255.240.0 | 4,094 | 3,094 |
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: 1,000 + 2 = 1,002 addresses.
- Smallest power of 2 that fits: 210 = 1,024.
- Prefix: 32 − 10 = /22 (255.255.252.0).
- Usable hosts: 1,024 − 2 = 1,022; 22 spare (98% 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 1,000 hosts the /22 is 98% used and only 22 addresses are spare. If you want the 20–30% headroom suggested in the FAQ below, a /21 gives 2,046 usable hosts and sits at 49%.
To try other values, open the Hosts → mask calculator with these numbers already filled in.