/4 Subnet

268,435,456 total IPs — 268,435,454 usable hosts.

Total IPs
268,435,456
Usable Hosts
268,435,454
Subnet Mask
240.0.0.0
Wildcard Mask
15.255.255.255

Example /4 Networks

CIDR Network First Usable Last Usable Broadcast Hosts
0.0.0.0/4 0.0.0.0 0.0.0.1 15.255.255.254 15.255.255.255 268,435,454
160.0.0.0/4 160.0.0.0 160.0.0.1 175.255.255.254 175.255.255.255 268,435,454
160.0.0.0/4 160.0.0.0 160.0.0.1 175.255.255.254 175.255.255.255 268,435,454
192.0.0.0/4 192.0.0.0 192.0.0.1 207.255.255.254 207.255.255.255 268,435,454
192.0.0.0/4 192.0.0.0 192.0.0.1 207.255.255.254 207.255.255.255 268,435,454
0.0.0.0/4 0.0.0.0 0.0.0.1 15.255.255.254 15.255.255.255 268,435,454

How /4 Compares

Prefix Total IPs Usable Hosts Subnet Mask Typical Use
/1 2,147,483,648 2,147,483,646 128.0.0.0
/2 1,073,741,824 1,073,741,822 192.0.0.0
/3 536,870,912 536,870,910 224.0.0.0
/4 ◀ 268,435,456 268,435,454 240.0.0.0
/5 134,217,728 134,217,726 248.0.0.0
/6 67,108,864 67,108,862 252.0.0.0
/7 33,554,432 33,554,430 254.0.0.0

Frequently Asked Questions

How many IPs are in a /4?

A /4 subnet contains 268,435,456 total IP addresses and 268,435,454 usable host addresses. The network address (first IP) and broadcast address (last IP) are reserved and cannot be assigned to hosts.

What is the subnet mask for /4?

The subnet mask for a /4 is 240.0.0.0. In CIDR notation, the prefix length /4 means the first 4 bits of the address are the network portion. The wildcard (inverse) mask is 15.255.255.255.

How many /4 subnets fit in a /3?

Exactly 2 — a /3 can be split into two /4 subnets of equal size.