Skip to tool

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.

Format hints
63

How to Use This Tool

  1. Open the Decimal to Octal Converter and find the main field: Decimal number.
  2. Type your values in that field. The placeholder shows an example format (63).
  3. Click "Convert" to compute the result in your browser.
  4. Read the result in the Result section. Use Copy to paste the output elsewhere.

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

Convert decimal numbers (base-10) to octal numbers (base-8) with this simple online tool. Just enter a decimal integer, and the converter will instantly display its octal equivalent.

Examples

Decimal 10

Decimal number
Input
10
Output
Shown in the Result area after you click the action button.

Decimal 255

Decimal number
Input
255
Output
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

Frequently Asked Questions