Home / Subnet calculator / /22
/22 subnet: mask 255.255.252.0
A /22 network holds 1,024 addresses, of which 1,022 can be given to devices. Its subnet mask is 255.255.252.0.
- Prefix length (CIDR)
- /22
- Subnet mask
- 255.255.252.0
- Wildcard mask
- 0.0.3.255
- Mask in binary
- 11111111.11111111.11111100.00000000
- Network bits / host bits
- 22 / 10
- Total addresses
- 1,024 (2 to the power of 10)
- Usable host addresses
- 1,022 (the first address names the network and the last is the broadcast address)
- Contains
- 4 networks of size /24
What a /22 is used for
A /22 is four /24 networks, 1,022 usable addresses. It has a place in history: when IPv4 addresses ran short, from 2012 to 2019 the European registry gave each new member a single /22 and no more. It is also a common size for a large flat Wi-Fi network such as a school or conference.
Worked example: which /22 is 172.16.77.130 in?
The mask's value in the third octet is 252, so networks advance in steps of 256 minus 252, which is 4, in that octet: 0, 4, 8, 12 and so on up to 252. The third octet of 172.16.77.130 is 77, which falls in the step that starts at 76. The network is therefore 172.16.76.0/22.
- Network
- 172.16.76.0/22
- Usable range
- 172.16.76.1 to 172.16.79.254
- Broadcast address
- 172.16.79.255
- Next /22 begins at
- 172.16.80.0/22
Open this example in the subnet calculator to see it bit by bit, or to try your own address.
The first 16 of the 64 /22 networks in 172.16.0.0/16
| Network | Usable range | Broadcast |
|---|---|---|
| 172.16.0.0/22 | 172.16.0.1 to 172.16.3.254 | 172.16.3.255 |
| 172.16.4.0/22 | 172.16.4.1 to 172.16.7.254 | 172.16.7.255 |
| 172.16.8.0/22 | 172.16.8.1 to 172.16.11.254 | 172.16.11.255 |
| 172.16.12.0/22 | 172.16.12.1 to 172.16.15.254 | 172.16.15.255 |
| 172.16.16.0/22 | 172.16.16.1 to 172.16.19.254 | 172.16.19.255 |
| 172.16.20.0/22 | 172.16.20.1 to 172.16.23.254 | 172.16.23.255 |
| 172.16.24.0/22 | 172.16.24.1 to 172.16.27.254 | 172.16.27.255 |
| 172.16.28.0/22 | 172.16.28.1 to 172.16.31.254 | 172.16.31.255 |
| 172.16.32.0/22 | 172.16.32.1 to 172.16.35.254 | 172.16.35.255 |
| 172.16.36.0/22 | 172.16.36.1 to 172.16.39.254 | 172.16.39.255 |
| 172.16.40.0/22 | 172.16.40.1 to 172.16.43.254 | 172.16.43.255 |
| 172.16.44.0/22 | 172.16.44.1 to 172.16.47.254 | 172.16.47.255 |
| 172.16.48.0/22 | 172.16.48.1 to 172.16.51.254 | 172.16.51.255 |
| 172.16.52.0/22 | 172.16.52.1 to 172.16.55.254 | 172.16.55.255 |
| 172.16.56.0/22 | 172.16.56.1 to 172.16.59.254 | 172.16.59.255 |
| 172.16.60.0/22 | 172.16.60.1 to 172.16.63.254 | 172.16.63.255 |
One size up and one size down
Each bit removed from the prefix doubles a network, and each bit added halves it. A /21 is twice the size, with 2,046 usable addresses, and a /23 is half the size, with 510 usable addresses. The table of every prefix size compares them all, and the VLAN planner lays out several networks of different sizes without overlaps.