/8 vs /16 — Subnet Comparison

A /8 subnet is 256× larger than a /16. Every additional bit in the prefix halves the address space — the 8-bit difference between these two means /8 has 28 = 256 times as many addresses.

/8

16 million IPs — Class A network

Full reference →
Total IPs 16,777,216
Usable Hosts 16,777,214
Subnet Mask 255.0.0.0
Wildcard Mask 0.255.255.255

Typical Uses

  • Entire Class A private range (10.0.0.0/8)
  • Large ISP or carrier allocations
  • Enterprise-wide addressing plan
/16

65K IPs — standard VPC or site block

Full reference →
Total IPs 65,536
Usable Hosts 65,534
Subnet Mask 255.255.0.0
Wildcard Mask 0.0.255.255

Typical Uses

  • AWS / Azure VPC or VNet CIDR
  • Enterprise campus or data centre segment
  • Docker overlay network

Key Differences

256×
more IPs in /8 than /16
256
/16 subnets fit inside one /8
8
bits of difference in prefix length

How 256 /16 Subnets Divide a /8

Example using 10.0.0.0/8 as the parent block.

# CIDR Network First Usable Last Usable Broadcast Hosts
1 10.0.0.0/16 10.0.0.0 10.0.0.1 10.0.255.254 10.0.255.255 65,534
2 10.1.0.0/16 10.1.0.0 10.1.0.1 10.1.255.254 10.1.255.255 65,534
3 10.2.0.0/16 10.2.0.0 10.2.0.1 10.2.255.254 10.2.255.255 65,534
4 10.3.0.0/16 10.3.0.0 10.3.0.1 10.3.255.254 10.3.255.255 65,534
5 10.4.0.0/16 10.4.0.0 10.4.0.1 10.4.255.254 10.4.255.255 65,534
6 10.5.0.0/16 10.5.0.0 10.5.0.1 10.5.255.254 10.5.255.255 65,534
7 10.6.0.0/16 10.6.0.0 10.6.0.1 10.6.255.254 10.6.255.255 65,534
8 10.7.0.0/16 10.7.0.0 10.7.0.1 10.7.255.254 10.7.255.255 65,534
9 10.8.0.0/16 10.8.0.0 10.8.0.1 10.8.255.254 10.8.255.255 65,534
10 10.9.0.0/16 10.9.0.0 10.9.0.1 10.9.255.254 10.9.255.255 65,534
11 10.10.0.0/16 10.10.0.0 10.10.0.1 10.10.255.254 10.10.255.255 65,534
12 10.11.0.0/16 10.11.0.0 10.11.0.1 10.11.255.254 10.11.255.255 65,534
13 10.12.0.0/16 10.12.0.0 10.12.0.1 10.12.255.254 10.12.255.255 65,534
14 10.13.0.0/16 10.13.0.0 10.13.0.1 10.13.255.254 10.13.255.255 65,534
15 10.14.0.0/16 10.14.0.0 10.14.0.1 10.14.255.254 10.14.255.255 65,534
16 10.15.0.0/16 10.15.0.0 10.15.0.1 10.15.255.254 10.15.255.255 65,534
… 240 more /16 subnets …

FAQ

What is the difference between /8 and /16?

A /8 has 16,777,214 usable hosts and a /16 has 65,534. The subnet masks differ: /8 uses 255.0.0.0 while /16 uses 255.255.0.0. Every additional bit in the prefix halves the number of addresses — so the 8-bit gap means /8 is exactly 256× larger.

How many /16 subnets fit in a /8?

Exactly 256 /16 subnets fit perfectly inside one /8 with no wasted space. To split a /8 into /16s, just increment the last 8 bits of the network address for each new subnet.

Which should I choose?

/8 is typically used for: Entire private Class A or ISP allocation. /16 is better for: Cloud VPC CIDR, campus network. Choose the smallest prefix that comfortably fits your host count — over-allocating wastes address space, but under-allocating means painful renumbering later.