What is a /8 subnet? 16,777,216 IPs, split into smaller blocks
By TechCompare · Updated · How we check
A /8 subnet has the mask 255.0.0.0 and 16,777,216 addresses, too many for one flat network. Carve it into smaller subnets, starting with /16 blocks.
A /8 subnet, written as 255.0.0.0, covers 16,777,216 addresses, with 16,777,214 usable for hosts. It's the size of the 10/8 private range from RFC 1918, which runs from 10.0.0.0 to 10.255.255.255. A flat network that size isn't practical, so a /8 is an allocation block, cut into smaller subnets before anything uses it.
CIDR reference table
Every IPv4 prefix from /8 to /32 with its subnet mask, wildcard mask and address counts. Pick a prefix to open its page or the calculator.
| Prefix | Subnet mask | Wildcard mask | Total addresses | Usable hosts |
|---|---|---|---|---|
| /8This page | 255.0.0.0 | 0.255.255.255 | 16,777,216 | 16,777,214 |
| /9 | 255.128.0.0 | 0.127.255.255 | 8,388,608 | 8,388,606 |
| /10 | 255.192.0.0 | 0.63.255.255 | 4,194,304 | 4,194,302 |
| /11 | 255.224.0.0 | 0.31.255.255 | 2,097,152 | 2,097,150 |
| /12 | 255.240.0.0 | 0.15.255.255 | 1,048,576 | 1,048,574 |
| /13 | 255.248.0.0 | 0.7.255.255 | 524,288 | 524,286 |
| /14 | 255.252.0.0 | 0.3.255.255 | 262,144 | 262,142 |
| /15 | 255.254.0.0 | 0.1.255.255 | 131,072 | 131,070 |
| /16 | 255.255.0.0 | 0.0.255.255 | 65,536 | 65,534 |
| /17 | 255.255.128.0 | 0.0.127.255 | 32,768 | 32,766 |
| /18 | 255.255.192.0 | 0.0.63.255 | 16,384 | 16,382 |
| /19 | 255.255.224.0 | 0.0.31.255 | 8,192 | 8,190 |
| /20 | 255.255.240.0 | 0.0.15.255 | 4,096 | 4,094 |
| /21 | 255.255.248.0 | 0.0.7.255 | 2,048 | 2,046 |
| /22 | 255.255.252.0 | 0.0.3.255 | 1,024 | 1,022 |
| /23 | 255.255.254.0 | 0.0.1.255 | 512 | 510 |
| /24 | 255.255.255.0 | 0.0.0.255 | 256 | 254 |
| /25 | 255.255.255.128 | 0.0.0.127 | 128 | 126 |
| /26 | 255.255.255.192 | 0.0.0.63 | 64 | 62 |
| /27 | 255.255.255.224 | 0.0.0.31 | 32 | 30 |
| /28 | 255.255.255.240 | 0.0.0.15 | 16 | 14 |
| /29 | 255.255.255.248 | 0.0.0.7 | 8 | 6 |
| /30 | 255.255.255.252 | 0.0.0.3 | 4 | 2 |
| /31 | 255.255.255.254 | 0.0.0.1 | 2 | 2 |
| /32 | 255.255.255.255 | 0.0.0.0 | 1 | 1 |
Usable hosts are the total minus the network address and the broadcast address. A /31 is the exception: it has neither, so both addresses work as hosts on a point to point link (RFC 3021). A /32 is a single address. The wildcard mask is the subnet mask with every bit flipped, and Cisco IOS access lists and OSPF network commands use it.
How this is calculated
In CIDR notation, /8 means the first 8 bits are the network part, leaving 24 bits for hosts (2^24 = 16,777,216). Broadcast traffic is the first limit. ARP and DHCP requests reach every host on a segment, so a flat network with millions of hosts would be swamped long before it ran out of addresses. Cloud subnets have a limit too. AWS only allows subnets from a /28 up to a /16, so a /8 has to be split before AWS can use any part of it. A /8 holds 256 /16 blocks, or 65,536 /24 blocks, and those are the sizes a planner works from.
Verdict
Treat a /8 as a planning block, not a network. Its mask, 255.0.0.0, leaves 24 host bits, so the block holds 16,777,216 addresses and 16,777,214 usable ones. One workable plan gives each region a /16 and each VLAN inside it a smaller block. Summary routes matter here. The core routers can advertise one route per region instead of one route for every VLAN. A /8 fits a very large organization that wants one private address plan across many sites. The block counts above show how much room that plan has before it runs out.
More Subnet scenarios
Related guides
Frequently asked questions
How many IP addresses are in a /8?
Can I run a /8 as one network?
Can AWS create a /8 subnet?
What is the 10/8 block in RFC 1918?
Related tools
DNS Lookup
Look up a domain's DNS records on Cloudflare or compare several resolvers at once, and read its SPF, DMARC and DKIM records in plain words.
Use toolDisplay Bandwidth Calculator
Check display bandwidth for HDMI, DisplayPort, USB-C, Thunderbolt, and USB4.
Use toolData Transfer Calculator
Estimate transfer times for files over USB, WiFi, Ethernet, and more.
Use tool