CIDR / Subnet Calculator
Calculate IPv4 subnets, usable IP ranges, netmasks, and wildcards for your cloud VPCs and server networks.
Understanding CIDR Subnetting for AWS, Azure & GCP
Classless Inter-Domain Routing (CIDR) is the standard method for allocating IP addresses and routing IP packets across the internet and private cloud virtual networks (VPCs/VNets).
A CIDR block notation consists of an IPv4 address (e.g., 10.0.0.0) followed by a slash and a prefix number (e.g., /16). The prefix specifies how many bits are allocated to the network prefix, with the remaining bits determining the number of available host addresses.
Common Cloud Subnet Sizes & Host Capacities
When designing AWS VPCs, remember that AWS reserves 5 IP addresses in every subnet (.0 Network, .1 VPC Router, .2 DNS, .3 Future Use, .255 Broadcast).
| CIDR Prefix | Subnet Mask | Total IPv4 Addresses | AWS Usable Hosts | Typical Cloud Use Case |
|---|---|---|---|---|
| /16 | 255.255.0.0 | 65,536 | 65,531 | Standard AWS VPC default size |
| /20 | 255.255.240.0 | 4,096 | 4,091 | Large EKS Kubernetes cluster subnet |
| /24 | 255.255.255.0 | 256 | 251 | Standard Public / Private web app tier |
| /28 | 255.255.255.240 | 16 | 11 | Minimum allowable AWS subnet (NAT Gateways) |
CIDR & Subnetting FAQs
Need production-grade vpc network architecture & peering architecture?
Our senior infrastructure engineers help US, UK, and global teams architect zero-downtime AWS/Azure environments, automate CI/CD pipelines, and slash monthly cloud spend by up to 40%.
Need production-grade cidr & ipv4 subnet calculator architecture?
Our senior infrastructure engineers help US, UK, and global teams architect zero-downtime AWS/Azure environments, automate CI/CD pipelines, and slash monthly cloud spend by up to 40%.