- No data uploaded
- Instant results
Decimal to Octal Converter
Enter a decimal number to convert it to octal immediately. Paste multiple values (one per line) for bulk conversion. Arbitrary-precision math means even 128-bit values convert exactly.
Decimal to Octal Converter
How to convert decimal to octal
Decimal (base 10) is the everyday number system, using digits 0–9. Octal (base 8) uses digits 0–7; each octal digit maps to exactly three bits, which is why Unix file permissions (e.g. 755) are written in octal.
Worked example converting 214:
- Repeatedly divide 214 by 8 and read the remainders bottom-up to get 326.
- Result:
214(decimal) =326(octal).
Accepted input formats
- Optional prefixes:
0b(binary),0o(octal),0x(hex). - Spaces, commas and underscores are ignored, so
1101_0110works. - A leading minus sign converts negative values (sign-magnitude, not two's complement).
- Hexadecimal is case-insensitive; output is upper-case.
Decimal to Octal reference table
| Decimal | Octal |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 8 | 10 |
| 9 | 11 |
| 10 | 12 |
| 11 | 13 |
| 12 | 14 |
| 13 | 15 |
| 14 | 16 |
| 15 | 17 |
| 16 | 20 |
| 32 | 40 |
| 64 | 100 |
| 100 | 144 |
| 128 | 200 |
| 255 | 377 |
| 256 | 400 |
| 1024 | 2000 |
| 4096 | 10000 |
| 65535 | 177777 |
Frequently asked questions
What is 214 in octal?
214 in decimal equals 326 in octal.
Is there a size limit?
No practical limit. The converter uses JavaScript BigInt, so values with hundreds of digits convert exactly without rounding.
Is my data sent to a server?
No. The conversion runs entirely in your browser; nothing you type is uploaded.