/22 Subnet Mask

A /22 subnet mask is 255.255.252.0, with 1,024 addresses and 1,022 usable hosts.

CIDR prefix/22
Subnet mask255.255.252.0
Subnet mask (binary)11111111.11111111.11111100.00000000
Wildcard mask0.0.3.255
Network bits / host bits22 / 10
Total addresses1,024
Usable hosts1,022
/22 subnets in a /816,384
/22 subnets in a /1664

The mask ends 6 bits into octet 3, so blocks step in increments of 4 in that octet. Often used for a larger campus or data-centre segment that needs about a thousand hosts.

Try it with an address

Example /22 subnets in 192.168.0.0/16

Network First usable host Last usable host Broadcast
192.168.0.0/22 192.168.0.1 192.168.3.254 192.168.3.255
192.168.4.0/22 192.168.4.1 192.168.7.254 192.168.7.255
192.168.8.0/22 192.168.8.1 192.168.11.254 192.168.11.255
192.168.12.0/22 192.168.12.1 192.168.15.254 192.168.15.255
192.168.16.0/22 192.168.16.1 192.168.19.254 192.168.19.255
192.168.20.0/22 192.168.20.1 192.168.23.254 192.168.23.255
192.168.24.0/22 192.168.24.1 192.168.27.254 192.168.27.255
192.168.28.0/22 192.168.28.1 192.168.31.254 192.168.31.255

Frequently asked questions

What is the subnet mask for /22?

A /22 subnet mask is 255.255.252.0. In binary that is 11111111.11111111.11111100.00000000: 22 network bits followed by 10 host bits. The wildcard mask is 0.0.3.255.

How many usable hosts are in a /22?

A /22 holds 1,024 addresses in total. Subtracting the network and broadcast addresses leaves 1,022 usable hosts.

How many /22 subnets fit in a /16?

A /16 divides into 64 subnets of size /22, because each extra mask bit doubles the number of subnets.

Other prefix lengths

← /21 Full CIDR chart /23 →

Calculate this over HTTP: curl https://networkcalc.com/api/ip/192.168.1.0/22. See the Subnet Calculator API.