/22 subnet (255.255.252.0)
Everything about a /22 network: mask, wildcard, number of hosts, example ranges and when to use it.
| Prefix (CIDR) | /22 |
|---|---|
| Subnet mask | 255.255.252.0 |
| Wildcard mask | 0.0.3.255 |
| Total addresses | 1,024 |
| Usable hosts | 1,022 |
| Block size | 4 in the third octet |
| Mask in binary | 11111111.11111111.11111100.00000000 |
What is a /22 used for?
Large user VLANs and guest Wi-Fi in schools, hotels and conference centres, with room for about 1,000 devices. A /22 contains 4 /24 networks.
How the numbers are worked out
/22 means the first 22 bits of the address are the network part, leaving 10 bits for hosts. 210 = 1,024 addresses. Take away 2 for the network and broadcast addresses and you get 1,022 usable hosts.
The mask has 22 ones followed by 10 zeros. The wildcard mask is the opposite: 255.255.255.255 minus the subnet mask, 0.0.3.255.
Example /22 networks
| Network | Usable range | Broadcast |
|---|---|---|
10.0.0.0/22 | 10.0.0.1 – 10.0.3.254 | 10.0.3.255 |
10.0.4.0/22 | 10.0.4.1 – 10.0.7.254 | 10.0.7.255 |
10.0.8.0/22 | 10.0.8.1 – 10.0.11.254 | 10.0.11.255 |
10.0.12.0/22 | 10.0.12.1 – 10.0.15.254 | 10.0.15.255 |
Each next /22 network starts 1,024 addresses after the previous one. Work out any address with the free subnet calculator, or split a network into different sizes with the VLSM planner.
Frequently asked questions
How many hosts are in a /22 subnet?
A /22 has 1,024 addresses in total and 1,022 usable hosts. The first address is the network address and the last is the broadcast address.
What is the subnet mask for /22?
The subnet mask for /22 is 255.255.252.0, and the wildcard mask (used in Cisco ACLs and OSPF) is 0.0.3.255.
What is a /22 subnet used for?
Large user VLANs and guest Wi-Fi in schools, hotels and conference centres, with room for about 1,000 devices.
Other prefix sizes
Learn more: subnetting in your head, subnetting step by step and the subnetting cheat sheet.