Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

Conversion of

Octal numbers
Caisar S. Teaño
Conversion Table
Octal to Binary OCTAL BINARY
Conversion 0 000
We will be able to
1 001
learn 2 different octal
numbers: 2 010
1. Plain Octal Number/ 3 011
Integer Octal Number
4 100
2. Fractional Octal
Number 5 101

6 110

7 111
1. Plain/Integer Octal Number

Example # 1.

123 8
Step 1: Write down the octal number with a spaces between.

1 2 3
Step 2: Convert each digit into a binary number, that is the reason why you need to familiarize the
conversion table.

1 2 3
001 010 011
Step 3: Connect all the binary value and then you have the Binary Value of your Octal
Number.
1238= 0010100112/ 10100112
2. Fractional Octal Number

Example # 1.

0.143 8
Step 1: Write down the octal number with a spaces between.

0. 1 4 3
Step 2: Since we are only interested in the fractional part, we convert the fractional part to the binary value.

0. 1 4 3
001 100 011
Step 3: Connect all the binary value and then you have the Binary Value of your Octal Number.
0.1438= 0.0011000112
Conversion Table
Octal to Decimal
Conversion Most Octal Point Least Significant Bit (LSB)
Significant
We will be able to Bit (MSB)
learn 2 different octal
numbers: 82 81 80 8-1 8-2 8-3
1. Plain Octal Number/ 64 8 1 1/8 1/64 1/512
Integer Octal Number
2. Fractional Octal
Number
1. Plain/Integer Octal Number

Example # 1.

123 8
Step 1: Multiply each digit of Octal number with its increasing power of 8 from right to left.

123 8 = (1 x 82) + (2 x 81) + (3 x 80)


Step 2: Add all the individual equivalent results provides the equivalent decimal number.
2 1 0
123 8 = (1 x 8 ) + (2 x 8 ) + (3 x 8 )
= (1 x 64) + (2 x 8) + (3 x 1)
= 64 + 16 + 3
= 8310
1. Plain/Integer Octal Number

Example # 1.

0.45 8
Step 1: Multiply each digit of Octal number with its increasing negative power of 8 from Left to Right.

0.45 8= (4 x 8-1) + (5 x 8-2)


Step 2: Add all the individual equivalent results provides the equivalent decimal number.
0.45 8 = (4 x 8-1) + (5 x 8-2)
= (4 x 1/8) + (5 x 1/64)
= (4 x 0.125) + (5 X 0.016)
= 0.5 + 0.08
= 0.5810
Conversion Table
HEXADECIMAL BINARY HEXADECIMAL BINARY
NUMBERS NUMBERS
NUMBERS NUMBERS
0 0000 8 1000
Octal to 1
2
0001
0010
9
A
1001
1010
Hexadecimal 3
4
0011
0100
B
C
1011
1100
Conversion 5 0101 D 1101
6 0110 E 1110
7 0111 F 1111
Example

Example # 1.

54.31 8
Step 1: Convert the Octal Number to Binary Number.

5 4 . 3 1
101 100 . 011 001

54.31 8 = 101100.0110012
Example

Step 2: Group the binary Number by four (4).

54.31 8 = 101100.0110012
In the Integral part- Start from Right to Left

101100.0110012
In the Fractional part- Start from Left to Right

0010 1100.0110 0100


Add zero to complete the groupings.
Example

Step 3: Give the corresponding Hexadecimal Values

0010 1100 . 0110 0100


2 C . 6 4
54.31 8 = 2C.6416
Thank You

You might also like