Information Representation
Binary - Decimal to Binary Conversion (1 of 6)


It is often necessary to convert decimal to binary. The following pages provide a step by step example.

In order to convert the decimal number 138 into its binary equivalent we first...

1.Create a binary weighting table making sure that the leftmost value is greater than or equal to half the decimal value to be converted.

So to convert decimal number 138 we halve it to give 69. The values in the binary weighting table increase in powers of 2 from 1,2,4,....128. The position 7 value of 64 is less than 69 so we need all eight columns to cover 138 decimal.