The logarithm of 256 base 2 is 8.
With eight bits (zeros or ones) you can represent 256 different numbers.
The logarithm of 65536 base 2 is 16.
The logarithm of 4,294,967,296 base 2 is 32.