s3.2.4
Changing Between Bases: Special Case
1,000 questions
A shortcut exists for converting between bases when one base is an integer power of the other (e.g., base-2 to base-8, since ).
To convert from a smaller base to a larger base ( to ):
Group the digits of the number in base into sets of . Convert each group from base to base 10, which gives you the corresponding digit in base . For example, to convert to base-8, group into threes: . Convert each group: , , . The answer is .
To convert from a larger base to a smaller base ( to ):
Convert each digit of the base- number into an -digit number in base . For example, converting to base-3 (, so ): , , . The answer is .