How to Convert a Decimal Number into an Octal number | Number System

In this blog, we will learn to convert a decimal number into an octal number.

Before, start this topic letโ€™s take a recap on what is a decimal number or an octal number.

Decimal Number โ€“ Decimal Number are those number who uses 10 digits of a number system 0 to 9 (0,1,2,3,4,5,6,7,8,9) and the base of a decimal number is 10. Example: 910, 2510, 4810, 15210 etc. These numbers are known as โ€œDecimal Numberโ€

Octal Number โ€“ Octal Number are those number who uses 8 digits of a number system 0 to 7 (0,1,2,3,4,5,6,7) and the base of the octal number is 8. Example: 68, 138, 248 etc. This number is known as โ€œOctal Numberโ€

For more details about this topic then take a tour on this link โ€œComputer Number Systemโ€

As always let start with the example.

Example 1: Convert a Decimal Number (9)10 into Octal?

Sol:

To convert this number, we have to divide the given number by 8 until the quotients come to 0. So, let start the dividing process.

Decimal no.
รท by 8
QuotientRemainder
9 รท 811
1 รท 801

Now, write all the remainder from downward to the upward manner like this 1 and 1 = 11.

Hence, the conversion of decimal to octal is (11)8

Example 2: Convert a Decimal Number (26)10 into Octal?

Sol:

To convert this number, we have to divide the given number by 8 until the quotients come to 0. So, let start the dividing process.

Decimal no.
รท by 8
QuotientRemainder
26 รท 832
3 รท 803

Now, write all the remainder from downward to the upward manner like this 3 and 2 = 32

Hence, the conversion of decimal to octal is (32)8

Example 3: Convert the Decimal Number (93)10 into Octal?

Sol:

To convert this number, we have to divide the given number by 8 until the quotients come to 0. So, let start the dividing process.

Decimal no.
รท by 8
QuotientRemainder
93 รท 8115
11 รท 813
1 รท 801

Now, write all the remainder from downward to the upward manner like this 1, 3, and 5 = 135.

Hence, the conversion of decimal to octal is (135)8

Example 4: Convert the Decimal Number (176)10 into Octal?

Sol:

To convert this number, we have to divide the given number by 8 until the quotients come to 0. So, let start the dividing process

Decimal no.
รท by 8
QuotientRemainder
176 รท 8220
22 รท 826
2 รท 802

Now, write all the remainder from downward to the upward manner like this 2, 6, and 0 = 260.

So, our answer is (260)8

Hence, the conversion of decimal to octal is (260)8

Example 5: Convert the Decimal Number (242)10 into Octal?

Sol:

To convert this number, we have to divide the given number by 8 until the quotients come to 0. So, let start the dividing process

Decimal no.
รท by 8
QuotientRemainder
242 รท 8302
30 รท 836
3 รท 803

Now, write all the remainder from downward to the upward manner like this 3, 6, and 2 = 362.

So, our answer is (362)8.

Hence, the conversion of decimal to octal is (362)8.

Example 6: Convert the Decimal Number (758)10 into Octal?

Sol:

To convert this number, we have to divide the given number by 8 until the quotients come to 0. So, let start the dividing process

Decimal no.
รท by 8
QuotientRemainder
758 รท 8946
94 รท 8116
11 รท 813
1 รท 801

Now, write all the remainder from downward to the upward manner like this 1, 3, 6, and 6 = 1366.

So, our answer is (1366)8.

Hence, the conversion of decimal to octal is (1366)8.

Example 7: Convert the Decimal Number (1472)10 into Octal?

Sol:

To convert this number, we have to divide the given number by 8 until the quotients come to 0. So, let start the dividing process

Decimal no.
รท by 8
QuotientRemainder
1472 รท 81840
184 รท 8230
23 รท 827
2 รท 802

Now, write all the remainder from downward to the upward manner like this 2, 7, 0, and 0 = 2700.

So, our answer is (2700)8.

Hence, the conversion of decimal to octal is (2700)8.

Conclusion:

Today I have told you about how to convert a decimal number into an Octal Number. I hope you understand very well. In case If you have any problem understanding something then let me know in the comment section, I will try to help you by replying to your comment.

So, thatโ€™s for todayโ€™s blog guys. We will meet again with the new topic,

Thanks for reading our Blog๐Ÿ˜Š

Leave a Reply

5 Impact of 5G Technology on Indian Computing and Connectivity 10 ways to Overcome Imposter Syndrome in Tech Students and Professionals 8 Best High-Paying Job Cities in India in 2023 15 Tech Entrepreneurship Lessons