subnet.im

/20 Subnet

Subnet Mask

255.255.240.0

Wildcard Mask

0.0.15.255

Total IPs

4,096

Usable Hosts

4,094

Network Bits

20

Host Bits

12

About /20 Networks

Large subnet — small data center or department (4,094 hosts). A /20 subnet uses the mask 255.255.240.0 and provides 4,094 usable host addresses out of 4,096 total IPs.

Example /20 Networks

NetworkBroadcastFirst HostLast Host
10.0.0.0/2010.0.15.25510.0.0.110.0.15.254
172.16.0.0/20172.16.15.255172.16.0.1172.16.15.254
192.168.0.0/20192.168.15.255192.168.0.1192.168.15.254
192.168.0.0/20192.168.15.255192.168.0.1192.168.15.254
8.8.0.0/208.8.15.2558.8.0.18.8.15.254

Splitting a /20 Into Smaller Subnets

A /20 divides evenly into any longer prefix. Each row shows how many subnets of that size fit inside one /20, and how many usable hosts each of them carries.

Subnet SizeHow Many FitMaskUsable Hosts Each
/212 × /21255.255.248.02,046
/224 × /22255.255.252.01,022
/238 × /23255.255.254.0510
/2416 × /24255.255.255.0254
/2532 × /25255.255.255.128126
/2664 × /26255.255.255.19262
/27128 × /27255.255.255.22430
/28256 × /28255.255.255.24014
/29512 × /29255.255.255.2486
/301,024 × /30255.255.255.2522
/312,048 × /31255.255.255.2542
/324,096 × /32255.255.255.2551

How Many /20 Subnets Fit in a Larger Network

The same arithmetic read the other way: how many /20 subnets you get when you carve up each of the next larger prefixes.

Parent Network/20 SubnetsMaskTotal IPs
/192 × /20255.255.224.08,192
/184 × /20255.255.192.016,384
/178 × /20255.255.128.032,768
/1616 × /20255.255.0.065,536
/1532 × /20255.254.0.0131,072
/1464 × /20255.252.0.0262,144
/13128 × /20255.248.0.0524,288
/12256 × /20255.240.0.01,048,576

Adjacent CIDRs

Comparing sizes? The full /0 to /32 cheat sheet table puts every prefix side by side.

Frequently Asked Questions

What is a /20 subnet?

A /20 subnet uses the subnet mask 255.255.240.0 with 4,094 usable host addresses and 4,096 total IP addresses. It has 20 network bits and 12 host bits.

How many hosts in a /20 network?

A /20 network supports 4,094 usable hosts out of 4,096 total IP addresses. The usable range excludes the network address and broadcast address.

What subnet mask does /20 use?

A /20 subnet uses the mask 255.255.240.0 (wildcard mask 0.0.15.255). This means the first 20 bits identify the network and the remaining 12 bits identify hosts.

How many /22 subnets are in a /20?

One /20 splits into 4 /22 subnets, each with mask 255.255.252.0 and 1,022 usable hosts. Every prefix longer than /20 divides it evenly — the full table is above.

How many /20 subnets are in a /19?

A /19 holds 2 /20 subnets. Each step to a shorter prefix doubles that count, because one bit moves from the host portion of the address to the network portion.

Standards

The figures on this page follow from the following specifications rather than from convention.