/23 Subnet: Mask 255.255.254.0, 510 Usable Hosts

A /23 subnet has a subnet mask of 255.255.254.0 and contains 512 total IP addresses, of which 510 are usable host addresses (the network and broadcast addresses are reserved). A /23 contains 2 /24 networks.

CIDR notation /23
Subnet mask 255.255.254.0
Wildcard mask 0.0.1.255
Mask in binary 11111111.11111111.11111110.00000000
Total addresses 512 (2^9)
Usable hosts 510
Host bits 9

Usable hosts in a /23 by platform

Cloud providers reserve more than the usual two addresses per subnet, so the same /23 gives you fewer usable IPs in the cloud than on a standard LAN.

Platform Reserved IPs Usable hosts
Standard (network + broadcast) 2 510
AWS VPC 5 507
Microsoft Azure VNet 5 507
Google Cloud VPC 4 508
Oracle Cloud VCN 3 509

Good to know

A /23 (512 addresses) doubles a /24. It is handy when 254 hosts is just slightly too few but you do not want to jump to a /22.

How a /23 is calculated

Want to split a /23 into smaller subnets, see every address range, or plan a VLSM layout? Open the free subnet calculator →