Octal to Decimal

This is the continuation of learning binary series.

You learned that binary is in the base two number system.

You also learned Hex is in the base 16 number system.

Well octal is in the base 8 number system.

0 1 2 3 4 5 6 7

Octal to Decimal


Example 1:

As you learned above octal is a base 8 number system,

0 1 2 3 4 5 6 7

Lets start with an octal number

238

2 | 3 | 8

Each digit is multiplied by 8 by its power

2 | 1 | 0

2 × 82 + 3 × 81 + 8 × 80 - You now solve this with PEMDAS

P(parenthesis)-E(exponents)-M(multiplication)-D(division) -A(addition)-S(subtraction)

You solve the exponents then the multiplication and then addition

2 × 64 + 3 × 8 + 8

128 + 24 + 8 = 152

Example 2:

Lets start with another octal number

7050

7 | 0 | 5 | 0

Each digit is multiplied by 8 by its power

3 | 2 | 1 | 0

7 × 83 + 0 × 82 + 5 × 81 + 0 × 80

7 × 512 + 0 × 64 + 5 × 8 + 0

3584 + 0 + 40 + 0 = 3624

Home

  • Home

Binary

  • Binary Basic
  • Binary addition
  • Binary Subtraction

Hex

  • Hexchart
  • Binary To Hex
  • Hex To Binary

Octal

  • Octal To Decimal
  • Decimal To Octal

Basics of a computer

  • Four stages of a computer
  • Dram VS. SRAM
  • programs and software