CIDR Subnet Calculator
Subnet arithmetic for VPC planning, counting the five addresses each cloud reserves rather than the traditional two.
Loading the tool…
How to use this tool
- Paste the blocks you are planning, one per line, as address/prefix.
- Set a split size if you want the block carved into equal subnets — 24 to cut a /16 into 256 of them.
- Select Calculate subnets.
- Plan against the cloud usable count, not the traditional one. The difference is three addresses per subnet and it matters most on the small ones.
What cidr subnet calculator does
Textbook subnetting says a block loses two addresses: the network and the broadcast. Every major cloud takes five, for the network address, the router, DNS, a reserved address and the broadcast. On a /16 that difference is noise. On a /28 it is the difference between sixteen addresses and eleven, which is the difference between a subnet that fits the workload and one that does not.
Paste any IPv4 block and this gives the network and broadcast addresses, the full range, the mask, the traditional usable count and the cloud usable count side by side. It also flags the provider limits people hit — AWS rejects a VPC larger than /16 and a subnet smaller than /28 — and tells you when the address you pasted is a host inside the block rather than the block itself. Set a split size to carve the block into equal subnets and see the first few boundaries.