- Home
- Tools
- Network Tools
- Subnet Calculator
- /22 Subnet (255.255.252.0)
/22 Subnet (255.255.252.0)
A /22 network has 1,024 addresses and the subnet mask 255.255.252.0: four /24 networks under a single mask.
With or without a prefix: 192.168.1.10/24
Network in CIDR notation
10.0.4.0/22
1,022 usable hosts, from 10.0.4.1 to 10.0.7.254.
- Network address
- 10.0.4.0
- Broadcast address
- 10.0.7.255
- First usable host
- 10.0.4.1
- Last usable host
- 10.0.7.254
- Usable hosts
- 1,022
- Total addresses
- 1,024
- Subnet mask
- 255.255.252.0
- Wildcard mask
- 0.0.3.255
- IP class
- A, default mask /8
- Address type
- Private (RFC 1918), in 10.0.0.0/8
In binary
- Address
- 00001010.00000000.00000100.00000000
- Mask
- 11111111.11111111.11111100.00000000
- Network
- 00001010.00000000.00000100.00000000
- Broadcast
- 00001010.00000000.00000111.11111111
The line marks where the network part ends: 22 network bits to its left, 10 host bits to its right.
Split into smaller subnets
4 subnets of /24, 254 usable hosts each.
- 10.0.4.0/24Hosts 10.0.4.1 – 10.0.4.254Broadcast 10.0.4.255
- 10.0.5.0/24Hosts 10.0.5.1 – 10.0.5.254Broadcast 10.0.5.255
- 10.0.6.0/24Hosts 10.0.6.1 – 10.0.6.254Broadcast 10.0.6.255
- 10.0.7.0/24Hosts 10.0.7.1 – 10.0.7.254Broadcast 10.0.7.255
/22 at a glance
- Subnet mask
- 255.255.252.0
- Mask in binary
- 11111111.11111111.11111100.00000000
- Wildcard mask
- 0.0.3.255
- Addresses in one network
- 1,024
- Usable for hosts
- 1,022
- Networks of this size
- 64 in a /16, 16,384 in a /8
Where /22 networks begin
The mask stops inside the third number of the address, and one network covers 4 values of it. A new network begins wherever that number is a multiple of 4: 0, 4, 8, 12 and so on up to 252.
10.0.0.0/20 divided into 4 networks of /22
- 10.0.0.0/22Hosts 10.0.0.1 – 10.0.3.254Broadcast 10.0.3.255
- 10.0.4.0/22Hosts 10.0.4.1 – 10.0.7.254Broadcast 10.0.7.255
- 10.0.8.0/22Hosts 10.0.8.1 – 10.0.11.254Broadcast 10.0.11.255
- 10.0.12.0/22Hosts 10.0.12.1 – 10.0.15.254Broadcast 10.0.15.255
In practice
Four neighbouring /24 networks make a /22, provided the first one starts on a multiple of 4 in the third number: 10.0.4.0/22 covers 10.0.4.0 to 10.0.7.255.
Inside it, addresses that end in .0 or .255 are ordinary host addresses, apart from the very first and the very last. 10.0.5.255 and 10.0.6.0 can be given to devices.
The size has a place in internet history. When the European registry RIPE NCC reached its last block of IPv4 addresses in 2012, every member could get one final /22 and no more. That supply ran out in 2019.
The subnet calculator takes any address with any prefix or mask, explains the address classes and the private ranges, and splits a network into subnets.
Other prefix lengths
- /8 (255.0.0.0)
- /12 (255.240.0.0)
- /16 (255.255.0.0)
- /20 (255.255.240.0)
- /21 (255.255.248.0)
- /23 (255.255.254.0)
- /24 (255.255.255.0)
- /25 (255.255.255.128)
- /26 (255.255.255.192)
- /27 (255.255.255.224)
- /28 (255.255.255.240)
- /29 (255.255.255.248)
- /30 (255.255.255.252)
- /31 (255.255.255.254)
- /32 (255.255.255.255)
- Subnet mask cheat sheet