dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

Tool to convert to octal base (base 8) or from octal base. Numbers written in octal use numbers from 0 to 7.

Answers to Questions

How to write a number in base 8?

For complete explanations on how to convert from N1 to N2, see the base-N conversion tool.

Example: 123 in base 10 is written 173 in base 8

How to convert an octal number?

For complete explanations on how to convert from N1 to N2, see the base-N conversion tool.

Example: 123 in base 8 is written 83 in base 10

How to recognize octal numbers?

The octal numbers can not have a digit 8 or 9.

In computing, it is usual to display an initial zero in front of the numbers to indicate that they are octal numbers. 12 in base 8 sometimes writes 012 to indicate that it is an octal number.

Ask a new question

Source code

dCode retains ownership of the source code of the script Octal System (Base 8) online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be given for free. So if you need to download the online Octal System (Base 8) script for offline use, check contact page !