/20 Subnet Mask & Usable Host Capacity
Mask 255.255.240.0 with 4,094 usable hosts. AWS default VPCs (172.31.0.0/16) create one /20 subnet per availability zone. AWS and Azure reserve 5 addresses in every subnet, so the usable count in the cloud is slightly lower.
/20 Subnet Architecture & Use Cases
The /20 prefix indicates that 20 bits of the 32-bit IPv4 address belong to the network prefix, while the remaining 12 bits identify local host nodes.
A network interface assigned to this subnet can address up to 4,094 active nodes simultaneously in its local broadcast segment.
/20 in Binary: Network vs Host Bits
Subnet mask 255.255.240.0 in binary is
11111111.11111111.11110000.00000000: the first 20 bits are 1s
(network portion) and the last 12 bits are 0s (host portion).
That gives 2^12 = 4,096 addresses; minus the network and broadcast addresses, 4,094 are usable.
A /16 block splits into 16 subnets of size /20.
Example: 172.16.0.0/20 Address Range
| Network address | 172.16.0.0 |
|---|---|
| First usable IP | 172.16.0.1 |
| Last usable IP | 172.16.15.254 |
| Broadcast address | 172.16.15.255 |
Frequently Asked Questions (FAQ)
How many usable hosts are in a /20 subnet? →
A /20 subnet accommodates 4,096 total IP addresses and 4,094 usable host endpoints.
What is the subnet mask and wildcard mask for /20? →
The subnet mask for /20 is 255.255.240.0, and the wildcard mask is 0.0.15.255.
Where is a /20 network typically deployed? →
Mask 255.255.240.0 with 4,094 usable hosts. AWS default VPCs (172.31.0.0/16) create one /20 subnet per availability zone. AWS and Azure reserve 5 addresses in every subnet, so the usable count in the cloud is slightly lower.
What is the /20 subnet mask in binary? →
The /20 mask is 255.255.240.0, written in binary as 11111111.11111111.11110000.00000000: the first 20 bits are 1s (network portion) and the remaining 12 bits are 0s (host portion). Total addresses are 2^12 = 4,096; subtracting the network and broadcast addresses leaves 4,094 usable hosts.
Example: what is the IP range of 172.16.0.0/20? →
For 172.16.0.0/20, the network address is 172.16.0.0, the first usable IP is 172.16.0.1, the last usable IP is 172.16.15.254 and the broadcast address is 172.16.15.255.
How many /20 subnets fit in a /16? →
A /16 block can be divided into 16 subnets of size /20 (2^(20-16) = 16).
Network Engineering Toolset
All calculations execute client-side in your browser.