/22 Subnet Mask (255.255.252.0)

/22 subnet summary
Prefix/22
Subnet mask255.255.252.0
Wildcard mask0.0.3.255
Binary mask11111111.11111111.11111100.00000000
Total addresses1,024
Usable hosts1,022
Host bits10
Subnets of /22 in a /1664

e.g. 10.0.0.5/22 or 10.0.0.5 255.255.252.0

Subnet calculation results
Network address172.16.0.0
Broadcast address172.16.3.255
First usable host172.16.0.1
Last usable host172.16.3.254
Total addresses1,024
Usable hosts1,022
Subnet mask255.255.252.0
Wildcard mask0.0.3.255
CIDR notation172.16.0.0/22
IP classClass B (legacy)
Address typePrivate (RFC 1918)
IP address (binary)10101100.00010000.00000000.00000000
Subnet mask (binary)11111111.11111111.11111100.00000000

■ network bits ■ host bits

Runs entirely in your browser. Nothing you enter is sent to a server.

What is a /22 subnet?

A /22 subnet uses the first 22 bits of an IPv4 address for the network and leaves 10 bits for hosts. Its subnet mask is 255.255.252.0, and it contains 2¹⁰ = 1,024 addresses, of which 1,022 can be assigned to devices. Typical use: Common for large office or Wi-Fi VLANs needing about 1,000 clients. Use the subnet calculator above to check any /22 network.

/22 subnet example

For 172.16.0.0/22: network address 172.16.0.0, usable hosts 172.16.0.1 – 172.16.3.254, broadcast address 172.16.3.255, wildcard mask 0.0.3.255.

/22 networks in 172.16.0.0/16

A /16 holds 64 /22 networks:

Frequently asked questions

How many usable IPs are in a /22?

1,022. The block has 1,024 addresses; the first is the network address and the last is the broadcast address.

What is the subnet mask for /22?

255.255.252.0, or 11111111.11111111.11111100.00000000 in binary.

How many /22 subnets are in a /16?

64 (2⁶), because a /22 uses 6 more network bits than a /16.

What is the difference between /22 and /21?

A /21 (255.255.248.0) is twice as large: 2,048 addresses and 2,046 usable hosts, spanning two consecutive /22 blocks such as 172.16.0.0–172.16.7.255.

Nearby prefixes