How many usable hosts in a /10?
A /10 subnet has 4,194,304 IP addresses and 4,194,302 usable hosts. The first address is the network address and the last is the broadcast address, so neither can go on a host. Its netmask is 255.192.0.0 and its wildcard mask is 0.63.255.255.
/10 at a glance
- Prefix
- /10
- Netmask
- 255.192.0.0
- Wildcard
- 0.63.255.255
- Addresses
- 4,194,304
- Usable hosts
- 4,194,302
Example: 10.0.0.0/10
- Network
- 10.0.0.0
- Broadcast
- 10.63.255.255
- Hosts
- 10.0.0.1 – 10.63.255.254
Usable IPs in a /10 cloud subnet
As a cloud subnet it leaves 4,194,299 usable on Azure and 4,194,300 on Google Cloud; it is too large for AWS, which allows /16 to /28.
| Provider | Usable |
|---|---|
| AWS VPCReserves 5: network, VPC router, DNS, one held for future use, broadcast | Not allowed (/16–/28 only) |
| Azure VNetReserves 5: network, default gateway, two for Azure DNS, broadcast | 4,194,299 |
| Google Cloud VPCReserves 4: network, default gateway, second-to-last, broadcast | 4,194,300 |
Questions
Quick answers.
Worked out with the same code as the CIDR calculator, which takes any IPv4 block and also splits it and checks overlaps.
What is the subnet mask for a /10?
255.192.0.0. In binary it is 10 ones followed by 22 zeros. The wildcard mask, which Cisco ACLs and OSPF use, is 0.63.255.255.
How many /24 subnets fit in a /10?
16,384. A /10 holds 4,194,304 addresses and a /24 holds 256, so it splits into 16,384 /24 subnets of 254 usable hosts each.