CCNA Subnetting Reference

Subnetting under time pressure is the CCNA skill. Memorize this table and the block-size trick, and subnet questions become seconds, not minutes.

CIDR / mask / host reference

CIDRSubnet maskUsable hostsBlock size
/24255.255.255.0254256
/25255.255.255.128126128
/26255.255.255.1926264
/27255.255.255.2243032
/28255.255.255.2401416
/29255.255.255.24868
/30255.255.255.25224
/23255.255.254.0510512 (2nd octet)
/22255.255.252.01,0221,024
/16255.255.0.065,534,

Fast method

StepDo this
1Usable hosts = 2^(host bits) − 2
2Block size = 256 − (mask octet value)
3Networks increment by block size in the 'interesting' octet
4Network address = the block start ≤ the host's octet
5Broadcast = next block start − 1

Private address ranges (RFC 1918)

RangeCIDRClass
10.0.0.0 - 10.255.255.25510.0.0.0/8A
172.16.0.0 - 172.31.255.255172.16.0.0/12B
192.168.0.0 - 192.168.255.255192.168.0.0/16C
169.254.0.0 - 169.254.255.255169.254.0.0/16APIPA

Ready to test yourself?

Memorizing a table is a start, practice questions make it stick.