# Binary to Decimal Converter

Enter the value that you want to convert binary to decimal or *decimal to binary*.

### Binary:

A binary number system having to numbers "O", "1" and it is known as Base-2 number system. Base-2 number system used in digital electronics to write instruction for electronic equipment and invented by Gottfried Leibniz. In this zero represents OFF, 1 represents ON cause electronic equipment used gates. Example of a binary number is 10110.

### Decimal:

A decimal number system is also called a Base-10 (Hindu Arabic) number system. In this system 10 digits used they are 0,1, 2, 3, 4, 5, 6, 7, 8, 9. In this system, we can write fractional numbers. Example of a decimal number is 129.56.

### How to convert binary to decimal?

Binary to Decimal Converter:

For converting binary values to decimal, We need to write each of binary digit to as the power of 2 from right to left and multiply with its binary digit and add them.

**Example:**

Convert 1011 to decimal?

Write base-2 values to powers of 2 from right to left.

1011(right to left) 1 = 2^{3}; 0 = 2^{2}; 1 = 2^{1}; 1 = 2^{0}.

Multiply each binary value to its power of 2 and Add them.

1011 = (1x2^{3})+(0x2^{2})+(1x2^{1})+(1x2^{0})

1011 = (1x8)+(0x4)+(1x2)+(1x1)

1011 = 8+0+2+1

**Answer:**

(1011)_{2} = (11)_{10}.