HTTPfy

/18 subnet mask (255.255.192.0)

A /18 network has 14 host bits, 16,384 addresses and 16,382 usable hosts. It is 64 /24 networks.

/18 at a glance

Netmask
255.255.192.0
Wildcard mask
0.0.63.255
Hex mask
0xFFFFC000
Binary mask
11111111.11111111.11000000.00000000
Host bits
14
Total addresses
16,384
Usable hosts
16,382 (minus network and broadcast)
Compared with a /24
64 /24 networks

Typical uses of a /18

A /18 (16,384 addresses) is a popular size for EKS or GKE pod ranges when each node takes a block of pod IPs, and for splitting a /16 VPC into four zones.

Example /18 ranges

NetworkNetwork addressFirst usableLast usableBroadcastNext /18
10.0.0.0/18 10.0.0.0 10.0.0.1 10.0.63.254 10.0.63.255 10.0.64.0/18 calculate
172.16.0.0/18 172.16.0.0 172.16.0.1 172.16.63.254 172.16.63.255 172.16.64.0/18 calculate
192.168.0.0/18 192.168.0.0 192.168.0.1 192.168.63.254 192.168.63.255 192.168.64.0/18 calculate

The /18 boundary falls in the third octet, so /18 networks start every 64 in that octet (4 per /16): 0, 64, 128, 192.

How many /18s fit

In aNumber of /18 subnets
/81,024
/164

What a /18 contains

Smaller blockHow many
/2464
/26256
/281,024
/292,048
/304,096
/3216,384

Splitting a /18

IntoSubnetsUsable hosts each
/1928,190
/2044,094
/2182,046
/22161,022

/18 in AWS, Azure and Google Cloud

PlatformAllowed subnet sizes/18 allowed?Usable after reservation
AWS VPC/16 to /28 Yes 16,379 (5 reserved)
Azure VNet/2 to /29 Yes 16,379 (5 reserved)
Google Cloud VPC/4 to /29 Yes 16,380 (4 reserved)

Cloud providers reserve addresses in every subnet (first four and the last address (network, VPC router, DNS, future use, broadcast) on AWS), so the usable count there differs from the classic 2^n - 2.