Toolman

/23 subnet

A /23 has a subnet mask of 255.255.254.0 and 510 usable hosts.

The numbers

Prefix length/23
Subnet mask255.255.254.0
Wildcard mask0.0.1.255
Network bits23
Host bits9
Total addresses512
Usable hosts510
/24 networks contained2

Where a /23 is used

Two /24s, 510 hosts. The usual answer when a /24 has run out and doubling is easier than renumbering.

Why the usable count is what it is

A /23 leaves 9 bits for hosts, giving 29 = 512 addresses. Two of those cannot be assigned to a machine: the one with all host bits set to zero is the network address, which names the subnet itself, and the one with all host bits set to one is the broadcast address. That leaves 510.

Binary layout

mask   11111111.11111111.11111110.00000000
       ^^^^^^^^^^^^^^^^^^^^^^^         
       23 network bits, 9 host bits

Splitting and combining

PrefixUsable hostsRelationship
Twice the size/221,022Two /23 networks combine into one /22
This network/23510
Half the size/24254One /23 splits into two /24 networks
A quarter/25126Four /25 networks fit in a /23

Frequently asked questions

How many hosts are in a /23?

512 addresses in total, of which 510 are usable. The first is the network address and the last is the broadcast address, so two are always lost.

What is the subnet mask for /23?

255.255.254.0. The prefix length is the count of leading 1 bits in the mask, so /23 is 23 ones followed by 9 zeros.

What is the wildcard mask for /23?

0.0.1.255 — the bitwise inverse of the subnet mask. Cisco access lists and OSPF network statements take the wildcard rather than the mask; a zero bit must match and a one bit is ignored.

How does a /23 compare to a /24?

A /23 is 2 times larger than a /24 — it contains 2 of them.

Other prefix lengths

All prefix lengths · Subnet calculator