Subnet Calculator
← SkillSafe

Split a network into subnets

Type a range like 10.0.0.0/16. You get every subnet's range and usable IPs, spread across zones, as you type.

No range handy? Try one:

How it works

  1. Type a range. An IPv4 address and its size after a slash (10.0.0.0/16), or with a mask (10.0.0.0 255.255.0.0). If the address is not the start of its range, the page uses the start and says so.
  2. Pick a layout. Public + private subnets in each zone (the usual cloud network), add a database tier, private only, an equal split, or list the hosts each subnet needs. Sizes are picked for you; set them yourself under More options.
  3. Read the plan. Every subnet's CIDR, first and last usable address and usable IP count, after the addresses your cloud keeps. The space left free is listed as CIDR blocks you can use later.
  4. Read the check. It flags public address space, overlaps with the AWS default VPC, Docker, Kubernetes or any network you list, AWS VPC size limits, small private subnets, and a single shared NAT gateway.
  5. Take it with you. A CSV for a spreadsheet, a Markdown table for a ticket, Terraform for AWS with the VPC, subnets, internet gateway, NAT gateways and route tables, or an AWS CLI script that creates the same.

Questions

Is anything uploaded?
No. The plan, the check and every download are made inside your browser tab. Only the optional AI review sends your plan, and only when you press its button.
Why does a /24 have 251 usable addresses on AWS?
AWS keeps 5 addresses in every subnet: the network address, the VPC router, DNS, one for future use and the last address. Azure also keeps 5, Google Cloud 4, and a standard network 2 (network and broadcast).
Why are the private subnets listed first in the address order?
Subnets must start on a multiple of their own size. Placing the biggest subnets first keeps every one aligned with no gaps, so the free space stays in large, reusable blocks.
Can I choose the subnet sizes myself?
Yes. Under More options, set each tier to a size such as /20, or choose By hosts needed and list each subnet with the number of hosts it needs.
What does the AI review add?
A judgement the arithmetic cannot make: whether the subnets suit what you will run (pods, databases, load balancers), what to change, and new sizes if needed, which the page re-plans to show whether they fit. It never writes new address ranges; the page flags any address it names that is not in your plan.