CIDR / Subnet Calculator

Calculate IPv4 subnets, usable IP ranges, netmasks, and wildcards for your cloud VPCs and server networks.

/24
/0/16/32
Enter a valid IPv4 address to see results.
Cloud Networking Guide

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.

VPC Subnet Sizing Cheat Sheet

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 PrefixSubnet MaskTotal IPv4 AddressesAWS Usable HostsTypical Cloud Use Case
/16255.255.0.065,53665,531Standard AWS VPC default size
/20255.255.240.04,0964,091Large EKS Kubernetes cluster subnet
/24255.255.255.0256251Standard Public / Private web app tier
/28255.255.255.2401611Minimum allowable AWS subnet (NAT Gateways)
Frequently Asked Questions

CIDR & Subnetting FAQs

Founder-Led Cloud & DevOps Consulting

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%.

SOC2 & HIPAA Compliant IaCDirect Architect Collaboration
Founder-Led Cloud & DevOps Consulting

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%.

SOC2 & HIPAA Compliant IaCDirect Architect Collaboration