Skip to the content

/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

/22

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.

  1. 10.0.4.0/24Hosts 10.0.4.1 – 10.0.4.254Broadcast 10.0.4.255
  2. 10.0.5.0/24Hosts 10.0.5.1 – 10.0.5.254Broadcast 10.0.5.255
  3. 10.0.6.0/24Hosts 10.0.6.1 – 10.0.6.254Broadcast 10.0.6.255
  4. 10.0.7.0/24Hosts 10.0.7.1 – 10.0.7.254Broadcast 10.0.7.255
Share this tool:TwitterFacebookLinkedInWhatsAppEmail

/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

  1. 10.0.0.0/22Hosts 10.0.0.1 – 10.0.3.254Broadcast 10.0.3.255
  2. 10.0.4.0/22Hosts 10.0.4.1 – 10.0.7.254Broadcast 10.0.7.255
  3. 10.0.8.0/22Hosts 10.0.8.1 – 10.0.11.254Broadcast 10.0.11.255
  4. 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.