To Many Calculator logoTo Many Calculator

Decimal to Octal Converter

Kaushik RabadiyaCreated by Kaushik RabadiyaLast updated: July 19, 2025

Decimal to octal instantly calculates results using isoctal, data type vs, dec input. Use the calculator above for instant answers in your browser.

Key takeaway: Use the decimal to octal converter to convert between decimal and octal number systems. This free Decimal to Octal Converter is designed for anyone who needs quick, accurate unit conversions — enter your values above to get instant results.

decimal to octal converter allows you to convert numbers between the decimal and octal number systems.

Continue reading this article to know what an octal number system is and how to convert octal to decimal number systems and vice-versa. You will also see some examples of octal to decimal conversion and learn about the use of octal number systems.

Let us first try to understand what the octal number system is.

Decimal and octal number systems

You must be well familiar with the decimal number system. After all, we have been using it since we first started learning to count. But have you noticed that each position in a decimal number system can be expressed as a power of ? For example, we can write as:

Hence, we can also say that the base of the decimal number system is and it contains ten unique symbols from to .

The octal number system has as its base. We can express each place as a power of . The digits of an octal number can be a number between and . Examples of numbers in the octal system are , , etc.

We can express these numbers as:

In the following sections, we will see how we can convert a number from decimal to the octal system and vice-versa.

🙋 If you want to learn how to convert decimal numbers to binary or hexadecimal numbers, we recommend checking out our binary converter and decimal to hexadecimal converter.

How to convert decimal to octal

To convert a number from the decimal system to the octal system, we will use a very simple approach:

  1. Divide the number by .

  2. Take note of the remainder. It can be any number between to . This number will be the last digit of the octal number, i.e., the rightmost digit.

  3. Use the quotient from step 1 as your new initial number.

  4. Repeat steps 1-3, and keep adding the remainder to the left of the previously obtained digits.

Let us understand this using an example. We will convert the number to octal representation:

  1. Divide by , i.e., , remainder is .
  2. Now, we will use the quotient from step 1, i.e., as the new number, and repeat step 1.
  3. We will continue repeating the above steps until we get as the quotient. The results are shown in the table below.
Number/8QuotientRemainder
6521/88151
815/81017
101/8125
12/814
1/801

Reading upwards, i.e., from bottom to top, the number is in octal representation.

How to convert octal to decimal

If you have understood how to convert decimal to octal, then you must have realized by now how we can go the other way, i.e., convert a number from the octal to decimal system. Just reverse the algorithm explained above:

  1. Start with the last digit (i.e., the rightmost one) and count the positions of digits as 0, 1, 2, 3, .... We will denote the digit at position 0 as , position 1 as , ..., and so on.

  2. Now use the following algorithm to get the number () in the decimal system:

For example, let us convert to decimal.

  1. First, we will count the position of each digit starting from the last one.
Digits3241
Position #3210
  1. Now using the algorithm,

    we will get:

Hence, the number corresponds to in the decimal representation.

You can also check our binary to octal converter to convert between binary and octal numbers.

How to use the decimal to octal converter

Now let us see how we can use our decimal to octal converter to solve the same octal to decimal conversion examples:

  1. Using the drop-down menu, choose the option decimal to octal.

  2. Type the number you want to convert, i.e., 6521.

  3. The tool will display the result in the octal number system, i.e., 14571.

  4. You can also convert octal to decimal by choosing it as the option.

FAQs

What is the base of octal number system?

The base of the octal number system is 8. That means that it has eight possible symbols (or digits) from 0 to 7. There are no 8's or 9's in the octal number system.

What are the applications of octal number system?

The octal number system is widely used in computers as it is more convenient and efficient to express numbers in octal rather than in binary representation. While dealing with binary numbers involving several bits converting them into octal makes the data handling and computation less prone to error.

How do I convert 18 into octal number system?

To convert 18 into the octal number system, follow the given instructions: Divide 18 by 8. The quotient is 2, and the remainder is 2. This remainder will be the last digit of the octal number. Now divide the quotient from step 1, i.e., 2 by 8. You will get 0 as the quotient and 2 as the remainder. This remainder will be the first digit of the octal number. Arranging the remainders from steps 1 and 2, you will get 22, which is the octal representation of 18.

What is the octal equivalent of decimal number 8?

10. If we divide 10 by 8, the remainder is 0, and the quotient is 1. Similarly, when we divide 1 by 8, the remainder is 1, and the quotient is 0. Arranging the two remainders, we will get 10, which is the octal equivalent of decimal number 8.

Formula verified against BIPM (International Bureau of Weights and Measures) — all calculations use deterministic, standards-based formulas.

Related calculators