CIDR Reference /16 to /32 | Masks and Host Counts

A quick reference table showing subnet masks, total addresses, and usable host counts for common IPv4 CIDR prefixes.

CIDR reference table1

CIDRSubnet maskTotal addressesUsable hosts
/16255.255.0.065,53665,534
/17255.255.128.032,76832,766
/18255.255.192.016,38416,382
/19255.255.224.08,1928,190
/20255.255.240.04,0964,094
/21255.255.248.02,0482,046
/22255.255.252.01,0241,022
/23255.255.254.0512510
/24255.255.255.0256254
/25255.255.255.128128126
/26255.255.255.1926462
/27255.255.255.2243230
/28255.255.255.2401614
/29255.255.255.24886
/30255.255.255.25242
/31255.255.255.25422
/32255.255.255.25511

What to focus on2

  • /24 is the common small-LAN size with 254 usable hosts.
  • /26 and /27 are useful when one larger segment needs to be split into smaller pieces.
  • /30 is the traditional point-to-point size, while /31 is used when you want to avoid wasting addresses.
  • /32 represents a single host or loopback.

Next pages to read3

If you found this tool helpful, we’d love for you to share it on social media!


We display ads to support the operation of this site. We understand that it may be inconvenient, but we appreciate your understanding.