/22 Subnet Mask: 255.255.252.0

A /22 prefix fixes the first 22 bits of the address as the network, leaving 10 bits for hosts. That gives 1,024 addresses, of which 1,022 can be assigned to hosts.

CIDR notation/22
Subnet mask255.255.252.0
Wildcard mask0.0.3.255
Binary mask11111111.11111111.11111100.00000000
Hex mask0xFFFFFC00
Total addresses1,024
Usable hosts1,022

Example: 172.16.0.0/22

  • Network address: 172.16.0.0
  • First usable host: 172.16.0.1
  • Last usable host: 172.16.3.254
  • Broadcast address: 172.16.3.255

When to use a /22 subnet

Larger office or campus segments, and cloud subnets that need hundreds to thousands of addresses.

  • 16,384 /22 subnets fit in a /8.
  • 64 /22 subnets fit in a /16.

Frequently Asked Questions

What is the subnet mask for /22?

The subnet mask for /22 is 255.255.252.0, and its wildcard (inverse) mask is 0.0.3.255.

How many hosts are in a /22?

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