Range of Binary Numbers

To figure out the range of numbers that can be stored with a set number of bits, use the following formula:

The reason for taking one away is because the integer 0 needs to be stored.

This means that the range of integers that can be represented using 8 bits is 0  255. Typically we categorise binary in groups of 8 bits (or 1 byte).