Google Cloud Subnet Calculator

Calculate subnet boundaries using Google Cloud Virtual Private Cloud (VPC) primary, secondary, IPv6, and bring your own IP (BYOIP) allocation rules. Apply service presets for proxy-only subnets, Private Service Connect, and Google Kubernetes Engine (GKE). Everything is calculated in your browser.

Try

Google Cloud 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