Skip to the content

/16 Subnet (255.255.0.0)

A /16 network has 65,536 addresses and the subnet mask 255.255.0.0: the first two numbers name the network, the last two the host.

With or without a prefix: 192.168.1.10/24

/16

Network in CIDR notation

172.16.0.0/16

65,534 usable hosts, from 172.16.0.1 to 172.16.255.254.

Network address
172.16.0.0
Broadcast address
172.16.255.255
First usable host
172.16.0.1
Last usable host
172.16.255.254
Usable hosts
65,534
Total addresses
65,536
Subnet mask
255.255.0.0
Wildcard mask
0.0.255.255
IP class
B, default mask /16
Address type
Private (RFC 1918), in 172.16.0.0/12

In binary

Address
10101100.00010000.00000000.00000000
Mask
11111111.11111111.00000000.00000000
Network
10101100.00010000.00000000.00000000
Broadcast
10101100.00010000.11111111.11111111

The line marks where the network part ends: 16 network bits to its left, 16 host bits to its right.

Split into smaller subnets

4 subnets of /18, 16,382 usable hosts each.

  1. 172.16.0.0/18Hosts 172.16.0.1 – 172.16.63.254Broadcast 172.16.63.255
  2. 172.16.64.0/18Hosts 172.16.64.1 – 172.16.127.254Broadcast 172.16.127.255
  3. 172.16.128.0/18Hosts 172.16.128.1 – 172.16.191.254Broadcast 172.16.191.255
  4. 172.16.192.0/18Hosts 172.16.192.1 – 172.16.255.254Broadcast 172.16.255.255
Share this tool:TwitterFacebookLinkedInWhatsAppEmail

/16 at a glance

Subnet mask
255.255.0.0
Mask in binary
11111111.11111111.00000000.00000000
Wildcard mask
0.0.255.255
Addresses in one network
65,536
Usable for hosts
65,534
Networks of this size
256 in a /8

Where /16 networks begin

The mask ends exactly on a dot, so no arithmetic is needed: the first two numbers name the network and the rest names the host. Every value of the second number is a network of its own.

172.16.0.0/12 divided into 16 networks of /16

  1. 172.16.0.0/16Hosts 172.16.0.1 – 172.16.255.254Broadcast 172.16.255.255
  2. 172.17.0.0/16Hosts 172.17.0.1 – 172.17.255.254Broadcast 172.17.255.255
  3. 172.18.0.0/16Hosts 172.18.0.1 – 172.18.255.254Broadcast 172.18.255.255
  4. 172.19.0.0/16Hosts 172.19.0.1 – 172.19.255.254Broadcast 172.19.255.255
  5. 172.20.0.0/16Hosts 172.20.0.1 – 172.20.255.254Broadcast 172.20.255.255
  6. 172.21.0.0/16Hosts 172.21.0.1 – 172.21.255.254Broadcast 172.21.255.255
  7. 172.22.0.0/16Hosts 172.22.0.1 – 172.22.255.254Broadcast 172.22.255.255
  8. 172.23.0.0/16Hosts 172.23.0.1 – 172.23.255.254Broadcast 172.23.255.255
  9. 172.24.0.0/16Hosts 172.24.0.1 – 172.24.255.254Broadcast 172.24.255.255
  10. 172.25.0.0/16Hosts 172.25.0.1 – 172.25.255.254Broadcast 172.25.255.255
  11. 172.26.0.0/16Hosts 172.26.0.1 – 172.26.255.254Broadcast 172.26.255.255
  12. 172.27.0.0/16Hosts 172.27.0.1 – 172.27.255.254Broadcast 172.27.255.255
  13. 172.28.0.0/16Hosts 172.28.0.1 – 172.28.255.254Broadcast 172.28.255.255
  14. 172.29.0.0/16Hosts 172.29.0.1 – 172.29.255.254Broadcast 172.29.255.255
  15. 172.30.0.0/16Hosts 172.30.0.1 – 172.30.255.254Broadcast 172.30.255.255
  16. 172.31.0.0/16Hosts 172.31.0.1 – 172.31.255.254Broadcast 172.31.255.255

In practice

192.168.0.0/16 (private) and 169.254.0.0/16 (link-local) are both a /16, and in the old class system every address whose first number was 128 to 191 belonged to one, as class B.

A /16 is the largest network AWS lets you create as a VPC. Like a /8 it is normally a plan and not a single network: 256 networks of /24 fit in it.

Putting all 65,534 hosts in one network does not work in practice, because every device hears the broadcasts of all the others.

The subnet calculator takes any address with any prefix or mask, explains the address classes and the private ranges, and splits a network into subnets.