How do you convert binary into decimal and vice versa?

1 answer

Answer

1211318

2026-05-16 00:15

+ Follow

Binary to Decimal

Working from the least-significant bit, the positional values are 1, 2, 4, 8, 16, 32, 64 and 128 (each more significant bit doubles the value of the preceding bit). If the corresponding bit is set, add that value to an accumulator initialised to zero.

Decimal to Binary

Repeatedly divide the decimal value by 2 and take the remainder (which can only be 0 or 1). Each division determines the value of the next most significant bit, starting with the least significant bit.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.