subnet.im

255.255.240.0 Subnet Mask

255.255.240.0 is the subnet mask for a /20 network — 4,094 usable hosts out of 4,096 addresses.

CIDR Prefix

/20

Wildcard Mask

0.0.15.255

Total Addresses

4,096

Usable Hosts

4,094

Network Bits

20

Host Bits

12

255.255.240.0 in Binary

Each octet is eight bits. The highlighted bits are the 20 network bits; the rest are the 12 host bits that vary within the subnet.

11111111

255

.
11111111

255

.
11110000

240

.
00000000

0

Networks Using 255.255.240.0

NetworkHost RangeBroadcast
10.0.0.0/2010.0.0.110.0.15.25410.0.15.255
172.16.0.0/20172.16.0.1172.16.15.254172.16.15.255
192.168.0.0/20192.168.0.1192.168.15.254192.168.15.255

Neighbouring Masks

Frequently Asked Questions

What CIDR prefix is 255.255.240.0?

255.255.240.0 is /20 in CIDR notation. The mask sets the first 20 of the 32 bits in an IPv4 address to 1, marking them as the network portion, and leaves the remaining 12 bits as 0 for hosts.

How many hosts does 255.255.240.0 allow?

A network with mask 255.255.240.0 holds 4,096 addresses, of which 4,094 are usable by hosts — the network address and the broadcast address are reserved.

What is the wildcard mask for 255.255.240.0?

The wildcard mask for 255.255.240.0 is 0.0.15.255. It is the bitwise inverse: every 1 in the subnet mask becomes a 0 and every 0 becomes a 1. Cisco access lists and OSPF network statements take the wildcard form rather than the subnet mask.

Standards