E EpicCBT
Home Lesson Notes Quiz Center Leaderboard Login
All notes Mathematics · Number Bases Conversion · SSS1

Number Bases Conversion I

0 views
Number Bases Conversion I
Number Base Conversions

NUMBER BASE CONVERSIONS

1. Introduction

In everyday life, people usually count in base ten because we use the ten digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.

However, other number systems are also used:

  • Base 2 (binary) – used in computers
  • Base 8 (octal) – sometimes used in computing
  • Base 16 (hexadecimal) – common in programming and digital electronics
  • Some traditional counting systems also used base 5 or base 20
  • Time has mixed-base ideas too:
    • 60 seconds = 1 minute
    • 60 minutes = 1 hour
    • 24 hours = 1 day

A base (or radix) tells us how many different digits are available in a number system.

2. Meaning of a Base

In any base:

  • the smallest digit is 0
  • the largest digit is base − 1
Base Name Allowed digits
2 Binary 0, 1
5 Quinary 0, 1, 2, 3, 4
8 Octal 0, 1, 2, 3, 4, 5, 6, 7
10 Decimal / Denary 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
16 Hexadecimal 0–9, A, B, C, D, E, F

In base 16:

  • A = 10
  • B = 11
  • C = 12
  • D = 13
  • E = 14
  • F = 15

Important notation: A number such as (27)8 means 27 in base 8.

3. Place Value in Any Base

The value of a digit depends on its position.

Example 1: Base Ten

Consider the decimal number (395)10.

Digit Place value Contribution
3 102 3 × 100 = 300
9 101 9 × 10 = 90
5 100 5 × 1 = 5
(395)10 = 3 × 102 + 9 × 101 + 5 × 100
= 300 + 90 + 5 = 395

Example 2: (4075)10

Digit Place value Contribution
4 103 4 × 1000 = 4000
0 102 0 × 100 = 0
7 101 7 × 10 = 70
5 100 5 × 1 = 5
(4075)10 = 4 × 103 + 0 × 102 + 7 × 101 + 5 × 100
= 4000 + 0 + 70 + 5

4. Expansion of Numbers in Other Bases

Numbers in other bases are expanded using powers of their base.

Example 1: Expand (647)8

(647)8 = 6 × 82 + 4 × 81 + 7 × 80
= 6 × 64 + 4 × 8 + 7 × 1
= 384 + 32 + 7 = 42310

Example 2: Expand (26523)7

(26523)7 = 2 × 74 + 6 × 73 + 5 × 72 + 2 × 71 + 3 × 70
= 2 × 2401 + 6 × 343 + 5 × 49 + 2 × 7 + 3
= 4802 + 2058 + 245 + 14 + 3 = 712210

Example 3: Expand (101101)2

(101101)2 = 1 × 25 + 0 × 24 + 1 × 23 + 1 × 22 + 0 × 21 + 1 × 20
= 32 + 0 + 8 + 4 + 0 + 1
= 4510

Evaluation

Expand the following:

  1. (735)8
  2. (1010011)2

5. Conversion to Decimal (Base Ten)

To convert a number from another base to base ten:

  1. Multiply each digit by the appropriate power of the base.
  2. Add the results.

Example 1: Convert (27)8 to base 10

(27)8 = 2 × 81 + 7 × 80
= 2 × 8 + 7 × 1
= 16 + 7 = 2310

Example 2: Convert (11011)2 to base 10

(11011)2 = 1 × 24 + 1 × 23 + 0 × 22 + 1 × 21 + 1 × 20
= 16 + 8 + 0 + 2 + 1
= 2710

Evaluation

Convert the following to base ten:

  1. (101011)2
  2. (2120)3

6. Conversion from Base Ten to Other Bases

To convert a decimal number to another base:

  1. Divide the decimal number by the new base.
  2. Write down the remainder.
  3. Divide the quotient again by the new base.
  4. Continue until the quotient becomes zero.
  5. Read the remainders from bottom to top.

Example 1: Convert (68)10 to base 5

Division Quotient Remainder
68 ÷ 5 13 3
13 ÷ 5 2 3
2 ÷ 5 0 2
(68)10 = (233)5

Check:

2 × 52 + 3 × 5 + 3 = 50 + 15 + 3 = 68

Example 2: Convert (129)10 to base 2

Division Quotient Remainder
129 ÷ 2641
64 ÷ 2320
32 ÷ 2160
16 ÷ 280
8 ÷ 240
4 ÷ 220
2 ÷ 210
1 ÷ 201
(129)10 = (10000001)2

Evaluation

Convert:

  1. (568)10 to base 8
  2. (100)10 to base 2

7. Fractions in Other Bases

Digits to the right of the point represent negative powers of the base.

Base Ten Fractions

6.583 = 6 × 100 + 5 × 10-1 + 8 × 10-2 + 3 × 10-3
= 6 + 5/10 + 8/100 + 3/1000

8. Binary Fractions (Bicimals)

A binary fraction uses powers of 2, including negative powers.

Illustration

(1.101)2 = 1 × 20 + 1 × 2-1 + 0 × 2-2 + 1 × 2-3
Left of point Right of point
20 2-1, 2-2, 2-3, ...
  • 2-1 = 1/2
  • 2-2 = 1/4
  • 2-3 = 1/8

9. Converting Binary Fractions to Decimal

Example 1: Convert (1.101)2 to decimal

(1.101)2 = 1 × 20 + 1 × 2-1 + 0 × 2-2 + 1 × 2-3
= 1 + 1/2 + 0 + 1/8
= 1 + 0.5 + 0.125 = 1.62510

