subnet.im

/5 Subnet

A /5 has the subnet mask 248.0.0.0 and contains 134,217,728 IP addresses, of which 134,217,726 are usable hosts. Every other prefix is in the subnet cheat sheet.

Subnet Mask

248.0.0.0

Wildcard Mask

7.255.255.255

Total IPs

134,217,728

Usable Hosts

134,217,726

Network Bits

5

Host Bits

27

All 32 /5 Ranges in a /0

0.0.0.0/0 divides into 32 /5 subnets of 134,217,728 addresses each. The same pattern repeats in any /0: only the leading octets change.

NetworkUsable RangeBroadcast
0.0.0.0/50.0.0.1 – 7.255.255.2547.255.255.255
8.0.0.0/58.0.0.1 – 15.255.255.25415.255.255.255
16.0.0.0/516.0.0.1 – 23.255.255.25423.255.255.255
24.0.0.0/524.0.0.1 – 31.255.255.25431.255.255.255
32.0.0.0/532.0.0.1 – 39.255.255.25439.255.255.255
40.0.0.0/540.0.0.1 – 47.255.255.25447.255.255.255
48.0.0.0/548.0.0.1 – 55.255.255.25455.255.255.255
56.0.0.0/556.0.0.1 – 63.255.255.25463.255.255.255
64.0.0.0/564.0.0.1 – 71.255.255.25471.255.255.255
72.0.0.0/572.0.0.1 – 79.255.255.25479.255.255.255
80.0.0.0/580.0.0.1 – 87.255.255.25487.255.255.255
88.0.0.0/588.0.0.1 – 95.255.255.25495.255.255.255
96.0.0.0/596.0.0.1 – 103.255.255.254103.255.255.255
104.0.0.0/5104.0.0.1 – 111.255.255.254111.255.255.255
112.0.0.0/5112.0.0.1 – 119.255.255.254119.255.255.255
120.0.0.0/5120.0.0.1 – 127.255.255.254127.255.255.255
128.0.0.0/5128.0.0.1 – 135.255.255.254135.255.255.255
136.0.0.0/5136.0.0.1 – 143.255.255.254143.255.255.255
144.0.0.0/5144.0.0.1 – 151.255.255.254151.255.255.255
152.0.0.0/5152.0.0.1 – 159.255.255.254159.255.255.255
160.0.0.0/5160.0.0.1 – 167.255.255.254167.255.255.255
168.0.0.0/5168.0.0.1 – 175.255.255.254175.255.255.255
176.0.0.0/5176.0.0.1 – 183.255.255.254183.255.255.255
184.0.0.0/5184.0.0.1 – 191.255.255.254191.255.255.255
192.0.0.0/5192.0.0.1 – 199.255.255.254199.255.255.255
200.0.0.0/5200.0.0.1 – 207.255.255.254207.255.255.255
208.0.0.0/5208.0.0.1 – 215.255.255.254215.255.255.255
216.0.0.0/5216.0.0.1 – 223.255.255.254223.255.255.255
224.0.0.0/5224.0.0.1 – 231.255.255.254231.255.255.255
232.0.0.0/5232.0.0.1 – 239.255.255.254239.255.255.255
240.0.0.0/5240.0.0.1 – 247.255.255.254247.255.255.255
248.0.0.0/5248.0.0.1 – 255.255.255.254255.255.255.255

About /5 Networks

Extremely large allocation, rarely used outside global routing. A /5 subnet uses the mask 248.0.0.0 and provides 134,217,726 usable host addresses out of 134,217,728 total IPs.

Example /5 Networks

NetworkBroadcastFirst HostLast Host
8.0.0.0/515.255.255.2558.0.0.115.255.255.254
168.0.0.0/5175.255.255.255168.0.0.1175.255.255.254
192.0.0.0/5199.255.255.255192.0.0.1199.255.255.254
192.0.0.0/5199.255.255.255192.0.0.1199.255.255.254
8.0.0.0/515.255.255.2558.0.0.115.255.255.254

Splitting a /5 Into Smaller Subnets

A /5 divides evenly into any longer prefix. Each row shows how many subnets of that size fit inside one /5, and how many usable hosts each of them carries.

Subnet SizeHow Many FitMaskUsable Hosts Each
/62 × /6252.0.0.067,108,862
/74 × /7254.0.0.033,554,430
/88 × /8255.0.0.016,777,214
/916 × /9255.128.0.08,388,606
/1032 × /10255.192.0.04,194,302
/1164 × /11255.224.0.02,097,150
/12128 × /12255.240.0.01,048,574
/13256 × /13255.248.0.0524,286
/14512 × /14255.252.0.0262,142
/151,024 × /15255.254.0.0131,070
/162,048 × /16255.255.0.065,534
/174,096 × /17255.255.128.032,766
/188,192 × /18255.255.192.016,382
/1916,384 × /19255.255.224.08,190
/2032,768 × /20255.255.240.04,094
/2165,536 × /21255.255.248.02,046
/22131,072 × /22255.255.252.01,022
/23262,144 × /23255.255.254.0510
/24524,288 × /24255.255.255.0254
/251,048,576 × /25255.255.255.128126
/262,097,152 × /26255.255.255.19262
/274,194,304 × /27255.255.255.22430
/288,388,608 × /28255.255.255.24014
/2916,777,216 × /29255.255.255.2486
/3033,554,432 × /30255.255.255.2522
/3167,108,864 × /31255.255.255.2542
/32134,217,728 × /32255.255.255.2551

How Many /5 Subnets Fit in a Larger Network

The same arithmetic read the other way: how many /5 subnets you get when you carve up each of the next larger prefixes.

Parent Network/5 SubnetsMaskTotal IPs
/42 × /5240.0.0.0268,435,456
/34 × /5224.0.0.0536,870,912
/28 × /5192.0.0.01,073,741,824
/116 × /5128.0.0.02,147,483,648
/032 × /50.0.0.04,294,967,296

Adjacent CIDRs

Comparing sizes? The full /0 to /32 cheat sheet table puts every prefix side by side.

Frequently Asked Questions

What is a /5 subnet?

A /5 subnet uses the subnet mask 248.0.0.0 with 134,217,726 usable host addresses and 134,217,728 total IP addresses. It has 5 network bits and 27 host bits.

How many IP addresses are in a /5?

A /5 contains 134,217,728 IP addresses, of which 134,217,726 are usable hosts. The network address and the broadcast address are the two that cannot be assigned to a host.

What subnet mask does /5 use?

A /5 subnet uses the mask 248.0.0.0 (wildcard mask 7.255.255.255). This means the first 5 bits identify the network and the remaining 27 bits identify hosts.

How many /7 subnets are in a /5?

One /5 splits into 4 /7 subnets, each with mask 254.0.0.0 and 33,554,430 usable hosts. Every prefix longer than /5 divides it evenly — the full table is above.

How many /5 subnets are in a /4?

A /4 holds 2 /5 subnets. Each step to a shorter prefix doubles that count, because one bit moves from the host portion of the address to the network portion.

Standards

The figures on this page follow from the following specifications rather than from convention.