Methods for Binary Conversion

Its really cool to see a method for binary conversion that uses division!

I had been taught a method that used subtraction, but I now see that it is actually the inverse to how you convert binary back to decimal.

To set up the subtraction method, you would create a grid with one being the farthest right value labeled. Each value left of one would follow 2^x, or double of the column to the right. If the number could be subtracted by a value, a one would go in the chart under this value. If not, a zero. The difference would be used for the next value.
For 10: 10 - 8 = 2, 2-2 = 0
| 16 | 8 | 4 | 2 | 1
| | 0 | 1 | 0 | 1 | 0
8 is 1010

The division method is definitely simpler to use, and doesn’t require a table/chart for conversion. It’s always cool to see new ways of doing things!

Thanks for sharing @Kbot!

The subtraction method is another great way of convert numbers between bases.
There are always multiple ways to approach a problem in math, so it’s definitely good to know some of the alternatives :slight_smile:

1 Like

Privacy & Terms