/23 Subnet Mask (255.255.254.0)
| Prefix | /23 |
|---|---|
| Subnet mask | 255.255.254.0 |
| Wildcard mask | 0.0.1.255 |
| Binary mask | 11111111.11111111.11111110.00000000 |
| Total addresses | 512 |
| Usable hosts | 510 |
| Host bits | 9 |
| Subnets of /23 in a /16 | 128 |
e.g. 10.0.0.5/22 or 10.0.0.5 255.255.252.0
| Network address | 172.16.0.0 | |
|---|---|---|
| Broadcast address | 172.16.1.255 | |
| First usable host | 172.16.0.1 | |
| Last usable host | 172.16.1.254 | |
| Total addresses | 512 | |
| Usable hosts | 510 | |
| Subnet mask | 255.255.254.0 | |
| Wildcard mask | 0.0.1.255 | |
| CIDR notation | 172.16.0.0/23 | |
| IP class | Class B (legacy) | |
| Address type | Private (RFC 1918) | |
| IP address (binary) | 10101100.00010000.00000000.00000000 | |
| Subnet mask (binary) | 11111111.11111111.11111110.00000000 |
■ network bits ■ host bits
| Requested hosts | CIDR | First host | Last host | Broadcast | Usable hosts |
|---|
Runs entirely in your browser. Nothing you enter is sent to a server.
What is a /23 subnet?
A /23 subnet uses the first 23 bits of an IPv4 address for the network and leaves 9 bits for hosts. Its subnet mask is 255.255.254.0, and it contains 2⁹ = 512 addresses, of which 510 can be assigned to devices. Typical use: Two /24s combined; used when a VLAN outgrows 254 hosts. Use the subnet calculator above to check any /23 network.
/23 subnet example
For 172.16.0.0/23: network address 172.16.0.0, usable hosts 172.16.0.1 – 172.16.1.254, broadcast address 172.16.1.255, wildcard mask 0.0.1.255.
/23 networks in 172.16.0.0/16
A /16 holds 128 /23 networks:
- 172.16.0.0/23
- 172.16.2.0/23
- 172.16.4.0/23
- 172.16.6.0/23
- 172.16.8.0/23
- 172.16.10.0/23
- 172.16.12.0/23
- 172.16.14.0/23
- 172.16.16.0/23
- 172.16.18.0/23
- 172.16.20.0/23
- 172.16.22.0/23
- 172.16.24.0/23
- 172.16.26.0/23
- 172.16.28.0/23
- 172.16.30.0/23
- 172.16.254.0/23
Frequently asked questions
How many usable IPs are in a /23?
510. The block has 512 addresses; the first is the network address and the last is the broadcast address.
What is the subnet mask for /23?
255.255.254.0, or 11111111.11111111.11111110.00000000 in binary.
How many /23 subnets are in a /16?
128 (2⁷), because a /23 uses 7 more network bits than a /16.
What is the difference between /23 and /22?
A /22 (255.255.252.0) is twice as large: 1,024 addresses and 1,022 usable hosts, spanning two consecutive /23 blocks such as 172.16.0.0–172.16.3.255.