Home Net Guide

Home / Subnet calculator / /23

/23 subnet: mask 255.255.254.0

A /23 network holds 512 addresses, of which 510 can be given to devices. Its subnet mask is 255.255.254.0.

Prefix length (CIDR)
/23
Subnet mask
255.255.254.0
Wildcard mask
0.0.1.255
Mask in binary
11111111.11111111.11111110.00000000
Network bits / host bits
23 / 9
Total addresses
512 (2 to the power of 9)
Usable host addresses
510 (the first address names the network and the last is the broadcast address)
Contains
2 networks of size /24

What a /23 is used for

A /23 is two /24 networks joined, with 510 usable addresses. It is the usual fix when an office or guest Wi-Fi network outgrows its /24: widening the mask by one bit doubles the space without renumbering the devices already there.

Worked example: which /23 is 172.16.77.130 in?

The mask's value in the third octet is 254, so networks advance in steps of 256 minus 254, which is 2, in that octet: 0, 2, 4, 6 and so on up to 254. The third octet of 172.16.77.130 is 77, which falls in the step that starts at 76. The network is therefore 172.16.76.0/23.

Network
172.16.76.0/23
Usable range
172.16.76.1 to 172.16.77.254
Broadcast address
172.16.77.255
Next /23 begins at
172.16.78.0/23

Open this example in the subnet calculator to see it bit by bit, or to try your own address.

The first 16 of the 128 /23 networks in 172.16.0.0/16

NetworkUsable rangeBroadcast
172.16.0.0/23172.16.0.1 to 172.16.1.254172.16.1.255
172.16.2.0/23172.16.2.1 to 172.16.3.254172.16.3.255
172.16.4.0/23172.16.4.1 to 172.16.5.254172.16.5.255
172.16.6.0/23172.16.6.1 to 172.16.7.254172.16.7.255
172.16.8.0/23172.16.8.1 to 172.16.9.254172.16.9.255
172.16.10.0/23172.16.10.1 to 172.16.11.254172.16.11.255
172.16.12.0/23172.16.12.1 to 172.16.13.254172.16.13.255
172.16.14.0/23172.16.14.1 to 172.16.15.254172.16.15.255
172.16.16.0/23172.16.16.1 to 172.16.17.254172.16.17.255
172.16.18.0/23172.16.18.1 to 172.16.19.254172.16.19.255
172.16.20.0/23172.16.20.1 to 172.16.21.254172.16.21.255
172.16.22.0/23172.16.22.1 to 172.16.23.254172.16.23.255
172.16.24.0/23172.16.24.1 to 172.16.25.254172.16.25.255
172.16.26.0/23172.16.26.1 to 172.16.27.254172.16.27.255
172.16.28.0/23172.16.28.1 to 172.16.29.254172.16.29.255
172.16.30.0/23172.16.30.1 to 172.16.31.254172.16.31.255

One size up and one size down

Each bit removed from the prefix doubles a network, and each bit added halves it. A /22 is twice the size, with 1,022 usable addresses, and a /24 is half the size, with 254 usable addresses. The table of every prefix size compares them all, and the VLAN planner lays out several networks of different sizes without overlaps.