Subnet calculator › CIDR /5

/5 subnet mask (248.0.0.0)

A /5 uses the first 5 bits for the network and the remaining 27 bits for hosts: 134,217,728 addresses, 134,217,726 usable hosts.

CIDR notation/5
Subnet mask248.0.0.0
Wildcard mask7.255.255.255
Binary mask11111|000.00000000.00000000.00000000
Hex mask0xF8000000
Total addresses134,217,728 (227)
Usable hosts134,217,726 · 134,217,728 addresses minus the network and broadcast addresses.
Block size The first octet changes in steps of 8

What is a /5 used for?

/5 address range examples

Splitting 0.0.0.0/0 into /5 gives 32 subnets. The first 8 are shown.

NetworkUsable rangeBroadcast
0.0.0.0/5 0.0.0.1 ~ 7.255.255.254 7.255.255.255
8.0.0.0/5 8.0.0.1 ~ 15.255.255.254 15.255.255.255
16.0.0.0/5 16.0.0.1 ~ 23.255.255.254 23.255.255.255
24.0.0.0/5 24.0.0.1 ~ 31.255.255.254 31.255.255.255
32.0.0.0/5 32.0.0.1 ~ 39.255.255.254 39.255.255.255
40.0.0.0/5 40.0.0.1 ~ 47.255.255.254 47.255.255.255
48.0.0.0/5 48.0.0.1 ~ 55.255.255.254 55.255.255.255
56.0.0.0/5 56.0.0.1 ~ 63.255.255.254 63.255.255.255

Try it in the calculator →

Splitting a /5 further

Split intoSubnetsHosts each
/6 2 67,108,862
/7 4 33,554,430
/8 8 16,777,214
/9 16 8,388,606
/10 32 4,194,302
/11 64 2,097,150
/12 128 1,048,574
/13 256 524,286

Other prefixes