/16 subnet (CIDR)

A /16 network has subnet mask 255.255.0.0, 65,536 total addresses and 65,534 usable hosts.

255.255.0.0Subnet mask
0.0.255.255Wildcard mask
65,536Addresses
65,534Usable hosts

Open 172.16.0.0/16 in the subnet calculator →

Details

PropertyValue
Network bits16
Host bits16
Mask in binary11111111.11111111.00000000.00000000
Mask in hex0xFFFF0000
Total addresses216 = 65,536
Usable hosts216 − 2 = 65,534
Number of /24s inside256
Historic class equivalentClass B

Typical use: Former class B; 192.168.0.0/16 private block; common VPC size in AWS.

Example: 172.16.0.0/16

Network 172.16.0.0, broadcast 172.16.255.255, hosts 172.16.0.1 to 172.16.255.254.

Neighbouring prefixes

Each step of one bit halves (or doubles) the size: a /16 holds two /17s.

Frequently asked questions

How many hosts in a /16?
65,534 usable out of 65,536 addresses.
What is the subnet mask for /16?
255.255.0.0 (binary 11111111.11111111.00000000.00000000).