Example 2: Convert (10.011)2 to decimal

(10.011)2 = 1 × 21 + 0 × 20 + 0 × 2-1 + 1 × 2-2 + 1 × 2-3
= 2 + 0 + 0 + 1/4 + 1/8
= 2 + 0.25 + 0.125 = 2.37510

Example 3: Convert (110.11)2 to decimal

(110.11)2 = 1 × 22 + 1 × 21 + 0 × 20 + 1 × 2-1 + 1 × 2-2
= 4 + 2 + 0 + 1/2 + 1/4
= 6 + 0.5 + 0.25 = 6.7510

Evaluation

Convert the following binary fractions to base ten:

  1. (10.0001)2
  2. (10.01)2
  3. (11.1)2
  4. (0.001)2

10. Converting from One Base to Another Base

A number in one base can be converted to another base in two main ways:

  1. Through base ten: Convert first to decimal, then from decimal to the new base.
  2. Direct conversion: Used especially between base 2, base 8, and base 16.

Example 1: Convert (1534)6 to base 8

Step 1: Convert (1534)6 to base 10

(1534)6 = 1 × 63 + 5 × 62 + 3 × 61 + 4 × 60
= 216 + 180 + 18 + 4 = 41810

Step 2: Convert (418)10 to base 8

Division Quotient Remainder
418 ÷ 8522
52 ÷ 864
6 ÷ 806
(418)10 = (642)8
Therefore, (1534)6 = (642)8

Example 2: Convert (8A9F)16 to base 8

Step 1: Convert to base 10

(8A9F)16 = 8 × 163 + 10 × 162 + 9 × 161 + 15 × 160
= 8 × 4096 + 10 × 256 + 9 × 16 + 15
= 32768 + 2560 + 144 + 15 = 3548710

Step 2: Convert (35487)10 to base 8

Division Quotient Remainder
35487 ÷ 844357
4435 ÷ 85543
554 ÷ 8692
69 ÷ 885
8 ÷ 810
1 ÷ 801
(35487)10 = (105237)8
Therefore, (8A9F)16 = (105237)8

11. Useful Shortcut: Direct Conversion Between Base 2, 8, and 16

Because:

  • 8 = 23
  • 16 = 24

we can convert through binary quickly.

Example: Convert (8A9F)16 to base 8

Convert each hexadecimal digit to 4 binary digits:

  • 8 = 1000
  • A = 1010
  • 9 = 1001
  • F = 1111
(8A9F)16 = 1000 1010 1001 11112

Group into sets of 3 from the right:

001 000 101 010 011 111

Convert each group to octal:

  • 001 = 1
  • 000 = 0
  • 101 = 5
  • 010 = 2
  • 011 = 3
  • 111 = 7
(8A9F)16 = (105237)8

12. Finding Unknown Bases

Sometimes the base is not given and must be found.

Example

Determine the bases x and y in:

(32)x − (12)y = 910
(23)x − (21)y = 410

Step 1: Convert each number to algebraic form

(32)x = 3x + 2
(12)y = y + 2
(3x + 2) − (y + 2) = 9
3x − y = 9    ...(1)
(23)x = 2x + 3
(21)y = 2y + 1
(2x + 3) − (2y + 1) = 4
2x − 2y + 2 = 4
x − y = 1    ...(2)

Step 2: Solve the simultaneous equations

3x − y = 9
x − y = 1
Subtracting: 2x = 8
x = 4
Substitute into x − y = 1:
4 − y = 1
y = 3
Therefore, x = 4 and y = 3

13. Common Mistakes to Avoid

  1. Using an invalid digit
    Example: (278)8 is invalid because 8 is not allowed in base 8.
  2. Forgetting that powers start at zero
    The rightmost whole-number digit is always multiplied by base0.
  3. Reading remainders in the wrong direction
    In repeated division, read from bottom to top.
  4. Ignoring zero as a placeholder
    In (4075)10, the zero still has meaning.
  5. For fractions, forgetting negative powers
    Example: in (1.101)2, the digits after the point are 2-1, 2-2, 2-3.

14. Short Summary

  • A base tells how many digits a number system uses.
  • In base b, place values are powers of b.
  • To convert to decimal, expand using powers of the base.
  • To convert from decimal, use repeated division.
  • For fractions, use negative powers of the base.
  • For bases 2, 8, and 16, direct conversion is often faster.

15. Practice Answers

Expansion

(735)8 = 7 × 82 + 3 × 8 + 5 = 47710
(1010011)2 = 1 × 26 + 1 × 24 + 1 × 21 + 1 × 20 = 8310

Convert to base ten

(101011)2 = 4310
(2120)3 = 6910

Convert from base ten

(568)10 = (1070)8
(100)10 = (1100100)2

Binary fractions

(10.0001)2 = 2.062510
(10.01)2 = 2.2510
(11.1)2 = 3.510
(0.001)2 = 0.12510

End of Note: Number Base Conversions

Test yourself on Mathematics

Quadratic Equations II

166 questions 10 min SSS1
Start quiz

Quadratic Equations

322 questions 10 min SSS1
Start quiz

SIMPLE EQUATION AND VARIATIONS

180 questions 10 min SSS1
Start quiz

LOGARITHMS II

157 questions 10 min SSS1
Start quiz

Logarithms I

338 questions 10 min SSS1
Start quiz

Indices

194 questions 10 min SSS1
Start quiz

Track your reading & take quizzes

Create free account