HTTPfy

/22 subnet mask (255.255.252.0)

A /22 network has 10 host bits, 1,024 addresses and 1,022 usable hosts. It is 4 /24 networks.

/22 at a glance

Netmask
255.255.252.0
Wildcard mask
0.0.3.255
Hex mask
0xFFFFFC00
Binary mask
11111111.11111111.11111100.00000000
Host bits
10
Total addresses
1,024
Usable hosts
1,022 (minus network and broadcast)
Compared with a /24
4 /24 networks

Typical uses of a /22

A /22 (four /24s, 1,022 usable hosts) is a common size for guest Wi-Fi and large DHCP scopes. It is also the block RIPE NCC gave each new member under its last-/8 policy from 2012 until it ran out in 2019.

Example /22 ranges

NetworkNetwork addressFirst usableLast usableBroadcastNext /22
10.0.0.0/22 10.0.0.0 10.0.0.1 10.0.3.254 10.0.3.255 10.0.4.0/22 calculate
172.16.0.0/22 172.16.0.0 172.16.0.1 172.16.3.254 172.16.3.255 172.16.4.0/22 calculate
192.168.0.0/22 192.168.0.0 192.168.0.1 192.168.3.254 192.168.3.255 192.168.4.0/22 calculate

The /22 boundary falls in the third octet, so /22 networks start every 4 in that octet (64 per /16): 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, ....

How many /22s fit

In aNumber of /22 subnets
/816,384
/1664
/204

What a /22 contains

Smaller blockHow many
/244
/2616
/2864
/29128
/30256
/321,024

Splitting a /22

IntoSubnetsUsable hosts each
/232510
/244254
/258126
/261662

/22 in AWS, Azure and Google Cloud

PlatformAllowed subnet sizes/22 allowed?Usable after reservation
AWS VPC/16 to /28 Yes 1,019 (5 reserved)
Azure VNet/2 to /29 Yes 1,019 (5 reserved)
Google Cloud VPC/4 to /29 Yes 1,020 (4 reserved)

Cloud providers reserve addresses in every subnet (first four and the last address (network, VPC router, DNS, future use, broadcast) on AWS), so the usable count there differs from the classic 2^n - 2.