Home Net Guide

Home / Subnet calculator / /18

/18 subnet: mask 255.255.192.0

A /18 network holds 16,384 addresses, of which 16,382 can be given to devices. Its subnet mask is 255.255.192.0.

Prefix length (CIDR)
/18
Subnet mask
255.255.192.0
Wildcard mask
0.0.63.255
Mask in binary
11111111.11111111.11000000.00000000
Network bits / host bits
18 / 14
Total addresses
16,384 (2 to the power of 14)
Usable host addresses
16,382 (the first address names the network and the last is the broadcast address)
Contains
64 networks of size /24

What a /18 is used for

A /18 is a quarter of a /16: 16,382 usable addresses. It serves as an address pool for a provider's region or a big site, to be subdivided, and as a generous range for cloud container platforms that use one address per container.

Worked example: which /18 is 172.16.77.130 in?

The mask's value in the third octet is 192, so networks advance in steps of 256 minus 192, which is 64, in that octet: 0, 64, 128, 192. The third octet of 172.16.77.130 is 77, which falls in the step that starts at 64. The network is therefore 172.16.64.0/18.

Network
172.16.64.0/18
Usable range
172.16.64.1 to 172.16.127.254
Broadcast address
172.16.127.255
Next /18 begins at
172.16.128.0/18

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

All 4 /18 networks in 172.16.0.0/16

NetworkUsable rangeBroadcast
172.16.0.0/18172.16.0.1 to 172.16.63.254172.16.63.255
172.16.64.0/18172.16.64.1 to 172.16.127.254172.16.127.255
172.16.128.0/18172.16.128.1 to 172.16.191.254172.16.191.255
172.16.192.0/18172.16.192.1 to 172.16.255.254172.16.255.255

One size up and one size down

Each bit removed from the prefix doubles a network, and each bit added halves it. A /17 is twice the size, with 32,766 usable addresses, and a /19 is half the size, with 8,190 usable addresses. The table of every prefix size compares them all, and the VLAN planner lays out several networks of different sizes without overlaps.