Subnet calculator › CIDR /20

/20 subnet mask (255.255.240.0)

A /20 uses the first 20 bits for the network and the remaining 12 bits for hosts: 4,096 addresses, 4,094 usable hosts.

CIDR notation/20
Subnet mask255.255.240.0
Wildcard mask0.0.15.255
Binary mask11111111.11111111.1111|0000.00000000
Hex mask0xFFFFF000
Total addresses4,096 (212)
Usable hosts4,094 · 4,096 addresses minus the network and broadcast addresses.
Block size The third octet changes in steps of 16

What is a /20 used for?

/20 address range examples

Splitting 10.0.0.0/16 into /20 gives 16 subnets. The first 8 are shown.

NetworkUsable rangeBroadcast
10.0.0.0/20 10.0.0.1 ~ 10.0.15.254 10.0.15.255
10.0.16.0/20 10.0.16.1 ~ 10.0.31.254 10.0.31.255
10.0.32.0/20 10.0.32.1 ~ 10.0.47.254 10.0.47.255
10.0.48.0/20 10.0.48.1 ~ 10.0.63.254 10.0.63.255
10.0.64.0/20 10.0.64.1 ~ 10.0.79.254 10.0.79.255
10.0.80.0/20 10.0.80.1 ~ 10.0.95.254 10.0.95.255
10.0.96.0/20 10.0.96.1 ~ 10.0.111.254 10.0.111.255
10.0.112.0/20 10.0.112.1 ~ 10.0.127.254 10.0.127.255

Try it in the calculator →

Splitting a /20 further

Split intoSubnetsHosts each
/21 2 2,046
/22 4 1,022
/23 8 510
/24 16 254
/25 32 126
/26 64 62
/27 128 30
/28 256 14

How many /20s fit in a larger block

Other prefixes