Convert decimal to octal
Decimal (base 10) to octal (base 8). Type a value below, or use the reference table further down.
Divide repeatedly by 8 and read the remainders from last to first. 255 in base 8 is 377.
How to convert decimal to octal
Divide repeatedly by 8 and read the remainders from last to first. 255 in base 8 is 377.
Conversions here use arbitrary-precision integers, so values beyond 64 bits convert exactly rather than being rounded.
decimal to octal conversion table
Use this decimal to octal chart for quick reference.
| Decimal (base 10) | Octal (base 8) |
|---|---|
| 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 |
| 127 | 177 |
| 128 | 200 |
| 255 | 377 |
| 256 | 400 |
| 512 | 1000 |
| 1000 | 1750 |
| 1023 | 1777 |
| 1024 | 2000 |
| 4095 | 7777 |
| 4096 | 10000 |
| 65535 | 177777 |
| 65536 | 200000 |
Common decimal to octal values
89101632641001282552564935115121000
What is decimal?
Decimal is base 10, the everyday number system, using the digits 0 to 9. Each place is worth ten times the one to its right.
What is octal?
Octal is base 8, using the digits 0 to 7. One octal digit encodes exactly three bits, which is why Unix file permissions are written as octal numbers such as 755.
Frequently asked questions
How do you convert decimal to octal?
Divide repeatedly by 8 and read the remainders from last to first. 255 in base 8 is 377.
What is 255 decimal in octal?
255 in decimal is 377 in octal. In plain decimal that value is 255.
What digits does decimal use?
Decimal is base 10 and uses 0-9. Decimal is base 10, the everyday number system, using the digits 0 to 9. Each place is worth ten times the one to its right.