Binary to Decimal Converter Convert your data

Input Data String

Output Data
        
 

 

 

How to convert binary to decimal

Conversion steps:

  1. Starting from the right we multiply each digit with 2X where X will start from 0 and will increase with each digit
  2. We calculate each result
  3. The result will be by adding all the results into one number.

Binary to decimal conversion table

Binary (Base 2) Decimal (Base 10)
0 0
1 1
10 2
11 3
100 4
101 5
110 6
111 7
1000 8
1001 9
1010 10
1011 11
1100 12
1101 13
1110 14
1111 15
10000 16
10001 17

 

Example

Convert 11011100112 to decimal:

Step Digit 1 Digit 2 Digit 3 Digit 4 Digit 5 Digit 6 Digit 7 Digit 8 Digit 9 Digit 10
Step 1 1 1 0 1 1 1 0 0 1 1
Step 2 29 28 27 26 25 24 23 22 21 20
Step 3 512 256 0 64 32 16 0 0 2 1
Step 4 883

 

11011100112 = 88310

 

Source