/22 Subnet
1K IPs — medium site subnet
A /22 provides 1,024 IP addresses. A practical choice for a medium-sized network segment: large enough to accommodate hundreds of devices with room to grow, small enough to keep broadcast domains manageable.
Common Use Cases
- → Medium office floor VLAN
- → Application tier with ~500 hosts
- → Cloud subnet for a single microservice cluster
Example /22 Networks
| CIDR | Network | First Usable | Last Usable | Broadcast | Hosts |
|---|---|---|---|---|---|
| 10.0.0.0/22 | 10.0.0.0 | 10.0.0.1 | 10.0.3.254 | 10.0.3.255 | 1,022 |
| 172.16.0.0/22 | 172.16.0.0 | 172.16.0.1 | 172.16.3.254 | 172.16.3.255 | 1,022 |
| 172.31.0.0/22 | 172.31.0.0 | 172.31.0.1 | 172.31.3.254 | 172.31.3.255 | 1,022 |
| 192.168.0.0/22 | 192.168.0.0 | 192.168.0.1 | 192.168.3.254 | 192.168.3.255 | 1,022 |
| 192.168.0.0/22 | 192.168.0.0 | 192.168.0.1 | 192.168.3.254 | 192.168.3.255 | 1,022 |
| 10.0.0.0/22 | 10.0.0.0 | 10.0.0.1 | 10.0.3.254 | 10.0.3.255 | 1,022 |
How /22 Compares
| Prefix | Total IPs | Usable Hosts | Subnet Mask | Typical Use |
|---|---|---|---|---|
| /19 | 8,192 | 8,190 | 255.255.224.0 | — |
| /20 | 4,096 | 4,094 | 255.255.240.0 | AWS default subnet, medium office VLAN |
| /21 | 2,048 | 2,046 | 255.255.248.0 | Enterprise building / large app tier |
| /22 ◀ | 1,024 | 1,022 | 255.255.252.0 | Medium office/application segment |
| /23 | 512 | 510 | 255.255.254.0 | Aggregated /24 pair |
| /24 | 256 | 254 | 255.255.255.0 | Standard subnet — home, office, cloud |
| /25 | 128 | 126 | 255.255.255.128 | Half a /24 — public/private split |
Frequently Asked Questions
How many IPs are in a /22?
A /22 subnet contains 1,024 total IP addresses and 1,022 usable host addresses. The network address (first IP) and broadcast address (last IP) are reserved and cannot be assigned to hosts.
What is the subnet mask for /22?
The subnet mask for a /22 is 255.255.252.0.
In CIDR notation, the prefix length /22 means
the first 22 bits of the address are the network portion.
The wildcard (inverse) mask is 0.0.3.255.
How many /22 subnets fit in a /21?
Exactly 2 — a /21 can be split into two /22 subnets of equal size. Each /22 subnet has 1,022 usable hosts, compared to 2,046 in the parent /21.