Calculate network, broadcast, host range, and mask from CIDR notation.
Last verified: April 2026
Output will appear here...You're setting up a new multi-region deployment and the network team asks for CIDR allocations that don't overlap with the existing 4 VPCs. You plug in 10.0.0.0/16 and immediately see it provides 65,536 addresses across a range you can carve into /20 subnets per AZ. You allocate 10.1.0.0/16 for the new region and confirm zero overlap with existing ranges using the overlap checker.
The VPC CIDR Calculator converts CIDR notation into its constituent network details including network address, broadcast address, usable host range, subnet mask, and total host count. Understanding CIDR math is fundamental to designing cloud networks, and this tool eliminates manual binary arithmetic. Paste any CIDR block and instantly see every derived value, making it easy to verify address space before provisioning VPCs, subnets, or firewall rules.
The calculator converts the CIDR prefix length to a 32-bit subnet mask using bitwise left-shift, then applies bitwise AND between the IP address and mask to derive the network address. The broadcast address is calculated by ORing the IP with the inverted mask. Usable host range is network+1 to broadcast-1. All math uses JavaScript's 32-bit integer operations for accuracy.
When designing VPCs, always start with a /16 even if you think you won't need it. Address space is free, but running out of IPs in a production VPC requires painful migrations.
Remember AWS reserves 5 IPs per subnet, not 2. A /28 gives you only 11 usable hosts, not 14. This catches people when sizing small subnets for NAT Gateways or bastion hosts.
If you're using EKS, plan for pod networking. With the VPC CNI plugin, each pod gets its own IP address, so a /24 subnet can only hold about 250 pods, not the thousands you might expect.
Was this tool helpful?
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.