- 21

- 0

I know how to convert from any base to any other base but to do so I usually have to go through base 10 with the exception of base 2 to base 16 and vise-versa. I was wondering if you guys know an easy way to convert bases?

The way I usually do it is using the base notation to get base 10 then the remainder method to finish the conversion...

For example to go from base 2 to 5 I would do this...

1011b2 to b10

1*2^0 + 1*2^1 + 0*2^2 + 1*2^3 = 1 + 2 + 0 + 8 = 11

11b10 to b5

11 / 5 = 2 R 1

2 / 5 = 0 R 2

= 21b5

The way I usually do it is using the base notation to get base 10 then the remainder method to finish the conversion...

For example to go from base 2 to 5 I would do this...

1011b2 to b10

1*2^0 + 1*2^1 + 0*2^2 + 1*2^3 = 1 + 2 + 0 + 8 = 11

11b10 to b5

11 / 5 = 2 R 1

2 / 5 = 0 R 2

= 21b5

Last edited: