Binary to Decimal

Please input binary values for conversion into decimal.

Base 2


How to convert Binary to Decimal

To convert binary to decimal, assign each binary digit a positional value (1, 2, 4, 8, etc.), then add the values of the '1' bits. For example, binary 1101 is (1⋅8) + (1⋅4) + (0⋅2) + (1⋅1) = 13 in decimal.

hover text to see steps. On the example below we have a 8bit binary representation

1 1 1 0 1 0 1 0
128 64 32 16 8 4 2 1
128+ 64+ 32+ 0+ 8+ 0+ 2+ 0

=234

Without the tab, it is 1⋅128 + 1⋅64 + 1⋅32 + 0⋅16 + 1⋅8 + 0⋅4 + 1⋅2 + 0⋅1

Or equivalent the tab, it is 1⋅27 + 1⋅26 + 1⋅25 + 0⋅24 + 1⋅23 + 0⋅22 + 1⋅21 + 0⋅20

Once its done

Conversion Steps:

  1. Start with your binary representation. For example, let's use the binary number 1101101.
  2. Assign powers of 2 to each digit from right to left, starting with 2^0 for the rightmost digit.
    • The rightmost digit is 1, so it's 20 = 1.
    • The next digit is 0, so it doesn't contribute to the sum (0⋅21 = 0).
    • Continue this process for each digit.
  3. Add the contributions of each digit together to get the decimal equivalent.
    • 1⋅20 + 0⋅21 + 1⋅22 + 1⋅23 + 0⋅24 + 1⋅25 + 1⋅26 = 109 in decimal.

That's it! You've successfully converted binary to decimal.