/21 Subnet: Mask 255.255.248.0, 2,046 Usable Hosts

A /21 subnet has a subnet mask of 255.255.248.0 and contains 2,048 total IP addresses, of which 2,046 are usable host addresses (the network and broadcast addresses are reserved). A /21 contains 8 /24 networks.

CIDR notation /21
Subnet mask 255.255.248.0
Wildcard mask 0.0.7.255
Mask in binary 11111111.11111111.11111000.00000000
Total addresses 2,048 (2^11)
Usable hosts 2,046
Host bits 11

Usable hosts in a /21 by platform

Cloud providers reserve more than the usual two addresses per subnet, so the same /21 gives you fewer usable IPs in the cloud than on a standard LAN.

Platform Reserved IPs Usable hosts
Standard (network + broadcast) 2 2,046
AWS VPC 5 2,043
Microsoft Azure VNet 5 2,043
Google Cloud VPC 4 2,044
Oracle Cloud VCN 3 2,045

Good to know

A /21 subnet has a 255.255.248.0 mask and 2,048 total addresses (2,046 usable). Each step from /21 to /22 halves the block; each step back to /20 doubles it.

How a /21 is calculated

Want to split a /21 into smaller subnets, see every address range, or plan a VLSM layout? Open the free subnet calculator →