Skip to content
IPCheckHQDashboard

/4 subnet

A /4 fixes the first 4 bits of the address and leaves 28 for hosts. That gives 268,435,456 addresses and subnet mask 240.0.0.0.

Example: 0.0.0.0/4

CIDR block
0.0.0.0/4
Network address
0.0.0.0
Broadcast address
15.255.255.255
Usable host range
0.0.0.1 – 15.255.255.254
Total addresses
268,435,456
Usable hosts
268,435,454
Subnet mask
240.0.0.0
Wildcard mask
15.255.255.255
Mask in binary
11110000.00000000.00000000.00000000

Check another address in the subnet calculator.

Where you see a /4

  • 224.0.0.0/4 is the IPv4 multicast range (RFC 5771), and 240.0.0.0/4 is reserved for future use (RFC 1112), apart from 255.255.255.255, the limited broadcast address.

What fits inside a /4

Smaller blockHow many
/52
/64
/78
/816
/932
/1064
/11128
/12256
/241,048,576
/32268,435,456

Splitting 0.0.0.0/4 into /6 blocks starts with 0.0.0.0/6, 4.0.0.0/6, 8.0.0.0/6, 12.0.0.0/6.

Questions

How many hosts are in a /4 subnet?

A /4 has 268,435,456 addresses. Two are reserved for the network and broadcast addresses, which leaves 268,435,454 usable hosts.

What is the subnet mask for a /4?

The subnet mask for a /4 is 240.0.0.0, written in binary as 11110000.00000000.00000000.00000000. The wildcard mask is 15.255.255.255.

What is an example of a /4 range?

0.0.0.0/4 runs from 0.0.0.0 to 15.255.255.255. Hosts use 0.0.0.1 to 15.255.255.254, and 15.255.255.255 is the broadcast address.