Choosing the right subnet size for a network segment is a genuinely practical engineering decision that balances two competing concerns: waste (allocating far more addresses than a segment will ever use) against inflexibility (allocating so few addresses that the segment quickly runs out of room and needs disruptive re-subnetting). Understanding the doubling relationship between CIDR prefix length and address count is the key to making this tradeoff deliberately rather than by guesswork.
Each single-step decrease in prefix length doubles the number of addresses available, because each additional host bit doubles the number of representable combinations — a /24 (8 host bits) provides 256 total addresses, a /23 (9 host bits) provides 512, a /22 (10 host bits) provides 1,024, and so on. This clean doubling pattern makes it straightforward to reason about subnet sizing choices: if a planned network segment needs room for, say, 100 devices with reasonable growth headroom, a /24 (254 usable hosts after the standard two-address reservation) comfortably covers that need with room to spare, while a /25 (126 usable hosts) would be cutting it closer and risk requiring a disruptive resize if the segment grows faster than expected.
The 'why leave room for growth' consideration is worth taking seriously, because re-subnetting an already-deployed, in-use network is genuinely disruptive in a way that over-provisioning slightly at the outset avoids. Every device on the segment potentially needs its IP configuration updated, static routes and firewall rules referencing the old subnet boundaries need updating, and DHCP scopes need reconfiguring — all while trying to avoid downtime for whatever the network segment supports. This asymmetry (mild waste from over-provisioning versus genuine operational pain from under-provisioning) is exactly why experienced network engineers tend to size subnets with meaningful headroom above current need rather than the tightest possible fit, even though the tightest fit would technically waste fewer addresses.
A specific, more advanced subnetting decision worth knowing about involves point-to-point links — connections between exactly two routers, where by definition only two devices will ever need addresses on that segment. The standard convention would suggest a /30 (4 total addresses, 2 usable after network/broadcast reservation) as the smallest practical standard subnet, but RFC 3021 defines a special convention for /31 subnets specifically for point-to-point links, where both addresses in the tiny 2-address range are usable as host addresses (no separate network or broadcast address reserved), since a two-device link has no need for a broadcast address in the traditional sense. This is a genuinely more address-efficient choice for point-to-point links specifically, illustrating that subnet sizing conventions aren't purely mechanical — they can be tailored to the specific topology being addressed, once the underlying prefix-length-to-host-count relationship is well understood.



