This question already has an answer here:
I am new to networking, so I apologize is this question is naive. I understand that 2^32 = ~4 billion. However, if you add in subnet masks, won't this number increase? For example, let's say you have the IP address 220.127.116.11 /1. Why can't you also have 18.104.22.168/2. You know it is distinct from the former address because the subnet masks are different.