← CIDR calculator

The /22 subnet, explained

Everything about a /22 CIDR block — mask, address count, usable hosts and where a /22 fits in real network plans.

1,024
Total addresses
1,022
Usable hosts
255.255.252.0
Subnet mask
0.0.3.255
Wildcard mask
Prefix length/22 — 22 network bits, 10 host bits
Subnet mask255.255.252.0
Wildcard (ACL) mask0.0.3.255
Binary mask11111111.11111111.11111100.00000000
Total addresses2^10 = 1,024
Usable hosts1,022 (total − network − broadcast)
Contains4 × /24 subnets
A /16 holds64 × /22 subnets
Example block10.10.0.0/22

Notes

A /22 prefix means the first 22 bits of the 32-bit IPv4 address identify the network and the remaining 10 bits identify hosts — giving 2^10 = 1,024 addresses. The first address (network) and the last (broadcast) are not assignable in a standard subnet.

Cloud sizing: a /22 is valid as an AWS VPC (allowed range /16–/28). AWS reserves 5 addresses per subnet, so a /22 subnet gives 1,019 assignable IPs there; GCP reserves 4 (1,020 assignable).

Adjacent sizes: /8 · /9 · /10 · /11 · /12 · /13 · /14 · /15 · /16 · /17 · /18 · /19 · /20 · /21 · /23 · /24 · /25 · /26 · /27 · /28 · /29 · /30 · /31 · /32

Frequently asked questions

How many IP addresses are in a /22?

1,024 total addresses, of which 1,022 are usable hosts (network and broadcast addresses are reserved).

What is the subnet mask for /22?

255.255.252.0 (wildcard mask 0.0.3.255).

What does /22 mean in an IP address?

The /22 suffix is CIDR notation: the first 22 bits are the network part, the last 10 bits are the host part.

Found this useful? 113 free, browser-only tools by Yuvrajsinh Jadav — an engineer who ships production AI systems. No account, nothing sent anywhere.