N-01 · Subnet · /8
/8 subnet
A /8 network keeps 8 of the 32 address bits for the network and leaves 24 for hosts. Its mask, host count, the blocks it fits in and example networks, all worked out below.
Short answer
- Subnet mask
- 255.0.0.0Wildcard 0.255.255.255
- Usable hosts
- 16,777,21416,777,216 addresses in total
2^24 = 16,777,216 addresses. The first is the network address and the last the broadcast, so 16,777,214 can go to devices.
The /8 mask in binary and hex
8 one bits, then 24 zero bits. The wildcard is the mask inverted.
| Mask | Dotted | Hex |
|---|---|---|
| Subnet mask | 255.0.0.0 | FF.00.00.00 |
| Wildcard | 0.255.255.255 | 00.FF.FF.FF |
A /8 mask ends exactly at the end of the first octet, so networks step by 1 in that octet and the last 3 octets are hosts. Cisco access lists take the wildcard form, 0.255.255.255, where a 1 bit means “any value” (Cisco document 23602).
RFC 1878's table lists /8 as FF.00.00.00 hex, 16 M addresses, equal to 1 A in the old class terms. RFC 1878's host tables start at /17. The 16,777,214 usable figure is the same 2^24 − 2 rule; Cisco's addressing guide gives it for a class A network.
How many /8 subnets fit
The three private ranges (RFC 1918) and one /24.
| Block | /8 subnets in it |
|---|---|
| 10.0.0.0/8 | 1 (same size) |
| 172.16.0.0/12 | none: one /8 holds 16 |
| 192.168.0.0/16 | none: one /8 holds 256 |
| 10.100.181.0/24 | none: one /8 holds 65,536 |
A /8 is exactly the size of the private range 10.0.0.0/8. A /8 is larger than 172.16.0.0/12 and 192.168.0.0/16, so a private network of this size has to come from 10.0.0.0/8. One /8 spans 65,536 /24s.
Splitting a /8
Each extra prefix bit halves the block.
| Into | Subnets | Usable each |
|---|---|---|
| /9 | 2 | 8,388,606 |
| /10 | 4 | 4,194,302 |
| /11 | 8 | 2,097,150 |
Two /9 subnets hold 16,777,212 usable addresses between them, 2 fewer than one /8: each half gives up its own network and broadcast address.
Special-purpose /8 blocks
Blocks of exactly this size in the IANA IPv4 Special-Purpose Address Space registry.
| Block | Use |
|---|---|
| 0.0.0.0/8 | "This network" |
| 10.0.0.0/8 | Private-Use |
| 127.0.0.0/8 | Loopback |
Check an address
Pre-filled with 10.100.181.150/8. Change the address or the prefix.
Result
10.0.0.0/8
16,777,214 usable hosts
- Network
- 10.0.0.0
- First usable
- 10.0.0.1
- Last usable
- 10.255.255.254
- Broadcast
- 10.255.255.255
- Subnet mask
- 255.0.0.0
- Wildcard mask
- 0.255.255.255
- Total addresses
- 16,777,216
10.0.0.0/8 is a private range (RFC 1918). Not routable on the public internet.
Binary view
- Address · 10.100.181.150
- 00001010.01100100.10110101.10010110
- Mask · 255.0.0.0
- 11111111.00000000.00000000.00000000
- Network · 10.0.0.0
- 00001010.00000000.00000000.00000000
Bold bits are fixed for the network; orange bits number the hosts.
0.0.0.0/0 split into /8 · 256 blocks
- … 7 before
- 10.0.0.0/810.0.0.1–10.255.255.254 ◂
- … 241 more
/8 next to /7 and /9
One bit shorter, a /7 (254.0.0.0) has 33,554,432 addresses and 33,554,430 usable, 16,777,216 more than a /8. One bit longer, /9 (255.128.0.0) has 8,388,608 addresses and 8,388,606 usable. /9 subnet
Ask the calculator for a host count and it answers /8 for 8,388,607 to 16,777,214 hosts: typing "10.0.0.0 16,777,214 hosts" gives this size, one more host gives a /7.
/8 is the old class A size: RFC 4632 §3.1 lists it as the legacy “Class A” block, whose mask 255.0.0.0 was implied by the address class before CIDR. With CIDR the prefix length is written out, so a /8 can start at any multiple of 16,777,216 addresses.
Worked example
Take 10.100.181.150/8. The mask 255.0.0.0 is all ones through the first octet and all zeros after it. Keep the first octet of the address and zero the rest: the network is 10.0.0.0. Set the host octets to 255 instead and you get the broadcast, 10.255.255.255.
Devices use 10.0.0.1 through 10.255.255.254: 16,777,214 addresses. 10.100.181.150 is number 6,600,086 of them.
References
- RFC 4632, Classless Inter-domain Routing (CIDR), §3.1: prefix lengths and block sizes (legacy "Class A").
- RFC 950, Internet Standard Subnetting Procedure: subnet masks.
- RFC 1878, Variable Length Subnet Table For IPv4, the prefix table.
- Cisco Tech Note 13790, Understand Host and Subnet Quantities: usable hosts per prefix.
- RFC 1918, Address Allocation for Private Internets: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.
- IANA IPv4 Special-Purpose Address Space registry (updated 2025-10-09).
Other prefixes
Related tools
- Subnet calculatorNetwork, broadcast, host range, masks and a binary view from any IPv4 or IPv6 address and prefix.
- CIDR calculatorTurn IPv4 or IPv6 ranges into the fewest CIDR blocks, merge a list, and check it for overlaps.
- VLAN plannerCarve a parent block into right-sized subnets with VLAN IDs, then export CSV or Markdown.