/21 Subnet Mask & Usable Host Capacity
Mask 255.255.248.0 with 2,046 usable hosts. Used to summarise eight consecutive /24 VLANs on a distribution switch and for dense wireless networks such as dormitories and campuses.
/21 Subnet Architecture & Use Cases
The /21 prefix indicates that 21 bits of the 32-bit IPv4 address belong to the network prefix, while the remaining 11 bits identify local host nodes.
A network interface assigned to this subnet can address up to 2,046 active nodes simultaneously in its local broadcast segment.
/21 in Binary: Network vs Host Bits
Subnet mask 255.255.248.0 in binary is
11111111.11111111.11111000.00000000: the first 21 bits are 1s
(network portion) and the last 11 bits are 0s (host portion).
That gives 2^11 = 2,048 addresses; minus the network and broadcast addresses, 2,046 are usable.
A /16 block splits into 32 subnets of size /21.
Example: 172.16.0.0/21 Address Range
| Network address | 172.16.0.0 |
|---|---|
| First usable IP | 172.16.0.1 |
| Last usable IP | 172.16.7.254 |
| Broadcast address | 172.16.7.255 |
Frequently Asked Questions (FAQ)
How many usable hosts are in a /21 subnet? →
A /21 subnet accommodates 2,048 total IP addresses and 2,046 usable host endpoints.
What is the subnet mask and wildcard mask for /21? →
The subnet mask for /21 is 255.255.248.0, and the wildcard mask is 0.0.7.255.
Where is a /21 network typically deployed? →
Mask 255.255.248.0 with 2,046 usable hosts. Used to summarise eight consecutive /24 VLANs on a distribution switch and for dense wireless networks such as dormitories and campuses.
What is the /21 subnet mask in binary? →
The /21 mask is 255.255.248.0, written in binary as 11111111.11111111.11111000.00000000: the first 21 bits are 1s (network portion) and the remaining 11 bits are 0s (host portion). Total addresses are 2^11 = 2,048; subtracting the network and broadcast addresses leaves 2,046 usable hosts.
Example: what is the IP range of 172.16.0.0/21? →
For 172.16.0.0/21, the network address is 172.16.0.0, the first usable IP is 172.16.0.1, the last usable IP is 172.16.7.254 and the broadcast address is 172.16.7.255.
How many /21 subnets fit in a /16? →
A /16 block can be divided into 32 subnets of size /21 (2^(21-16) = 32).
Network Engineering Toolset
All calculations execute client-side in your browser.