How to convert Decimal number to Octal number.

Durdanta HalderDurdanta Halder
1 min read

To convert decimal numbers to octal numbers, you can follow these steps:

1. Divide the decimal number by 8.

2. Write down the remainder.

3. Divide the quotient by 8.

4. Write down the remainder.

5. Repeat steps 3 and 4 until the quotient is zero.

6. Write the remainders in reverse order.

For example, let's convert decimal number 10 to octal number:

1. 10 / 8 = 1 remainder 2

2. Write down 2

3. 1 / 8 = 0 remainder 1

4. Write down 1

5. Done! The octal number is **12**.

Hopefully, this blog post has helped you understand how to convert decimal numbers to octal numbers. Follow my website if you are interested in learning more about binary numbers and other number systems, I will soon upload other topics as well.

0
Subscribe to my newsletter

Read articles from Durdanta Halder directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Durdanta Halder
Durdanta Halder

I'm Dundanta. I'm a very interesting fellow, who's very hand to understand. A selfless attitude towards anyone whom I come across with. I'm a very friendly nature and love to be with people who aren't Selfish. I have a very unique perspective about this universe. I really enjoy programming, problem solving and reading literature. I'm also a keen thinker. I'm in my late teens.