Block sizes, and what they expand to
Address counts double with every step down in prefix length, which is why a block two sizes larger is four times the work to enumerate.
| CIDR | Addresses | Practical to list? |
|---|---|---|
| /32 | 1 | Yes |
| /30 | 4 | Yes |
| /28 | 16 | Yes |
| /24 | 256 | Yes |
| /22 | 1,024 | Yes |
| /20 | 4,096 | Yes |
| /18 | 16,384 | Truncated at 10,000 |
| /16 | 65,536 | Truncated — keep the CIDR |
| /8 | 16,777,216 | No — keep the CIDR |
Prefer the prefix where you can
An explicit list is a snapshot. If the underlying allocation changes, every copy of that list is silently wrong, whereas a CIDR block keeps describing the same thing. Where a system accepts either, the prefix is the more durable answer — and far smaller.
Frequently asked
Why is the list capped at 10,000 addresses?
A /8 holds 16.7 million addresses. Rendering that many would freeze the browser tab, and no configuration file wants them pasted in anyway. Past 10,000 the tool shows the first block and tells you the real total — at that size you want to keep the CIDR notation, or generate the list in a script.
Does the list include the network and broadcast addresses?
Yes. This tool lists every address in the range, including the first and last. If you only want assignable host addresses, drop the first and last entries — or use the subnet calculator, which reports the usable host range directly.
Can I paste a start and end address instead of a CIDR?
Yes. 203.0.113.5-203.0.113.20 works, as do spaces around the dash and the .. form. Unlike CIDR, an arbitrary range does not have to align to a power-of-two boundary.
Why would I need an explicit list rather than a CIDR?
Plenty of systems still want one address per line: older firewall appliances, some allow-list fields in SaaS admin panels, monitoring targets, and hosts files. CIDR is more compact everywhere it is supported, so use the list only where it is required.