The number system that you are probably most familiar with is the
decimal, or base 10, number system. When representing a number using
decimal notation, each position in the number corresponds to a power of 10, and each digit of the number can be one of the numerals 0, 1, 2,
3, 4, 5, 6, 7, 8, or 9. For example, the decimal number 6437 represents the sum:
6 * 10^{3} + 4 * 10^{2} + 3 * 10^{1} + 7 * 10^{0}
or
6 * 1000 + 4 * 100 + 3 * 10 + 7 * 1
Because computers store data as a sequence of switches that can be either on or off, they use a base 2 number system referred to as the
binary number system. In this number system, each position in a number corresponds to a power of 2, and each digit can be either the
binary digit 1 or 0. For example, the binary number 110101 represents the following sum, which is equal to 45 in the decimal number
system:
1 * 2
^{5} + 1 * 2
^{4} + 0 * 2
^{3} + 1 * 2
^{2} + 0 * 2
^{1} + 1 * 2
^{0} or
1 * 32 + 1 * 16 + 0 * 8 + 1 * 4 + 0 * 2 + 1 * 1

Decimal number system: Base 10 number system.

Binary number system: Base 2 number system.
Here's a table showing the 8bit binary numbers and their decimal equivalents.