Decimal to Octal Converter

Convert decimal numbers to octal format using repeated division by 8 method

Enter a positive integer (0 to 4,294,967,295)

How to Convert Decimal to Octal

1

Start with the decimal number

2

Divide the number by 8 and record quotient and remainder

3

Continue dividing the quotient by 8 until you get 0

4

The octal equivalent is remainders read in reverse order

Example: Convert 83₁₀ to Octal

83 ÷ 8 = 10 remainder 3

10 ÷ 8 = 1 remainder 2

1 ÷ 8 = 0 remainder 1

Reading remainders from bottom to top: 123₈

Common Decimal to Octal Conversions

8
10₈
64
100₈
512
1000₈
63
77₈
255
377₈
511
777₈

Programming Examples

Python
oct(83)  # Returns '0o123'
format(83, 'o')  # Returns '123'
JavaScript
83.toString(8)  // Returns '123'
Java
Integer.toOctalString(83)  // Returns "123"

Octal System Applications

🐧
Unix Permissions

File permission codes (755, 644, etc.)

💾
Historical Systems

Used in older computer systems

🔢
Digital Displays

Seven-segment display coding

🛠️ Free Smart Tools

English English