/20 Subnet Mask and Host Range

A /20 IPv4 prefix uses mask 255.255.240.0 and contains 4096 addresses. See the range for 192.0.2.1.

Subnet mask255.255.240.0
Binary mask11111111.11111111.11110000.00000000
Wildcard mask0.0.15.255
Total addresses4096
Usable host addresses4094
Block containing 192.0.2.1192.0.0.0 – 192.0.15.255

In a broadcast subnet, the first address identifies the network and the last is the broadcast address. Increasing the prefix length by one divides this block into two equal subnets.

Address capacity by prefix
PrefixAddressesUsable addresses
/1981928190
/2040964094
/2120482046

Split 192.0.0.0/20 into 2 /21 prefixes

#CIDRLast address
1192.0.0.0/21192.0.7.255
2192.0.8.0/21192.0.15.255

Open this example in the calculator