Networking • IPv4 CIDR & VPC Planning
IPv4 CIDR & Subnet Calculator
Compute subnet mask, network address, broadcast address, usable host range, and address counts for any IPv4 CIDR prefix.
Advertisement
Planning Subnets Without Running Out of IPs
Under-sized subnets are one of the most common headaches when scaling microservices, Kubernetes clusters, or internal load balancers in cloud VPCs.
- Leave Headroom for Growth: Use
/20–/24blocks where workloads scale horizontally rather than squeezing into tight/27or/28ranges. - Avoid Overlapping CIDRs: Plan VPC address spaces cleanly across environments and regions if you use VPC peering or transit gateways.
Sponsored
Frequently Asked Questions
How many IPs are in a /24 subnet?
A /24 subnet has 256 total IPv4 addresses and 254 standard usable host addresses.
What are private IPv4 ranges?
Common private ranges are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16.
Why is cloud subnet capacity smaller than raw host count?
Cloud providers reserve specific addresses inside each subnet for network routing, gateway, and DNS services.