Skip to content
IPCheckHQDashboard

/21 subnet

A /21 fixes the first 21 bits of the address and leaves 11 for hosts. That gives 2,048 addresses and subnet mask 255.255.248.0.

Example: 192.168.0.0/21

CIDR block
192.168.0.0/21
Network address
192.168.0.0
Broadcast address
192.168.7.255
Usable host range
192.168.0.1 – 192.168.7.254
Total addresses
2,048
Usable hosts
2,046
Subnet mask
255.255.248.0
Wildcard mask
0.0.7.255
Mask in binary
11111111.11111111.11111000.00000000

Check another address in the subnet calculator.

What fits inside a /21

Smaller blockHow many
/222
/234
/248
/2516
/2632
/2764
/28128
/29256
/322,048

Splitting 192.168.0.0/21 into /23 blocks starts with 192.168.0.0/23, 192.168.2.0/23, 192.168.4.0/23, 192.168.6.0/23.

How many fit in a larger block

  • A /8 holds 8,192 blocks of /21.
  • A /16 holds 32 blocks of /21.

A /21 in the cloud

ProviderUsable addresses
AWS VPC2,043
Azure Virtual Network2,043
Google Cloud VPC2,044

Each provider reserves addresses in every subnet: AWS VPC 5, Azure Virtual Network 5, Google Cloud VPC 4 (primary range).

Questions

How many hosts are in a /21 subnet?

A /21 has 2,048 addresses. Two are reserved for the network and broadcast addresses, which leaves 2,046 usable hosts.

What is the subnet mask for a /21?

The subnet mask for a /21 is 255.255.248.0, written in binary as 11111111.11111111.11111000.00000000. The wildcard mask is 0.0.7.255.

What is an example of a /21 range?

192.168.0.0/21 runs from 192.168.0.0 to 192.168.7.255. Hosts use 192.168.0.1 to 192.168.7.254, and 192.168.7.255 is the broadcast address.