Skip to content
Tape and Square

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.

MaskDottedHex
Subnet mask255.0.0.0FF.00.00.00
Wildcard0.255.255.25500.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/81 (same size)
172.16.0.0/12none: one /8 holds 16
192.168.0.0/16none: one /8 holds 256
10.100.181.0/24none: 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.

IntoSubnetsUsable each
/928,388,606
/1044,194,302
/1182,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.

BlockUse
0.0.0.0/8"This network"
10.0.0.0/8Private-Use
127.0.0.0/8Loopback

Check an address

Pre-filled with 10.100.181.150/8. Change the address or the prefix.

/8

Also accepts 192.168.1.130 255.255.255.192, 192.168.1.0 60 hosts or IPv6 like 2001:db8::/48.

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
PRIVATE

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

  1. … 7 before
  2. 10.0.0.0/810.0.0.1–10.255.255.254 ◂
  3. … 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