Any decimal number can be converted to its octal equivalent.

**For integers**,conversion is obtained just by dividing number continuously by 8 and keeping track of remainders obtained .

**Example:**

**( 260 ) _{10 }= ( ? )8**

**Solution:**

Firstly you should know,Now, Divide 260 by 8,

we get,Now ,quotient obtained from this division will become dividend in next step,

again, divide it with 8.( Keeping track of remainder)Now, at last stop dividing when dividend become less than the divisor.

Now write in following sequence,

First write the last dividend left and then write remainders obtained in reverse order .

As shown below,

This will be the final answer i. e.** ( 4 0 4 )**_{8
}You can write this in simple manner also, shown below,

answer will be** ( 4 0 4 ) _{8}**

**While for fractional part**the conversion is done by continuous multiplication by 8 and keeping**,**- track of the integers generated.See in given example,

**Example:**

**( 0.625 ) _{10 }= ( ? )_{8}**

**Solution:**

0.625 × 8 = 5.00 , integer obtained is 5

now,multiply the fractional part obtained with 8

0.00 × 8 = 0 ,integer obtained 0

now, we don’t have any fractional part left .So stop multiplying here.

Next step is , write down the integer obtained in the sequence they obtained after radix point ,as follows:

** = **( 0.5 0 )_{8 }**=( 0.5 )8**

This is the way we can convert a decimal number into its octal equivalent.

**Another Example:**

**( 95.5 ) _{10}= ( ? )_{8
}**

**Solution:**

Integer part:Fractional part:

0.5 × 8 = 4.00 , integer obtained is 4

now,multiply the fractional part obtained with 8 again,

.00 × 8 = 0 ,integer obtained 0.

now, we don’t have any fractional part left.

**Answer:**

** = ** ( 1 3 7 . 4 0 )_{8} **= ( 1 3 7 . 4 ) _{8}**

_{ }

_{ }