/8 vs /24 — Subnet Comparison

A /8 subnet is 65,536× larger than a /24. Every additional bit in the prefix halves the address space — the 16-bit difference between these two means /8 has 216 = 65,536 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
/24

254 usable hosts — the industry standard

Full reference →
Total IPs 256
Usable Hosts 254
Subnet Mask 255.255.255.0
Wildcard Mask 0.0.0.255

Typical Uses

  • Home and SOHO LAN (192.168.1.0/24)
  • Standard office VLAN
  • AWS/Azure subnet per AZ

Key Differences

65,536×
more IPs in /8 than /24
65,536
/24 subnets fit inside one /8
16
bits of difference in prefix length

FAQ

What is the difference between /8 and /24?

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

How many /24 subnets fit in a /8?

Exactly 65,536 /24 subnets fit perfectly inside one /8 with no wasted space. To split a /8 into /24s, just increment the last 16 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. /24 is better for: Standard subnet — home, office, cloud. Choose the smallest prefix that comfortably fits your host count — over-allocating wastes address space, but under-allocating means painful renumbering later.