/5 Subnet Mask (248.0.0.0)

/5 subnet summary
Prefix/5
Subnet mask248.0.0.0
Wildcard mask7.255.255.255
Binary mask11111000.00000000.00000000.00000000
Total addresses134,217,728
Usable hosts134,217,726
Host bits27
Subnets of /5 in a /032

e.g. 10.0.0.5/22 or 10.0.0.5 255.255.252.0

Subnet calculation results
Network address0.0.0.0
Broadcast address7.255.255.255
First usable host0.0.0.1
Last usable host7.255.255.254
Total addresses134,217,728
Usable hosts134,217,726
Subnet mask248.0.0.0
Wildcard mask7.255.255.255
CIDR notation0.0.0.0/5
IP classClass A (legacy)
Address type"This network" (RFC 1122)
IP address (binary)00000000.00000000.00000000.00000000
Subnet mask (binary)11111000.00000000.00000000.00000000

■ network bits ■ host bits

Runs entirely in your browser. Nothing you enter is sent to a server.

What is a /5 subnet?

A /5 subnet uses the first 5 bits of an IPv4 address for the network and leaves 27 bits for hosts. Its subnet mask is 248.0.0.0, and it contains 2²⁷ = 134,217,728 addresses, of which 134,217,726 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 /5 network.

A /5 covers 1/32 of the IPv4 address space (2²⁷ of 2³² addresses).

/5 subnet example

For 0.0.0.0/5: network address 0.0.0.0, usable hosts 0.0.0.1 – 7.255.255.254, broadcast address 7.255.255.255, wildcard mask 7.255.255.255.

Frequently asked questions

How many usable IPs are in a /5?

134,217,726. The block has 134,217,728 addresses; the first is the network address and the last is the broadcast address.

What is the subnet mask for /5?

248.0.0.0, or 11111000.00000000.00000000.00000000 in binary.

How many /5 subnets are in a /0?

32 (2⁵), because a /5 uses 5 more network bits than a /0.

What is the difference between /5 and /4?

A /4 (240.0.0.0) is twice as large: 268,435,456 addresses and 268,435,454 usable hosts, spanning two consecutive /5 blocks such as 0.0.0.0–15.255.255.255.

Nearby prefixes