subnet.im

240.0.0.0 Subnet Mask

240.0.0.0 is the subnet mask for a /4 network — 268,435,454 usable hosts out of 268,435,456 addresses.

CIDR Prefix

/4

Wildcard Mask

15.255.255.255

Total Addresses

268,435,456

Usable Hosts

268,435,454

Network Bits

4

Host Bits

28

240.0.0.0 in Binary

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

11110000

240

.
00000000

0

.
00000000

0

.
00000000

0

Networks Using 240.0.0.0

NetworkHost RangeBroadcast
0.0.0.0/40.0.0.115.255.255.25415.255.255.255
160.0.0.0/4160.0.0.1175.255.255.254175.255.255.255
192.0.0.0/4192.0.0.1207.255.255.254207.255.255.255

Neighbouring Masks

Frequently Asked Questions

What CIDR prefix is 240.0.0.0?

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

How many hosts does 240.0.0.0 allow?

A network with mask 240.0.0.0 holds 268,435,456 addresses, of which 268,435,454 are usable by hosts — the network address and the broadcast address are reserved.

What is the wildcard mask for 240.0.0.0?

The wildcard mask for 240.0.0.0 is 15.255.255.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