/7 Subnet
Subnet Mask
Wildcard Mask
1.255.255.255
Total IPs
33,554,432
Usable Hosts
33,554,430
Network Bits
7
Host Bits
25
About /7 Networks
Extremely large allocation, rarely used outside global routing. A /7 subnet uses the mask 254.0.0.0 and provides 33,554,430 usable host addresses out of 33,554,432 total IPs.
Example /7 Networks
| Network | Broadcast | First Host | Last Host |
|---|---|---|---|
| 10.0.0.0/7 | 11.255.255.255 | 10.0.0.1 | 11.255.255.254 |
| 172.0.0.0/7 | 173.255.255.255 | 172.0.0.1 | 173.255.255.254 |
| 192.0.0.0/7 | 193.255.255.255 | 192.0.0.1 | 193.255.255.254 |
| 192.0.0.0/7 | 193.255.255.255 | 192.0.0.1 | 193.255.255.254 |
| 8.0.0.0/7 | 9.255.255.255 | 8.0.0.1 | 9.255.255.254 |
Splitting a /7 Into Smaller Subnets
A /7 divides evenly into any longer prefix. Each row shows how many subnets of that size fit inside one /7, and how many usable hosts each of them carries.
| Subnet Size | How Many Fit | Mask | Usable Hosts Each |
|---|---|---|---|
| /8 | 2 × /8 | 255.0.0.0 | 16,777,214 |
| /9 | 4 × /9 | 255.128.0.0 | 8,388,606 |
| /10 | 8 × /10 | 255.192.0.0 | 4,194,302 |
| /11 | 16 × /11 | 255.224.0.0 | 2,097,150 |
| /12 | 32 × /12 | 255.240.0.0 | 1,048,574 |
| /13 | 64 × /13 | 255.248.0.0 | 524,286 |
| /14 | 128 × /14 | 255.252.0.0 | 262,142 |
| /15 | 256 × /15 | 255.254.0.0 | 131,070 |
| /16 | 512 × /16 | 255.255.0.0 | 65,534 |
| /17 | 1,024 × /17 | 255.255.128.0 | 32,766 |
| /18 | 2,048 × /18 | 255.255.192.0 | 16,382 |
| /19 | 4,096 × /19 | 255.255.224.0 | 8,190 |
| /20 | 8,192 × /20 | 255.255.240.0 | 4,094 |
| /21 | 16,384 × /21 | 255.255.248.0 | 2,046 |
| /22 | 32,768 × /22 | 255.255.252.0 | 1,022 |
| /23 | 65,536 × /23 | 255.255.254.0 | 510 |
| /24 | 131,072 × /24 | 255.255.255.0 | 254 |
| /25 | 262,144 × /25 | 255.255.255.128 | 126 |
| /26 | 524,288 × /26 | 255.255.255.192 | 62 |
| /27 | 1,048,576 × /27 | 255.255.255.224 | 30 |
| /28 | 2,097,152 × /28 | 255.255.255.240 | 14 |
| /29 | 4,194,304 × /29 | 255.255.255.248 | 6 |
| /30 | 8,388,608 × /30 | 255.255.255.252 | 2 |
| /31 | 16,777,216 × /31 | 255.255.255.254 | 2 |
| /32 | 33,554,432 × /32 | 255.255.255.255 | 1 |
How Many /7 Subnets Fit in a Larger Network
The same arithmetic read the other way: how many /7 subnets you get when you carve up each of the next larger prefixes.
Adjacent CIDRs
Larger network
/6
Mask: 252.0.0.0
Total IPs: 67,108,864
Usable Hosts: 67,108,862
Smaller network
/8
Mask: 255.0.0.0
Total IPs: 16,777,216
Usable Hosts: 16,777,214
Comparing sizes? The full /0 to /32 cheat sheet table puts every prefix side by side.
Frequently Asked Questions
What is a /7 subnet?
A /7 subnet uses the subnet mask 254.0.0.0 with 33,554,430 usable host addresses and 33,554,432 total IP addresses. It has 7 network bits and 25 host bits.
How many hosts in a /7 network?
A /7 network supports 33,554,430 usable hosts out of 33,554,432 total IP addresses. The usable range excludes the network address and broadcast address.
What subnet mask does /7 use?
A /7 subnet uses the mask 254.0.0.0 (wildcard mask 1.255.255.255). This means the first 7 bits identify the network and the remaining 25 bits identify hosts.
How many /9 subnets are in a /7?
One /7 splits into 4 /9 subnets, each with mask 255.128.0.0 and 8,388,606 usable hosts. Every prefix longer than /7 divides it evenly — the full table is above.
How many /7 subnets are in a /6?
A /6 holds 2 /7 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.
- RFC 4632 — Classless Inter-Domain Routing (CIDR)
Defines the /7 prefix notation used throughout this page, and the address-aggregation model that replaced classful addressing.
- RFC 950 — Internet Standard Subnetting Procedure
The original definition of the subnet mask, and of the network and broadcast addresses excluded from the usable host count.