X

Decimal to Octal Converter

ADVERTISEMENT

Table of Contents

Decimal to Octal


Decimal system for the general public is the most familiar number system among binary, octal, and hexadecimal number system. Base 10 has 10 symbols only: 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. Whereas the octal system represents 7 numbers as one of the numbers systems. So, base 8 has only eight symbols: 0, 1, 2, 3, 4, 5, 6, and 7.

Decimal to Octal Conversion

There are different methods of converting decimal to octal, either direct or indirect. You need to convert a decimal number into another number system in an indirect method (e.g. binary or hexadecimal), then you can convert it into binary number by converting each digit from hexadecimal into binary number and using grouping from the octal number system.

Let’s understand it with example

98 into octal number

First convert it into binary or hexadecimal number,

= (98)10

= (1x26+1x25+0x24+0x23+0x22+1x21+0x20)10 Binary Conversion

= (6x161+2x160)10 Hexadecimal Conversion

Because base of binary and hexadecimal are 2 and 16 respectively.

= (1100010)2   or   (62)16

Then convert each digit of hexadecimal number into 4 bit of binary number whereas convert each group of 3 bits from least significant binary number.

= (001 100 010)2   or   (0110 0010)2

= (001 100 010)2

= (1 4 2)8

= (142)8

That’s the one manual way of converting Decimal to Octal.

There are, however, two direct methods for converting a decimal number into an octal number: Converting to Remainders and Converting to Division. These are explained as below.

  1. Converting with Remainders (For integer part)
  2. Converting with Remainders (For fractional part)

Decimal to Octal Converting with Remainders (For integer part)

This is a simple method involving dividing the number to be converted. Let decimal number is N then divide this number from eight because the octal number system base is eight. Note the remaining value will be: 0, 1, 2, 3, 4, 5, 6, or 7. Divide the remaining decimal number again until it has become 0 and note each remaining step. Then write remainders from the bottom up (or in reverse order), which will be the octal number of the decimal number given.

Example − Decimal 210 to octal number

210 / 8 = 26 Remainder 2

26 / 8 = 3 Remainder 2

3 / 8 = 0 Remainder 3

Now, write the remainder from the bottom up (in reverse order), this is 322 which is the equivalent octal number of decimal integer 210.


Decimal to Octal Converting with Remainders (For fractional part)

Let the decimal fraction part be M then multiply it by 8, as the octal number base is 8. Note the integral part value that is: 0, 1, 2, 3, 4, 5, 6, and 7. Again, multiply the remaining decimal number until it becomes 0 and note each integer of each step's result. Then write down the integer part results, which are the octal fraction number equal to the decimal number.

Example − Decimal fractional number 0.140869140625 to octal number

0.140869140625 x 8=0.12695313 Resultant Integer 1

0.12695313 x 8=0.01562504 Resultant Integer 1

0.01562504 x 8=0.12500032 Resultant Integer 0

0.12500032 x 8=0.00000256 Resultant Integer 1

0.00000256 x 8=0.000020544 Resultant Integer 1

And so on…

Now, write these resulting integer parts, 0.11010 which is the equivalent octal fractional number of 0.140869140625 decimal fractional.

You do not need to convert decimal to octal through these tough procedures as out decimal to octal converter is best in converting these numbers to each other. Our converter can convert integer and fractional decimal to octal easily and precisely.

For more conversions between binary, decimal, and hexadecimal numeric sysytem, you can use our free Decimal to HexBinary to HexHex to BinaryOctal to Hex, Octal to Decimal converter.


Decimal to Octal Table

DecimalOctal
00
11
22
33
44
55
66
77
810
911
1012
1113
1214
1315
1416
1517
1620
ADVERTISEMENT