/5 subnet (CIDR)

A /5 network has subnet mask 248.0.0.0, 134,217,728 total addresses and 134,217,726 usable hosts.

248.0.0.0Subnet mask
7.255.255.255Wildcard mask
134,217,728Addresses
134,217,726Usable hosts

Open 0.0.0.0/5 in the subnet calculator →

Details

PropertyValue
Network bits5
Host bits27
Mask in binary11111000.00000000.00000000.00000000
Mask in hex0xF8000000
Total addresses227 = 134,217,728
Usable hosts227 − 2 = 134,217,726
Number of /24s inside524,288
Historic class equivalent—

Example: 0.0.0.0/5

Network 0.0.0.0, broadcast 7.255.255.255, hosts 0.0.0.1 to 7.255.255.254.

Neighbouring prefixes

Each step of one bit halves (or doubles) the size: a /5 holds two /6s.

Frequently asked questions

How many hosts in a /5?
134,217,726 usable out of 134,217,728 addresses.
What is the subnet mask for /5?
248.0.0.0 (binary 11111000.00000000.00000000.00000000).