Decimal to Octal
Convert decimal to octal instantly — repeatedly divide the number by eight and read the remainders from bottom to top. Type in either box to convert both ways. Useful for setting Unix file permissions (chmod) and other systems that express numbers in base eight.
Decimal to Octal conversion table
| Decimal | Octal |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 4 | 4 |
| 8 | 10 |
| 10 | 12 |
| 16 | 20 |
| 32 | 40 |
| 64 | 100 |
| 100 | 144 |
| 128 | 200 |
| 255 | 377 |
| 256 | 400 |
How to convert decimal to octal
To convert decimal to octal, repeatedly divide the number by eight and read the remainders from bottom to top. For example, 10 in decimal is 12 in octal. The converter above validates each digit for its base and updates as you type, and the swap button flips the direction so you can go from octal back to decimal just as quickly.
Frequently asked questions
How do you convert decimal to octal?
To convert decimal to octal, repeatedly divide the number by eight and read the remainders from bottom to top. For example, 10 in decimal is 12 in octal. The converter above does it instantly — type a decimal value on the left and the octal result appears on the right, and you can type in either box to convert in the opposite direction. It only accepts valid digits for each base, so a stray character simply clears the result rather than giving a wrong answer.
What is 10 in octal?
10 in decimal equals 12 in octal. The conversion table on this page lists common values — 1 is 1, and it continues up to 256 = 400 — so you can read off everyday values at a glance. Any value in between converts exactly too, because the tool carries the full number rather than the rounded figures printed here.
What is the difference between binary, decimal and hexadecimal?
They are just different bases — different numbers of digits before you carry over. Decimal (base 10) is the everyday system with digits 0–9. Binary (base 2) uses only 0 and 1, which is how computers store everything at the hardware level. Hexadecimal (base 16) uses 0–9 then A–F, and is a compact way to write long binary values because each hex digit maps to exactly four bits. The same quantity can be written in any base; only its notation changes.
Is this decimal to octal converter free and accurate?
Yes — it is completely free with no sign-up, and it converts exactly using the standard positional method, validating that every digit is legal for its base. Useful for setting Unix file permissions (chmod) and other systems that express numbers in base eight. Everything runs locally in your browser, so nothing you enter is uploaded or stored. For octal, custom bases and step-by-step breakdowns, the full number base converter handles any base from 2 to 36.
More conversions
Octal → DecimalBinary → OctalHexadecimal → OctalOctal → HexadecimalBinary → DecimalDecimal → BinaryHexadecimal → DecimalDecimal → HexadecimalBinary → HexadecimalHexadecimal → BinaryOctal → Binary Number base converter →