IPv4 subnet & CIDR calculator
Plan cloud VPCs and Kubernetes pod networks with instant CIDR breakdowns, usable host ranges, and binary bit masks.
AWS & GCP Reserved IPs
In cloud VPCs (such as AWS and GCP), the first 4 and last 1 IP addresses in every subnet are
reserved for internal infrastructure (e.g., Network, VPC Router, DNS, Future use, and
Broadcast). A /28 subnet has 16 total IPs, but only 11 usable IPs for EC2 instances or containers.
Pod & Service CIDR Sizing
Always plan your Kubernetes Pod CIDR to accommodate node expansion. Standard AWS VPC CNI
assigns secondary private IPv4 addresses to ENIs, requiring sufficiently wide CIDRs (e.g., /16 or /18) to avoid pod IP exhaustion during rolling deployments.
Zero Route Overlap
When peering VPCs or establishing Site-to-Site IPsec VPNs, never use overlapping RFC 1918
blocks (e.g. both sides on 10.0.0.0/16). Overlapping routes require cumbersome
double-NAT setups to route traffic.