Subnet calculator › CIDR /21
/21 subnet mask (255.255.248.0)
A /21 uses the first 21 bits for the network and the remaining 11 bits for hosts: 2,048 addresses, 2,046 usable hosts.
| CIDR notation | /21 |
|---|---|
| Subnet mask | 255.255.248.0 |
| Wildcard mask | 0.0.7.255 |
| Binary mask | 11111111.11111111.11111|000.00000000 |
| Hex mask | 0xFFFFF800 |
| Total addresses | 2,048 (211) |
| Usable hosts | 2,046 · 2,048 addresses minus the network and broadcast addresses. |
| Block size | The third octet changes in steps of 8 |
What is a /21 used for?
- User network for an office of 1,000-2,000 people
/21 address range examples
Splitting 10.0.0.0/16 into /21 gives 32 subnets. The first 8 are shown.
| Network | Usable range | Broadcast |
|---|---|---|
| 10.0.0.0/21 | 10.0.0.1 ~ 10.0.7.254 | 10.0.7.255 |
| 10.0.8.0/21 | 10.0.8.1 ~ 10.0.15.254 | 10.0.15.255 |
| 10.0.16.0/21 | 10.0.16.1 ~ 10.0.23.254 | 10.0.23.255 |
| 10.0.24.0/21 | 10.0.24.1 ~ 10.0.31.254 | 10.0.31.255 |
| 10.0.32.0/21 | 10.0.32.1 ~ 10.0.39.254 | 10.0.39.255 |
| 10.0.40.0/21 | 10.0.40.1 ~ 10.0.47.254 | 10.0.47.255 |
| 10.0.48.0/21 | 10.0.48.1 ~ 10.0.55.254 | 10.0.55.255 |
| 10.0.56.0/21 | 10.0.56.1 ~ 10.0.63.254 | 10.0.63.255 |
Splitting a /21 further
| Split into | Subnets | Hosts each |
|---|---|---|
| /22 | 2 | 1,022 |
| /23 | 4 | 510 |
| /24 | 8 | 254 |
| /25 | 16 | 126 |
| /26 | 32 | 62 |
| /27 | 64 | 30 |
| /28 | 128 | 14 |
| /29 | 256 | 6 |