#### Example of binary to decimal conversion:

Let's convert the binary unsigned number 1100110_{2}from binary to decimal.

Any unsigned binary number b

_{n}b

_{n-1}...b

_{1}b

_{0}can be converted to decimal with the following formula:

b

_{n}b

_{n-1}...b

_{1}b

_{0}= b

_{n}×2

^{n}+ b

_{n-1}×2

^{n-1}+ ... + b

_{0}×2

^{0},

1100110

_{2}= 1×2

^{6}+ 1×2

^{5}+ 0×2

^{4}+ 0*2

^{3}+ 1*2

^{2}+ 1×2

^{1}+ 0*2

^{0}= 64 + 32 + 4 + 2 = 102.

Binary to Decimal Converter