/8 Subnet Mask (255.0.0.0)

/8 subnet summary
Prefix/8
Subnet mask255.0.0.0
Wildcard mask0.255.255.255
Binary mask11111111.00000000.00000000.00000000
Total addresses16,777,216
Usable hosts16,777,214
Host bits24
Subnets of /8 in a /0256

e.g. 10.0.0.5/22 or 10.0.0.5 255.255.252.0

Subnet calculation results
Network address10.0.0.0
Broadcast address10.255.255.255
First usable host10.0.0.1
Last usable host10.255.255.254
Total addresses16,777,216
Usable hosts16,777,214
Subnet mask255.0.0.0
Wildcard mask0.255.255.255
CIDR notation10.0.0.0/8
IP classClass A (legacy)
Address typePrivate (RFC 1918)
IP address (binary)00001010.00000000.00000000.00000000
Subnet mask (binary)11111111.00000000.00000000.00000000

■ network bits ■ host bits

Runs entirely in your browser. Nothing you enter is sent to a server.

What is a /8 subnet?

A /8 subnet uses the first 8 bits of an IPv4 address for the network and leaves 24 bits for hosts. Its subnet mask is 255.0.0.0, and it contains 2²⁴ = 16,777,216 addresses, of which 16,777,214 can be assigned to devices. Typical use: Former Class A size; 10.0.0.0/8 is the largest private range and 127.0.0.0/8 is loopback. Use the subnet calculator above to check any /8 network.

/8 subnet example

For 10.0.0.0/8: network address 10.0.0.0, usable hosts 10.0.0.1 – 10.255.255.254, broadcast address 10.255.255.255, wildcard mask 0.255.255.255.

Frequently asked questions

How many usable IPs are in a /8?

16,777,214. The block has 16,777,216 addresses; the first is the network address and the last is the broadcast address.

What is the subnet mask for /8?

255.0.0.0, or 11111111.00000000.00000000.00000000 in binary.

How many /8 subnets are in a /0?

256 (2⁸), because a /8 uses 8 more network bits than a /0.

What is the difference between /8 and /7?

A /7 (254.0.0.0) is twice as large: 33,554,432 addresses and 33,554,430 usable hosts, spanning two consecutive /8 blocks such as 10.0.0.0–11.255.255.255.

Nearby prefixes