Number bases

Decimal to Octal Converter

Convert decimal numbers to octal instantly, with the step-by-step method and a reference table.

377

Whole numbers of any size are supported (exact big-integer arithmetic).

How to convert decimal to octal

Divide the decimal number by 8 repeatedly, writing down each remainder. Read the remainders from the last to the first.

Converting 156 to octal
DivisionQuotientRemainder
156 ÷ 8194
19 ÷ 823
2 ÷ 802

Reading the remainders upward gives 156₁₀ = 234₍8₎.

About the number systems

Decimal

Base 10 is the everyday number system with digits 0–9; each position is worth ten times the one to its right.

Octal

Base 8 uses digits 0–7. Each octal digit represents exactly three bits, which is why octal appears in Unix file permissions (e.g. 755).

Decimal to octal table

Decimal to octal
DecimalOctal
00
11
22
33
44
55
66
77
810
911
1012
1113
1214
1315
1416
1517
1620
3137
3240
6377
64100
100144
127177
128200
255377
256400
10001750
10242000
409610000
65535177777

Frequently asked questions

How do I convert decimal to octal?

Divide the decimal number by 8 repeatedly, writing down each remainder. Read the remainders from the last to the first. Converting 156 to octal Division Quotient Remainder 156 ÷ 8 19 4 19 ÷ 8 2 3 2 ÷ 8 0 2 Reading the remainders upward gives 156₁₀ = 234 ₍8₎.

What is 255 in octal?

255 (decimal) = 377 in octal.

Can I convert very large numbers?

Yes. The converter uses exact big-integer arithmetic, so there is no rounding even for long inputs.

Try “psi to bar”, “cups”, “binary” or “5 ft in cm”.