Skip to the content

/21 Subnet (255.255.248.0)

A /21 network has 2,048 addresses and the subnet mask 255.255.248.0: eight /24 networks under a single mask.

With or without a prefix: 192.168.1.10/24

/21

Network in CIDR notation

10.0.8.0/21

2,046 usable hosts, from 10.0.8.1 to 10.0.15.254.

Network address
10.0.8.0
Broadcast address
10.0.15.255
First usable host
10.0.8.1
Last usable host
10.0.15.254
Usable hosts
2,046
Total addresses
2,048
Subnet mask
255.255.248.0
Wildcard mask
0.0.7.255
IP class
A, default mask /8
Address type
Private (RFC 1918), in 10.0.0.0/8

In binary

Address
00001010.00000000.00001000.00000000
Mask
11111111.11111111.11111000.00000000
Network
00001010.00000000.00001000.00000000
Broadcast
00001010.00000000.00001111.11111111

The line marks where the network part ends: 21 network bits to its left, 11 host bits to its right.

Split into smaller subnets

4 subnets of /23, 510 usable hosts each.

  1. 10.0.8.0/23Hosts 10.0.8.1 – 10.0.9.254Broadcast 10.0.9.255
  2. 10.0.10.0/23Hosts 10.0.10.1 – 10.0.11.254Broadcast 10.0.11.255
  3. 10.0.12.0/23Hosts 10.0.12.1 – 10.0.13.254Broadcast 10.0.13.255
  4. 10.0.14.0/23Hosts 10.0.14.1 – 10.0.15.254Broadcast 10.0.15.255
Share this tool:TwitterFacebookLinkedInWhatsAppEmail

/21 at a glance

Subnet mask
255.255.248.0
Mask in binary
11111111.11111111.11111000.00000000
Wildcard mask
0.0.7.255
Addresses in one network
2,048
Usable for hosts
2,046
Networks of this size
32 in a /16, 8,192 in a /8

Where /21 networks begin

The mask stops inside the third number of the address, and one network covers 8 values of it. A new network begins wherever that number is a multiple of 8: 0, 8, 16, 24 and so on up to 248.

10.0.0.0/18 divided into 8 networks of /21

  1. 10.0.0.0/21Hosts 10.0.0.1 – 10.0.7.254Broadcast 10.0.7.255
  2. 10.0.8.0/21Hosts 10.0.8.1 – 10.0.15.254Broadcast 10.0.15.255
  3. 10.0.16.0/21Hosts 10.0.16.1 – 10.0.23.254Broadcast 10.0.23.255
  4. 10.0.24.0/21Hosts 10.0.24.1 – 10.0.31.254Broadcast 10.0.31.255
  5. 10.0.32.0/21Hosts 10.0.32.1 – 10.0.39.254Broadcast 10.0.39.255
  6. 10.0.40.0/21Hosts 10.0.40.1 – 10.0.47.254Broadcast 10.0.47.255
  7. 10.0.48.0/21Hosts 10.0.48.1 – 10.0.55.254Broadcast 10.0.55.255
  8. 10.0.56.0/21Hosts 10.0.56.1 – 10.0.63.254Broadcast 10.0.63.255

In practice

A /21 is what you get when eight neighbouring /24 networks are joined. Routers summarise them the same way: eight routes become one. It only works when the first of the eight starts on a multiple of 8 in the third number.

10.0.12.0/21 is therefore not a network. That address belongs to 10.0.8.0/21, which runs from 10.0.8.0 to 10.0.15.255.

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.