Decimal to Octal Converter

Convert decimal (base-10) numbers to octal (base-8). Octal uses digits 0-7 and appears frequently in Unix/Linux file permissions and legacy computing systems.

Common Values

InputOctal
00
77
810
1517
1620
6377
64100
100144
127177
128200
255377
256400
5121000
10001750
10242000
409610000

How It Works

To convert decimal to octal, repeatedly divide by 8 and record the remainders. For example, 255: 255÷8=31 R7, 31÷8=3 R7, 3÷8=0 R3 — reading upward gives 377. Octal groups naturally align with 3-bit binary patterns, making it historically convenient for programmers.

Worked Examples

DecimalOctal
00
77
810
1517
1620
6377
64100
255377
256400
5121000

Related Conversions

Frequently Asked Questions