AWS Subnet Calculator

Calculate IPv4 and IPv6 subnet boundaries using Amazon Virtual Private Cloud (VPC) and bring your own IP (BYOIP) allocation rules. Apply service presets for load balancers, Client VPN, Network Firewall, Amazon Elastic Kubernetes Service (EKS) VPC CNI modes, and ECS/Fargate task network interfaces. Everything is calculated in your browser.

Try

AWS settings

Choose an allocation model and optional service preset. Rules are advisory; follow the linked documentation when provisioning.

Accepted input formats

CIDR and addresses



Masks and host counts



Ranges and subdivisions