How to convert octal to decimal
Multiply each digit by its place value (powers of 8) and add them up. For 1363:
1 × 8^3 + 3 × 8^2 + 6 × 8^1 + 3 × 8^0 = 512 + 192 + 48 + 3 = 755
Octal to decimal table
| Octal | Decimal |
|---|---|
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
10 | 8 |
11 | 9 |
12 | 10 |
13 | 11 |
14 | 12 |
15 | 13 |
16 | 14 |
17 | 15 |
20 | 16 |
40 | 32 |
100 | 64 |
144 | 100 |
177 | 127 |
200 | 128 |
377 | 255 |
400 | 256 |
2000 | 1024 |
10000 | 4096 |
177777 | 65535 |
FAQ
How are negative numbers converted?
Without a bit width, the sign is kept: −255 becomes −FF. Choose a bit width and turn on Signed to use two's complement, the way computers store negative numbers: −1 in 8 bits is FF.
Is there a size limit?
No practical one. Arbitrary-precision integers (BigInt) convert even 100-digit numbers exactly. Fractions aren't supported.
Can I paste 0x, 0b or 0o prefixes, spaces or underscores?
Yes. Prefixes are recognized, and spaces or underscores between digits (like 1111_0000) are ignored. Put several numbers on separate lines to convert them all at once.
Is my data uploaded?
No. Everything is converted in your browser. Privacy