The /23 subnet, explained
Everything about a /23 CIDR block — mask, address count, usable hosts and where a /23 fits in real network plans.
| Prefix length | /23 — 23 network bits, 9 host bits |
| Subnet mask | 255.255.254.0 |
| Wildcard (ACL) mask | 0.0.1.255 |
| Binary mask | 11111111.11111111.11111110.00000000 |
| Total addresses | 2^9 = 512 |
| Usable hosts | 510 (total − network − broadcast) |
| Contains | 2 × /24 subnets |
| A /16 holds | 128 × /23 subnets |
| Example block | 10.10.0.0/23 |
Notes
A /23 prefix means the first 23 bits of the 32-bit IPv4 address identify the network and the remaining 9 bits identify hosts — giving 2^9 = 512 addresses. The first address (network) and the last (broadcast) are not assignable in a standard subnet.
Cloud sizing: a /23 is valid as an AWS VPC (allowed range /16–/28). AWS reserves 5 addresses per subnet, so a /23 subnet gives 507 assignable IPs there; GCP reserves 4 (508 assignable).
Adjacent sizes: /8 · /9 · /10 · /11 · /12 · /13 · /14 · /15 · /16 · /17 · /18 · /19 · /20 · /21 · /22 · /24 · /25 · /26 · /27 · /28 · /29 · /30 · /31 · /32
Frequently asked questions
How many IP addresses are in a /23?
512 total addresses, of which 510 are usable hosts (network and broadcast addresses are reserved).
What is the subnet mask for /23?
255.255.254.0 (wildcard mask 0.0.1.255).
What does /23 mean in an IP address?
The /23 suffix is CIDR notation: the first 23 bits are the network part, the last 9 bits are the host part.