Decimal to octal
Type a value in dec to get it in oct instantly.
377oct
That's about the same as a byte. That needs 8 bits to store.
Convert the other way: oct to dec
What it means
How big is that?
Whole numbers only. Anything after the decimal point is rounded away.
The math
How to convert dec to oct
Base b: each digit is worth b times the one to its right. Gray code = n XOR (n ÷ 2); BCD writes each decimal digit as four bits.
Example: 255 dec = 377 oct.
Every unit
Your number in every base
Tables
dec to oct conversion table
| dec | oct |
|---|---|
| 1 dec | 1 oct |
| 2 dec | 2 oct |
| 4 dec | 4 oct |
| 8 dec | 10 oct |
| 10 dec | 12 oct |
| 15 dec | 17 oct |
| 16 dec | 20 oct |
| 31 dec | 37 oct |
| 32 dec | 40 oct |
| 64 dec | 100 oct |
| 100 dec | 144 oct |
| 128 dec | 200 oct |
| 255 dec | 377 oct |
| 256 dec | 400 oct |
| 512 dec | 1000 oct |
| 1,000 dec | 1750 oct |
| 1,024 dec | 2000 oct |
oct to dec conversion table
| oct | dec |
|---|---|
| 1 oct | 1 dec |
| 2 oct | 2 dec |
| 4 oct | 4 dec |
| 10 oct | 8 dec |
| 12 oct | 10 dec |
| 17 oct | 15 dec |
| 20 oct | 16 dec |
| 37 oct | 31 dec |
| 40 oct | 32 dec |
| 100 oct | 64 dec |
| 144 oct | 100 dec |
| 200 oct | 128 dec |
| 377 oct | 255 dec |
| 400 oct | 256 dec |
| 1000 oct | 512 dec |
| 1750 oct | 1,000 dec |
| 2000 oct | 1,024 dec |
Quick answers
Quick answers
- How many oct is 1 dec?
- 1 dec is 1 oct.
- How many oct is 10 dec?
- 10 dec is 12 oct.
- How many oct is 255 dec?
- 255 dec is 377 oct.
The units
About these units
Decimal (dec)
Base ten, the everyday counting system, using digits 0 to 9.
Octal (oct)
Base eight, digits 0 to 7. It survives in Unix file permissions such as 755.
Keep going