Home Net Guide

Home / Subnet calculator / /16

/16 subnet: mask 255.255.0.0

A /16 network holds 65,536 addresses, of which 65,534 can be given to devices. Its subnet mask is 255.255.0.0.

Prefix length (CIDR)
/16
Subnet mask
255.255.0.0
Wildcard mask
0.0.255.255
Mask in binary
11111111.11111111.00000000.00000000
Network bits / host bits
16 / 16
Total addresses
65,536 (2 to the power of 16)
Usable host addresses
65,534 (the first address names the network and the last is the broadcast address)
Contains
256 networks of size /24

What a /16 is used for

A /16 is the old class B network: the first two numbers name the network, leaving 65,536 addresses. 192.168.0.0/16 is the private range home routers draw from, and 169.254.0.0/16 is the link-local range a device assigns itself when it cannot reach a DHCP server. It is also the largest network Amazon Web Services lets you create as a VPC. In planning, a /16 from 10.x is commonly cut into one /24 per VLAN.

Worked example: which /16 is 172.16.77.130 in?

The mask ends exactly on an octet boundary, so no arithmetic is needed. The first two octets name the network and the rest are set to zero: 172.16.77.130 is in 172.16.0.0/16.

Network
172.16.0.0/16
Usable range
172.16.0.1 to 172.16.255.254
Broadcast address
172.16.255.255
Next /16 begins at
172.17.0.0/16

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

All 16 /16 networks in 172.16.0.0/12

NetworkUsable rangeBroadcast
172.16.0.0/16172.16.0.1 to 172.16.255.254172.16.255.255
172.17.0.0/16172.17.0.1 to 172.17.255.254172.17.255.255
172.18.0.0/16172.18.0.1 to 172.18.255.254172.18.255.255
172.19.0.0/16172.19.0.1 to 172.19.255.254172.19.255.255
172.20.0.0/16172.20.0.1 to 172.20.255.254172.20.255.255
172.21.0.0/16172.21.0.1 to 172.21.255.254172.21.255.255
172.22.0.0/16172.22.0.1 to 172.22.255.254172.22.255.255
172.23.0.0/16172.23.0.1 to 172.23.255.254172.23.255.255
172.24.0.0/16172.24.0.1 to 172.24.255.254172.24.255.255
172.25.0.0/16172.25.0.1 to 172.25.255.254172.25.255.255
172.26.0.0/16172.26.0.1 to 172.26.255.254172.26.255.255
172.27.0.0/16172.27.0.1 to 172.27.255.254172.27.255.255
172.28.0.0/16172.28.0.1 to 172.28.255.254172.28.255.255
172.29.0.0/16172.29.0.1 to 172.29.255.254172.29.255.255
172.30.0.0/16172.30.0.1 to 172.30.255.254172.30.255.255
172.31.0.0/16172.31.0.1 to 172.31.255.254172.31.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 /15 is twice the size, with 131,070 usable addresses, and a /17 is half the size, with 32,766 usable addresses. The table of every prefix size compares them all, and the VLAN planner lays out several networks of different sizes without overlaps.