"A bigger slash number means a bigger network." It's the opposite. A /24 is far smaller than a /16, and mixing them up is how teams end up with a network that runs out of addresses, or one so large it collides with everything else. Before you create a VPC, you need to read CIDR notation with confidence. This is part 1: reading a block. Part 2 covers splitting a VPC into subnets.
What a CIDR block is
CIDR (Classless Inter-Domain Routing, usually said "cider") is a short way to write a range of IP addresses. It has two parts:
- a starting address, such as
10.0.0.0 - a slash and a number, such as
/16
Together, 10.0.0.0/16 means "every address from 10.0.0.0 to 10.0.255.255".
What the slash number means
An IPv4 address is 32 bits long, written as four numbers from 0 to 255 (8 bits each). The slash number, called the prefix length, says how many of those bits are fixed: identical for every address in the block.
- In
10.0.0.0/16, the first 16 bits are fixed. Every address starts with10.0. - The remaining 16 bits are free, and each combination is one address.
The number of addresses is 2 raised to the number of free bits. So the bigger the slash number, the fewer free bits, and the smaller the block. Each step up cuts the block in half.
Sizes worth knowing
/16: 16 free bits, 65,536 addresses/20: 12 free bits, 4,096 addresses/24: 8 free bits, 256 addresses/28: 4 free bits, 16 addresses/32: no free bits, exactly one address. You'll see this in security group rules that allow a single IP.0.0.0.0/0: no fixed bits, so every IPv4 address. In a route table or a firewall rule it means "anywhere".
A quick trick for the common sizes: when the prefix lands on a dot (/8, /16, /24), the fixed part is simply the first one, two or three numbers of the address.
CIDR blocks in a VPC
When you create a VPC you must give it an IPv4 CIDR block. AWS allows sizes between /16 (65,536 addresses) and /28 (16 addresses). AWS recommends choosing the block from the private ranges defined in RFC 1918:
10.0.0.0to10.255.255.255172.16.0.0to172.31.255.255192.168.0.0to192.168.255.255
Two details catch people out. First, you can't resize a VPC's existing block. You can add more blocks to the VPC later, but the original one stays as it is. Second, AWS notes that some of its services use 172.17.0.0/16 internally, so avoid that range for your VPC.
The common mistake is picking the same 10.0.0.0/16 for every VPC because the console suggests it. It works until the day two of those networks need to talk to each other and their addresses clash. Give each VPC, and your office network, its own range from the start.
Where AI fits
You no longer have to do the binary math by hand. The AWS assistant in the AWS Management Console (called Amazon Q Developer in the console until November 2026) answers plain-language questions about AWS. You can describe your workloads, how many environments and Regions you expect, and ask it to suggest address ranges of the right size.
Treat the answer as a draft. An assistant doesn't know every network your company already uses, and a wrong range is painful to change later. Check the sizes yourself with the rule above, or with any CIDR calculator.
Quick recap
- A CIDR block is a starting address plus a slash number.
- The slash number counts the fixed bits: bigger number, smaller block.
- A VPC block can be from /16 down to /28, chosen from the private ranges.