The /7 subnet
A /7 subnet uses the mask 254.0.0.0 and holds 33,554,432 addresses, 33,554,430 of them usable.
A /7 is a very large IPv4 block. Its mask is 254.0.0.0 and it holds 33,554,432 addresses, which puts it at the scale of a regional allocation or an entire private supernet rather than a single LAN.
Networks this size are almost always carved into smaller subnets before use. You will see a /7 as an aggregate route or a private-address supernet such as 10.0.0.0/8, not as a single broadcast domain.
Below you can see the exact network, broadcast, and host range for any /7 you enter, calculated instantly in your browser.
Calculate a /7 network
Accepts CIDR (192.0.2.0/24), IP + mask (192.0.2.0 255.255.255.0), or a bare IP (defaults to /24).
00001010.00000000.00000000.0000000011111110.00000000.00000000.00000000Example: 10.0.0.0/7
Taking 10.0.0.0/7 as a worked example, the block breaks down like this:
| Network address | 10.0.0.0 |
|---|---|
| Usable range | 10.0.0.1 - 11.255.255.254 |
| Broadcast address | 11.255.255.255 |
| Total addresses | 33,554,432 |
| Usable hosts | 33,554,430 |
| Size | 2 class A blocks |
Frequently asked questions
What is the subnet mask for a /7?
A /7 uses the subnet mask 254.0.0.0. Its wildcard mask, used in access lists, is 1.255.255.255.
How many hosts are in a /7 subnet?
A /7 has 33,554,432 total addresses and 33,554,430 usable hosts (the total minus the network and broadcast addresses, except for /31 and /32).
What is a /7 used for?
Very large network. It is equivalent to 2 class A blocks.
How do I calculate a /7 network?
Set the host bits to zero for the network address and to one for the broadcast address. The calculator on this page does it for any /7 block you enter.