CIDR
/8
Subnet Mask
255.0.0.0
Total Addresses
16,777,216
Usable Hosts
16,777,214
01 / EXAMPLE

Example: 10.0.0.0/8

Network address
10.0.0.0
Broadcast
10.255.255.255
First host
10.0.0.1
Last host
10.255.255.254
Subnet mask
255.0.0.0
Wildcard mask
0.255.255.255
Open in Calculator → Open as AWS VPC
02 / CLOUD HOSTS

Usable hosts by cloud provider

Provider Reserved Usable Hosts
Standard (RFC)216,777,214
AWS VPC516,777,211
Azure VNet516,777,211
GCP416,777,212
OCI316,777,213
16,777,216 total − 5 reserved = 16,777,211 usable
03 / WHERE YOU SEE /8

When to use a /8

Used for ISP allocations, RFC 1918 10.0.0.0/8 private space, and old Class A networks.

03 / SUBNET MATH

How to read the /8 mask

The /8 subnet uses 255.0.0.0 as its subnet mask — meaning the first 8 bits of every address identify the network, and the remaining 24 bits identify the host within that network. That gives you 16.78M total addresses (16.78M usable on standard RFC math, after subtracting the network and broadcast addresses).

The wildcard mask — the bitwise inverse of the subnet mask — is 0.255.255.255. Wildcards are what Cisco access-control lists and OSPF area definitions use instead of subnet masks; the "1" bits mark "don't care" positions. For a /8, that leaves 24 don't-care host bits.

To find the network address for any IP in a /8 block, perform a bitwise AND between the IP and the subnet mask. To find the broadcast, OR the network address with the wildcard. Modern tools — like our subnet calculator — do this in microseconds, but the underlying mechanics are straightforward binary arithmetic.

04 / IN PRACTICE

Where you encounter /8 in real networks

A /8 block contains 16.7 million addresses. In the historical Class A scheme, /8 was an entire enterprise allocation. Today /8 ranges like 10.0.0.0/8 are reserved for private use (RFC 1918) and you'll see them as the parent block of an entire corporate or cloud-provider network — never as a single subnet.

Cloud-provider quirks matter at every prefix size: AWS and Azure reserve 5 IPs per subnet, GCP reserves 4, and OCI reserves 3. So a /8 on standard RFC math gives you 16.78M usable hosts, but on AWS or Azure that drops to 16.78M. The capacity-planning gap bites hardest at small prefixes (a /28 has 14 usable on paper, only 11 on AWS) but exists at every size. Our cloud-aware calculator applies the right math automatically.

05 / FAQ

Common questions

How many usable hosts does a /8 subnet have?

A /8 subnet has 16.78M usable hosts on standard RFC math. On AWS or Azure (which reserve 5 IPs per subnet), you get 16.78M usable. On GCP (4 reserved), 16.78M. On OCI (3 reserved), 16.78M.

What is the subnet mask for /8?

The /8 prefix corresponds to subnet mask 255.0.0.0. The matching wildcard mask (used in Cisco ACLs) is 0.255.255.255.

How do you calculate the network and broadcast addresses for a /8?

Apply a bitwise AND between the IP and the subnet mask to get the network address. OR the network address with the wildcard mask to get the broadcast. For example, 10.0.0.0/8 has 16.78M total addresses, with the first being the network address and the last being the broadcast.

Is 10.0.0.0/8 always private?

Yes. RFC 1918 reserves 10.0.0.0/8 for private use, along with 172.16.0.0/12 and 192.168.0.0/16. These ranges are not routable on the public internet and are safe to use for internal networks, labs, and cloud VPCs.

06 / RELATED

Related prefixes & tools

All prefixes →
/9 →