Subnet calculator › CIDR /16
/16 subnet mask (255.255.0.0)
A /16 uses the first 16 bits for the network and the remaining 16 bits for hosts: 65,536 addresses, 65,534 usable hosts.
| CIDR notation | /16 |
|---|---|
| Subnet mask | 255.255.0.0 |
| Wildcard mask | 0.0.255.255 |
| Binary mask | 11111111.11111111|00000000.00000000 |
| Hex mask | 0xFFFF0000 |
| Total addresses | 65,536 (216) |
| Usable hosts | 65,534 · 65,536 addresses minus the network and broadcast addresses. |
| Block size | The second octet changes in steps of 1 |
What is a /16 used for?
- Old Class B size
- Largest size AWS allows for a VPC
- Private
192.168.0.0/16and link-local169.254.0.0/16 - Common Kubernetes Pod CIDR size (for example
10.244.0.0/16)
/16 address range examples
Splitting 10.0.0.0/16 into /16 gives 1 subnets.
| Network | Usable range | Broadcast |
|---|---|---|
| 10.0.0.0/16 | 10.0.0.1 ~ 10.0.255.254 | 10.0.255.255 |
Splitting a /16 further
| Split into | Subnets | Hosts each |
|---|---|---|
| /17 | 2 | 32,766 |
| /18 | 4 | 16,382 |
| /19 | 8 | 8,190 |
| /20 | 16 | 4,094 |
| /21 | 32 | 2,046 |
| /22 | 64 | 1,022 |
| /23 | 128 | 510 |
| /24 | 256 | 254 |
How many /16s fit in a larger block
- One /8 holds 256 /16 subnets