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 Comment

Top 7 Computer Science Engineering Courses with 100% Placement Record