How Many IPs in a /22?
1,024 addresses, 1,022 usable, mask 255.255.252.0.
A /22 is a common size for a mid-sized cloud subnet or a campus VLAN, and equals four consecutive /24 networks.
| Subnet mask | 255.255.252.0 |
|---|---|
| Wildcard mask | 0.0.3.255 |
| Total addresses | 1,024 |
| Usable hosts | 1,022 |
| In /24 terms | It contains 4 /24 networks. |
| Example (10.0.0.0/22) | 10.0.0.0 - 10.0.3.255 |
Usable addresses in cloud subnets
Cloud providers reserve extra addresses in every subnet, so fewer than 1,022 are available to your machines.
| AWS | 1,019 usable |
|---|---|
| Azure | 1,019 usable |
| Google Cloud | 1,020 usable |
| Oracle Cloud | 1,021 usable |
Limits and reserved counts are commonly documented values; check your provider's current documentation before you plan around them.
Other sizes
/22 | /23 | /25 | /26 | /27 | /28
Split a block into /22 subnets with the subnet splitter, or calculate any block with the CIDR calculator.
FAQ
How many usable IP addresses are in a /22?
1,022 usable addresses out of 1,024. The network and broadcast addresses are reserved.
What is the subnet mask for /22?
255.255.252.0, with wildcard mask 0.0.3.255.
How many usable addresses does a /22 have in AWS?
1,019, because AWS reserves five addresses in every subnet.