Binary to decimal convertion

Enter a binary number, get a decimalconversion

How it works?

Converting a binary number to decimal is a straightforward process. The binary system uses only two digits, 0 and 1, while the decimal system uses ten digits, from 0 to 9. To convert a binary number to decimal, follow these steps:

  1. Take the binary number and write it from right to left, assigning an index to each digit. The index of the rightmost digit is 0, the next one is 1, then 2, and so on.
  2. For each binary digit, multiply the digit by 2 raised to the corresponding index and sum up the results of all the multiplications.
  3. Repeat step 2 for all binary digits.
  4. The total sum obtained is the decimal number equivalent to the original binary number.