plain/devtools home

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.

cidr-calculatorsamplesCtrl↵ run · s sample

Is an IP inside this block?

Split into smaller subnets

never leaves your browser

Worked example: 10.0.0.0/16

ItemValue
Network address10.0.0.0
First usable host10.0.0.1
Last usable host10.0.255.254
Broadcast address10.0.255.255
Netmask255.255.0.0
Total addresses65,536
Usable hosts65,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

Related

esc
↑↓ move↵ open? all shortcuts

Keyboard shortcuts

Cmd or Ctrl shortcuts always work.
Everywhere
Everywhere
Open the command palette
CtrlK
Open the palette (outside a text field)
/
Show these shortcuts
?
Toggle light and dark theme
t
Go home
gh
Go to all tools
gt
On a tool page
On a tool page
Run the main action
Ctrl↵
Copy the output
c
Load the next sample
s
Focus the input
i
Leave a text field
Esc
Previous or next tool
[]
In the palette
In the palette
Move the selection
↑↓
Open the selected item
↵
Close
Esc