tip
~/geeksubnet/masks/8

/8 subnet mask: 255.0.0.0

Every value on this page is reproducible in the calculator.

The /8 prefix means the first 8 bits of the address identify the network and the remaining 24 identify the host. Written out, the mask is 255.0.0.0, in binary 11111111.00000000.00000000.00000000, and its Cisco wildcard or inverse form is 0.255.255.255. It covers 16,777,216 addresses, of which 16,777,214 can be given to hosts.

/8 at a glance

CIDR prefix/8
Subnet mask255.0.0.0
Mask in binary11111111.00000000.00000000.00000000
Wildcard (inverse) mask0.255.255.255
Host bits24
Total addresses16,777,216
Usable hosts16,777,214
Block size (magic number)whole octet 1

Every /8 inside 10.0.0.0/8

A 10.0.0.0/8 splits into exactly 1 subnet of this size.

NetworkFirst hostLast hostBroadcast
10.0.0.0/810.0.0.110.255.255.25410.255.255.255

The magic number for /8

A /8 falls exactly on an octet boundary, so there is no magic number to work out: octet 1 of the mask is 255 and every subnet starts where the previous one ended, counting octet 1 up by one.

Where a /8 shows up in practice

A /8 is a whole legacy class A: 16.7 million addresses. Only one of them matters day to day, 10.0.0.0/8, the largest RFC 1918 private block. Nobody runs a flat /8. It is the top of the tree, the space an enterprise carves into regional /16s and then into per-VLAN /24s.

Frequently asked questions

How many hosts are in a /8?

A /8 holds 16,777,216 addresses in total. After reserving the network and broadcast addresses, 16,777,214 are usable by hosts.

What is the subnet mask for /8?

The /8 subnet mask is 255.0.0.0 in dotted-decimal notation.

What is the wildcard mask for /8?

The wildcard mask, also called the inverse mask, is 0.255.255.255. It is the bitwise inverse of 255.0.0.0 and is what Cisco access lists and OSPF network statements expect.

What is /8 in binary?

The /8 mask written out bit by bit is 11111111.00000000.00000000.00000000: 8 ones followed by 24 zeros.

Neighbouring masks: a /8 is the shortest prefix on this reference/9 is one bit longer and holds half as many.
full cheat sheet subnetting basics open the calculator