Number System

Base Conversion

Classmates regroup counting cubes between different trays.

Base Conversion definition

Base conversion rewrites a numeral using a different base while preserving its value.

In Spanish
conversión entre bases
Topic
Numeral systems and bases

Base Conversion in a picture

Base Conversion diagramRepeated division by 2 turns decimal 13 into binary 1101.13 ÷ 2 = 6 remainder 1This is the units digit6 ÷ 2 = 3 r 0, 3 ÷ 2 = 1 r 1Keep the next two remainders1 ÷ 2 = 0 remainder 1Read the remainders backward: 1101₂
Repeated division by 2 turns decimal 13 into binary 1101.

How it works

To convert from base b to decimal, add the digits multiplied by the appropriate powers of b. To convert a positive decimal integer to base b, repeatedly divide by b and keep each remainder. Read the remainders in reverse order, from the last to the first.

Worked examples

Convert 210₃ to decimal.

2 × 9 + 1 × 3 + 0 = 21.

Convert decimal 9 to binary.

9 = 8 + 1, so the result is 1001₂.

Convert decimal 31 to hexadecimal.

31 ÷ 16 gives quotient 1 and remainder 15, or F, so the answer is 1F₁₆.

Common mistake

The first remainder is the rightmost digit. Reverse the remainders only after all divisions are complete.

Quick check

Does the value change during conversion?

Show answer

No. Only its written representation changes.

In base 8, can a remainder be 8?

Show answer

No. An integer remainder on division by 8 is between 0 and 7.

Which operation is repeated for a decimal whole number?

Sources

Flashcard

Base Conversion

Reveal the definition

Base conversion rewrites a numeral using a different base while preserving its value.

Effortless Math. “Base Conversion.” Math Dictionary.