CIDR /16: how many hosts?
A /16 holds 65,536 IPv4 addresses and 65,534 usable hosts. The netmask is 255.255.0.0: 16 bits of network and 16 bits of host.
Last reviewed 2026-11-04.
Is an IP inside this block?
Split into smaller subnets
Worked example: 10.0.0.0/16
| Item | Value |
|---|---|
| Network address | 10.0.0.0 |
| First usable host | 10.0.0.1 |
| Last usable host | 10.0.255.254 |
| Broadcast address | 10.0.255.255 |
| Netmask | 255.255.0.0 |
| Total addresses | 65,536 |
| Usable hosts | 65,534 |
How many subnets fit inside
- 256 subnets of /24, 256 addresses each.
- 16 subnets of /20, 4,096 addresses each.
- 4 subnets of /18, 16,384 addresses each.
Cloud use
/16 is the largest block AWS allows for a VPC. AWS reserves five addresses in each subnet, so a subnet that spans a whole /16 would have 65,531 usable addresses. In practice you carve the /16 into smaller subnets per zone and tier.
10.0.0.0/16 sits inside the private range 10.0.0.0/8 from RFC 1918, so it is not routable on the public internet.
Common mistakes
- Choosing /16 for every VPC. Overlapping ranges block peering and VPN links later, so plan a distinct block per network.
- Counting 65,536 hosts. Two addresses are the network and broadcast.
Smaller blocks: see CIDR /24, and the full size table.
Running this on a server
A /16 is a lot of room for a small project. The hosting guide compares hosts by how much networking you actually need.
Frequently asked questions
How many hosts in a /16?
65,534 usable hosts, out of 65,536 addresses.
What is the subnet mask for /16?
255.255.0.0.
Is a /16 the same as a Class B?
In the old classful system, yes. Modern routing uses CIDR and ignores classes.
Sources
- RFC 4632: CIDR address allocation checked 2026-11-04
- RFC 1918: Address allocation for private internets checked 2026-11-04
- AWS VPC: Subnet CIDR blocks checked 2026-11-04