/7 subnet (CIDR)

A /7 network has subnet mask 254.0.0.0, 33,554,432 total addresses and 33,554,430 usable hosts.

254.0.0.0Subnet mask
1.255.255.255Wildcard mask
33,554,432Addresses
33,554,430Usable hosts

Open 0.0.0.0/7 in the subnet calculator →

Details

PropertyValue
Network bits7
Host bits25
Mask in binary11111110.00000000.00000000.00000000
Mask in hex0xFE000000
Total addresses225 = 33,554,432
Usable hosts225 − 2 = 33,554,430
Number of /24s inside131,072
Historic class equivalent—

Example: 0.0.0.0/7

Network 0.0.0.0, broadcast 1.255.255.255, hosts 0.0.0.1 to 1.255.255.254.

Neighbouring prefixes

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

Frequently asked questions

How many hosts in a /7?
33,554,430 usable out of 33,554,432 addresses.
What is the subnet mask for /7?
254.0.0.0 (binary 11111110.00000000.00000000.00000000).