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?(adsbygoogle = window.adsbygoogle || []).push({});

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

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Base N to Base N Conversion

Loading...

Similar Threads for Base Base Conversion | Date |
---|---|

I Linear mapping of a binary vector based on its decimal value | Mar 23, 2018 |

I Bases, operators and eigenvectors | Nov 15, 2017 |

I Free Modules, Bases and Direct Sums/Products | May 21, 2016 |

Bases for Rn | Nov 30, 2014 |

Bases of vector spaces and change of basis | Aug 17, 2014 |

**Physics Forums - The Fusion of Science and Community**