- Open the Decimal to Octal Converter and find the main field: Decimal number.
- Type your values in that field. The placeholder shows an example format (63).
- Click "Convert" to compute the result in your browser.
- Read the result in the Result section. Use Copy to paste the output elsewhere.
Decimal to Octal Converter
Convert decimal numbers (base-10) to octal numbers (base-8) with this simple online tool.
Calculator
Enter the values described below, then run. Use Load sample to try a prefilled example when available.
How to Use This Tool
Learn More About Decimal to Octal Converter
Decimal to Octal Conversion
To convert a decimal number to octal, repeatedly divide the decimal number by 8, noting the remainder at each step. The octal digits are the remainders, read in reverse order.
Example
Decimal: 19
19 / 8 = 2, remainder 3 2 / 8 = 0, remainder 2
Octal: 23 (reading remainders in reverse)
About
Examples
Decimal 10
10
Shown in the Result area after you click the action button.
Decimal 255
255
Shown in the Result area after you click the action button.
Use Cases
- Computer science education and learning about octal numbers
- File permission settings in Unix-like operating systems
- Embedded systems programming
- Representing data in a compact format