Base Systems • Topic 2 of 3

Base Conversion

Two reliable methods cover every conversion. To go from base b to decimal, use Horner nesting instead of summing powers: start with the leftmost digit, then repeatedly multiply the running total by b and add the next digit. For (2 1 3) in base 5: ((2·5 + 1)·5 + 3) = 58. This avoids computing high powers and is far faster under time pressure. To go from decimal to base b, divide the number by b repeatedly, jot each remainder, and read the remainders from bottom to top — the last remainder is the leftmost digit. For bases above 10, remember the letter digits: 10 = A, 11 = B, up to 15 = F in hexadecimal. To convert between two non-decimal bases, the safe route is base-b → decimal → target base, though binary/octal/hex can shortcut through 3-bit or 4-bit grouping. Always check your answer by converting back.

✅ Solved examples

1. Convert the base-5 number 213 to decimal using Horner nesting.
((2·5 + 1)·5 + 3) = (11·5 + 3) = 55 + 3 = 58.
2. Convert decimal 45 to binary.
Divide by 2: 45→22 r1, 22→11 r0, 11→5 r1, 5→2 r1, 2→1 r0, 1→0 r1. Read bottom-up: 101101.
3. Convert decimal 250 to hexadecimal.
250 ÷ 16 = 15 r10. 15 = F, 10 = A. So 250 = FA in hex.
4. Convert the octal number 47 to base 5.
Octal 47 = 4·8 + 7 = 39 in decimal. Now 39 ÷ 5 = 7 r4, 7 ÷ 5 = 1 r2, 1 ÷ 5 = 0 r1. Read bottom-up: 124 in base 5.

✏️ Practice — try these, take hints as needed

1. Convert the base-6 number 245 to decimal.
Use Horner: start with 2.
(2·6 + 4)·6 + 5.
(16·6) + 5 = 96 + 5.
101
2. Convert decimal 100 to base 7.
Divide by 7 repeatedly.
100→14 r2, 14→2 r0, 2→0 r2.
Read remainders bottom-up.
202
3. Convert decimal 200 to hexadecimal.
200 ÷ 16 = 12 remainder 8.
12 = C.
Leftmost is the last remainder.
C8
4. Convert binary 11011 to decimal.
Place values 16,8,4,2,1.
Add where the digit is 1.
16 + 8 + 2 + 1.
27
5. Convert the base-4 number 123 into base 8.
First to decimal: 1·16 + 2·4 + 3.
That is 27.
27 ÷ 8 = 3 r3.
33 (octal)

📝 Topic test — 8 questions

Auto-graded with full solutions; saved to your dashboard. Use the calculator and formula sheet (top-right) any time.

Loading questions…