Decimal to Octal

Tool processing runs in your browser — your pastes/files are not uploaded to our servers for processing. Ads (if shown) load separately and do not receive your tool inputs.Advertising · Details

Quick answer

To convert decimal to octal, divide by 8 repeatedly and read the remainders from last to first — for example 100 → 144 (octal). TryDevSnip's converter does it instantly and exactly, all in your browser.

Decimal to octal chart

DecimalOctal
810
1517
1620
64100
100144
256400
511777
5121000

Related: octal to decimal · decimal to hex · all bases

Worked example: 64

Every positional number system works the same way — each digit is multiplied by the base raised to its position, counting from zero on the right. For 64 in decimal:

DigitPlaceWeightContribution
61011060
410014
Total (decimal)64

Written in octal that is 0o100.

Quick reference

Decimaldecimaloctal
111
222
444
8810
101012
161620
323240
6464100
100100144
128128200
255255377
256256400

Things that trip people up

Frequently asked questions

How do I convert decimal to octal?

Divide the number by 8 repeatedly and read the remainders from last to first. For example 100 ÷ 8 → 144 (octal). Or paste it into the converter and read the octal instantly.

What is 8 in octal?

8 (decimal) is 10 in octal — base 8 rolls over after 7, so eight is written as 10.

Where is octal used?

Most commonly in Unix file permissions (chmod), where three permission bits map to one octal digit — e.g. rwxr-xr-x is 755.

Is my input uploaded?

No. TryDevSnip converts locally in your browser. Nothing you type is uploaded to our servers for processing.

TryDevSnip