/22 subnet (CIDR)

A /22 network has subnet mask 255.255.252.0, 1,024 total addresses and 1,022 usable hosts.

255.255.252.0Subnet mask
0.0.3.255Wildcard mask
1,024Addresses
1,022Usable hosts

Open 172.16.0.0/22 in the subnet calculator →

Details

PropertyValue
Network bits22
Host bits10
Mask in binary11111111.11111111.11111100.00000000
Mask in hex0xFFFFFC00
Total addresses210 = 1,024
Usable hosts210 − 2 = 1,022
Number of /24s inside4
Historic class equivalent—

Typical use: Medium office or Kubernetes pod range.

Example: 172.16.0.0/22

Network 172.16.0.0, broadcast 172.16.3.255, hosts 172.16.0.1 to 172.16.3.254.

Neighbouring prefixes

Each step of one bit halves (or doubles) the size: a /22 holds two /23s.

Frequently asked questions

How many hosts in a /22?
1,022 usable out of 1,024 addresses.
What is the subnet mask for /22?
255.255.252.0 (binary 11111111.11111111.11111100.00000000).