Home Net Guide

Home / Subnet calculator / /8

/8 subnet: mask 255.0.0.0

A /8 network holds 16,777,216 addresses, of which 16,777,214 can be given to devices. Its subnet mask is 255.0.0.0.

Prefix length (CIDR)
/8
Subnet mask
255.0.0.0
Wildcard mask
0.255.255.255
Mask in binary
11111111.00000000.00000000.00000000
Network bits / host bits
8 / 24
Total addresses
16,777,216 (2 to the power of 24)
Usable host addresses
16,777,214 (the first address names the network and the last is the broadcast address)
Contains
65,536 networks of size /24

What a /8 is used for

A /8 is the old class A network: the first number names the network and the other three are yours, 16.7 million addresses. 10.0.0.0/8 is the largest private range, 127.0.0.0/8 is reserved for loopback (a computer talking to itself), and the /8 is the unit in which the global address pool was handed to the regional registries. A few early organisations still hold a whole one.

Worked example: which /8 is 10.77.20.130 in?

The mask ends exactly on an octet boundary, so no arithmetic is needed. The first octet names the network and the rest are set to zero: 10.77.20.130 is in 10.0.0.0/8.

Network
10.0.0.0/8
Usable range
10.0.0.1 to 10.255.255.254
Broadcast address
10.255.255.255
Next /8 begins at
11.0.0.0/8

Open this example in the subnet calculator to see it bit by bit, or to try your own address.

The first 16 of the 256 /8 networks in 0.0.0.0/0

NetworkUsable rangeBroadcast
0.0.0.0/80.0.0.1 to 0.255.255.2540.255.255.255
1.0.0.0/81.0.0.1 to 1.255.255.2541.255.255.255
2.0.0.0/82.0.0.1 to 2.255.255.2542.255.255.255
3.0.0.0/83.0.0.1 to 3.255.255.2543.255.255.255
4.0.0.0/84.0.0.1 to 4.255.255.2544.255.255.255
5.0.0.0/85.0.0.1 to 5.255.255.2545.255.255.255
6.0.0.0/86.0.0.1 to 6.255.255.2546.255.255.255
7.0.0.0/87.0.0.1 to 7.255.255.2547.255.255.255
8.0.0.0/88.0.0.1 to 8.255.255.2548.255.255.255
9.0.0.0/89.0.0.1 to 9.255.255.2549.255.255.255
10.0.0.0/810.0.0.1 to 10.255.255.25410.255.255.255
11.0.0.0/811.0.0.1 to 11.255.255.25411.255.255.255
12.0.0.0/812.0.0.1 to 12.255.255.25412.255.255.255
13.0.0.0/813.0.0.1 to 13.255.255.25413.255.255.255
14.0.0.0/814.0.0.1 to 14.255.255.25414.255.255.255
15.0.0.0/815.0.0.1 to 15.255.255.25415.255.255.255

One size up and one size down

Each bit removed from the prefix doubles a network, and each bit added halves it. A /7 is twice the size, with 33,554,430 usable addresses, and a /9 is half the size, with 8,388,606 usable addresses. The table of every prefix size compares them all.