Why Convert Between Bases

If you're learning computer hardware, you have to know binary numbers (numbers in base 2) and hexadecimal (base 16). It should be second nature for you to think in terms of bits.

Since humans are used to thinking in decimal (base 10), we have to work hard to think in binary. You need to know how to convert from base 10 to binary and back. You need to know how to convert from base 10 to hexadecimal and back.

The skill required to convert from base 10 to base 2 is the same as to convert from base 10 to any other base. So you really should know how to convert from one base to any other base.

Here's how you'll learn these skills. First, we're going to talk about how to convert base K to base 10 where K >= 2. This will be easy. Then, we're going to talk about how to convert from base 10 to base K. Finally, you learn shortcuts to convert between binary, octal, and hexadecimal, without having to convert to base 10 first.

We'll also talk about how to convert decimal fractions to and from base 10.

Web Accessibility