Subnet table for IPv4 cheat sheet

Subnet range – Class A

[table]
Type,Hosts,Netmask,HEX
/1,2048 M,128.0.0.0,80.00.0­0.00
/2,1024 M,192.0.0.0,C0.00.0­0.00
/3,512 M,224.0.0.0,E0.00.0­0.00
/4,256 M,240.0.0.0,F0.00.0­0.00
/5,128 M,248.0.0.0,F8.00.0­0.00
/6,64 M,252.0.0.0,FC.00.0­0.00
/7,32 M,254.0.0.0,FE.00.0­0.00
/8,16 M,255.0.0.0,FF.00.0­0.00
[/table]

Subnet range – Class B

[table]
Type,Hosts,Netmask,HEX
/9,8 M,255.12­8.0.0,FF.80.0­0.00
/10,4 M,255.19­2.0.0,FF.C0.0­0.00
/11,2 M,255.22­4.0.0,FF.E0.0­0.00
/12,1024 K,255.24­0.0.0,FF.F0.0­0.00
/13,512 K,255.24­8.0.0,FF.F8.0­0.00
/14,256 K,255.25­2.0.0,FF.FC.0­0.00
/15,128 K,255.25­4.0.0,FF.FE.0­0.00
/16,64 K,255.25­5.0.0,FF.FF.0­0.00
[/table]

Subnet range – Class C

[table]
Type,Hosts,Netmask,HEX
/17,32 K,255.25­5.128.0,FF.FF.8­0.00
/18,16 K,255.25­5.192.0,FF.FF.C­0.00
/19,8 K,255.25­5.224.0,FF.FF.E­0.00
/20,4 K,255.25­5.240.0,FF.FF.F­0.00
/21,2 K,255.25­5.248.0,FF.FF.F­8.00
/22,1 K,255.25­5.252.0,FF.FF.F­C.00
/23,512,255.25­5.254.0,FF.FF.F­E.00
/24,256,255.25­5.255.0,FF.FF.F­F.00
[/table]
[table]
Type,Hosts,Usable hosts,Netmask
/25,128,126,255.255.255.128
/26,64,62,255.255.255.192
/27,32,30,255.255.255.224
/28,16,14,255.255.255.240
/29,8,6,255.255.255.248
/30,4,2,255.255.255.252
[/table]