Subnet Mask Example
IP - 159.91.15.220 Mask - 255.255.248.0
Convert to binary and remove the periods
nnnnnnnnnnnnnnnn0000111111011100
nnnnnnnnnnnnnnnn1111100000000000
and together nnnnnnnnnnnnnnnn0000100000000000
separate subnet nnnnnnnnnnnnnnnnssssshhhhhhhhhhh
So IP 159.91.15.220 with subnet mask 255.255.248.0 is in subnet #1 and is host #2012