Arithmetic Home Contents
Part I. WHOLE NUMBERS•Chapter II. Various Systems of Numeration. Roman Numerals

§ 17. Converting a Number from Any Base to the Decimal System

To express a number written in any number system in the decimal system. Suppose, for example, that it is required to convert the number 5623, written in the octal system, to the decimal system. This can be done by calculating the sum:

N = 3 + 2 · 8 + 6 · 82 + 5 · 83 = 3 + 16 + 384 + 2560 = 2963.

However, it is simpler to proceed as follows: break down the 5 units of the 4th place into units of the 3rd place, for which we multiply 5 by 8 (because a unit of the 4th place contains 8 units of the 3rd place in the octal system); to the resulting number, we add the 6 units of the 3rd place present in the given number. Break down the units of the 3rd place into units of the 2nd place; to the resulting number, we add the 2 units of the 2nd place present in the given number. Break down the units of the 2nd place into units of the 1st place; to the resulting number, we add the 3 units of the 1st place present in the given number. We obtain 2963:

((5 · 8 + 6) · 8 + 2) · 8 + 3 = (46 · 8 + 2) · 8 + 3 = 370 · 8 + 3 = 2960 + 3 = 2963.

Remarks. 1) The decimal number system is used almost universally. Many see the reason for this widespread use in the fact that every person from childhood is accustomed to counting using the ten fingers of both hands. However, decimal counting is not the most convenient. For example, in some respects, a duodecimal system would be more convenient, which, without requiring a large number of digits to represent numbers, possesses the important property that its base is divisible without remainder by 2, 3, 4, and 6, whereas the base of our system is divisible only by 2 and 5; similar considerations probably served as the basis for the sexagesimal number system used in ancient Babylon. For theoretical research, the binary system proves to be the most efficient, although, for practical purposes, it is quite inconvenient, as in this system even a small number is expressed by a long string of digits (for example, the number 70 is expressed as: 1000110). 2) The digits we use and the very system of number notation were borrowed by Europeans from the Arabs (around the 12th century). That is why these digits are called Arabic. But there is reason to believe that the Arabs in turn borrowed this system from the Indians.

Oliver and Ruby — story illustration for § 17 “Converting a Number from Any Base to the Decimal System”
👨‍👩‍👧 In Plain Words (Kids & Parents)
Ask your child: Ask your child to demonstrate with numbers 9 and 4 on the right stage why the main rule of “Converting a Number from Any Base to the Decimal System” holds true.
Quick reference without leaving:

Study Guide for Parents, Teachers & Family Co-Learning — Lesson 17. Converting a Number from Any Base to the Decimal System

Core Idea in Plain Language

To change a number from another system to our usual base-10, you can multiply each digit by its place value and add them up, or use a step-by-step method of multiplying and adding as you move from left to right.

To express a number written in any number system in the decimal system.
The sum of the place values yields the decimal equivalent.

Key Mathematical Terms:

Decimal systemOctal systemPlaceBaseBinary system

Common Student Mistake & Socratic Fix

Typical pitfall: Billy attempted to convert the quinary number $325$ to decimal by simply adding the digits together ($3 + 2 = 5$), ignoring the place value of the digit 3.

How to guide correction: To correctly convert $325$ to decimal, Billy must recognize that the digit 3 is in the fives place. He should calculate $3 \times 5 + 2 \times 1 = 15 + 2 = 17$. The correct decimal value is 17, not 5.

Complete 4-Step Reasoning Walkthrough

  1. 1. Step 1: Place Value Sum3 + 16 + 384 + 2560 = 2963

    Oliver: "Let's add all parts. Each digit times its power of 8 gives sum 2963."

  2. 2. Step 2: Simple Algorithm5 · 8 + 6 = 46

    Ruby: "Simpler: take 5, multiply by 8 to shift place, then add next digit 6."

  3. 3. Step 3: Continue Algorithm46 · 8 + 2 = 370

    Oliver: "Multiply 46 by 8 and add digit 2. Now we have 370 units of 2nd place."

  4. 4. Step 4: Final Conversion370 · 8 + 3 = 2963

    Ruby: "Multiply 370 by 8 and add last digit 3. We get 2963. This is the decimal value."

Graded Practice Problems & Worked Solutions

  1. Problem 1 (§ 17). How many distinct digits (including 0) are necessary to write any number in the quinary number system (base 5)?

    Hint: In any positional number system with base $b$, the digits range from 0 up to $b-1$. Count the digits starting from 0: 0, 1, 2, 3, 4.

    Worked solution: The base of the quinary system is 5. The required digits are 0, 1, 2, 3, and 4, which makes a total of 5 distinct digits.
  2. Problem 2 (§ 17). Convert the decimal number 19 to the quinary number system (group by 5s: 19 = 3 fives and 4 ones):

    Hint: Determine how many groups of 5 fit into 19 to find the digit in the fives place. The remainder after removing the groups of 5 becomes the digit in the ones place.

    Worked solution: Divide 19 by 5: $19 = 3 \times 5 + 4$. The quotient 3 is the digit in the fives place, and the remainder 4 is the digit in the ones place, resulting in $345$.
  3. Problem 3 (§ 17). Convert the quinary number 24₅ to the decimal number system (2 fives and 4 ones):

    Hint: Multiply the digit in the fives place by 5 and the digit in the ones place by 1. Add the resulting values to obtain the decimal equivalent.

    Worked solution: Calculate the value of the fives place: $2 \times 5 = 10$. Calculate the value of the ones place: $4 \times 1 = 4$. Sum the values: $10 + 4 = 14$.