CareerByteCode

VPC Subnet Planner: Multi-VPC CIDR Calculator

For cloud engineers designing networks for several environments. Plan prod, staging, dev and shared VPCs with public, app and data subnets that never overlap.

FreeRuns in your browserNothing uploadedNo sign-up neededAll 12 tools in the Cloud & Kubernetes Toolbox
Keep this resultSign in to email it to yourself or save it to your profile. The tool itself never needs an account.

ByteLabs

Close the gaps with real-world projects

Build industry projects on ByteLabs and add verified proof of your skills to your public profile.

Explore ByteLabs
How to use

How to use the Multi-VPC Subnet Planner

  1. Enter the address range for all VPCs and the size of each VPC.
  2. List the VPC names and the number of zones.
  3. Set the subnet tiers as name:prefix, for example public:24.
  4. Add networks to stay clear of, read the plan and copy it as CSV.
Worked example

An example, step by step (example only)

You enter

10.0.0.0/8, VPCs of /16 named prod, staging, dev and shared, 3 zones, tiers public:24, app:20, data:22, staying clear of 10.1.0.0/16 and 192.168.0.0/16 on AWS

The tool shows

36 subnets in 4 VPCs (prod 10.0.0.0/16, then 10.2, 10.3 and 10.4 because 10.1.0.0/16 is skipped); app-a 10.0.0.0/20 has 4,091 usable IPs and 75 percent of each VPC stays spare

FAQ

Questions about the Multi-VPC Subnet Planner

How many IPs does AWS reserve in a subnet?

Five: the network address, the router, DNS, one for future use and the broadcast address. Azure also keeps 5 and Google Cloud 4.

Why must VPC ranges not overlap?

Peering, transit gateways and VPNs cannot route between networks that use the same addresses, so plan unique ranges from the start.

How big should a VPC be?

A /16 (65,536 addresses) is a common default. Leave spare space in every VPC for new subnets and services.

Is the Multi-VPC Subnet Planner free and private?

Yes. It is free, needs no sign-up and runs entirely in your browser, so what you type is not uploaded. You only sign in if you want to email a result to yourself or save it to your CareerByteCode profile.

Copied