/4 Subnet Mask (240.0.0.0)
| Prefix | /4 |
|---|---|
| Subnet mask | 240.0.0.0 |
| Wildcard mask | 15.255.255.255 |
| Binary mask | 11110000.00000000.00000000.00000000 |
| Total addresses | 268,435,456 |
| Usable hosts | 268,435,454 |
| Host bits | 28 |
| Subnets of /4 in a /0 | 16 |
e.g. 10.0.0.5/22 or 10.0.0.5 255.255.252.0
| Network address | 0.0.0.0 | |
|---|---|---|
| Broadcast address | 15.255.255.255 | |
| First usable host | 0.0.0.1 | |
| Last usable host | 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 | |
| CIDR notation | 0.0.0.0/4 | |
| IP class | Class A (legacy) | |
| Address type | "This network" (RFC 1122) | |
| IP address (binary) | 00000000.00000000.00000000.00000000 | |
| Subnet mask (binary) | 11110000.00000000.00000000.00000000 |
■ network bits ■ host bits
| Requested hosts | CIDR | First host | Last host | Broadcast | Usable hosts |
|---|
Runs entirely in your browser. Nothing you enter is sent to a server.
What is a /4 subnet?
A /4 subnet uses the first 4 bits of an IPv4 address for the network and leaves 28 bits for hosts. Its subnet mask is 240.0.0.0, and it contains 2²⁸ = 268,435,456 addresses, of which 268,435,454 can be assigned to devices. Typical use: Very large blocks only seen in routing tables and IANA allocations; /4 is the multicast range 224.0.0.0/4. Use the subnet calculator above to check any /4 network.
A /4 covers 1/16 of the IPv4 address space (2²⁸ of 2³² addresses).
/4 subnet example
For 0.0.0.0/4: network address 0.0.0.0, usable hosts 0.0.0.1 – 15.255.255.254, broadcast address 15.255.255.255, wildcard mask 15.255.255.255.
Frequently asked questions
How many usable IPs are in a /4?
268,435,454. The block has 268,435,456 addresses; the first is the network address and the last is the broadcast address.
What is the subnet mask for /4?
240.0.0.0, or 11110000.00000000.00000000.00000000 in binary.
How many /4 subnets are in a /0?
16 (2⁴), because a /4 uses 4 more network bits than a /0.
What is the difference between /4 and /3?
A /3 (224.0.0.0) is twice as large: 536,870,912 addresses and 536,870,910 usable hosts, spanning two consecutive /4 blocks such as 0.0.0.0–31.255.255.255.