Skip to the content

Octal to Decimal Converter

Turn an octal number such as 755 into decimal, with the worth of every digit worked out.

Type a octal number in the first field and read it in decimal in the second. It works the other way round as well. Whole numbers only; spaces, underscores and the prefixes 0b, 0o and 0x are fine.

Working

DigitPlace valueDigit × place value
7647 × 64 = 448
585 × 8 = 40
515 × 1 = 5

448 + 40 + 5 = 493

Other bases

from 2 to 36
Bit length
9 bits
Fits in
2 bytes
Share this tool:TwitterFacebookLinkedInWhatsAppEmail

How to convert octal to decimal by hand

Octal uses the digits 0 to 7, and each place is worth eight times the one to its right: 1, 8, 64, 512, 4096.

Multiply every digit by the worth of its place and add up. For 755 that is 7 × 64 + 5 × 8 + 5 × 1, or 448 + 40 + 5 = 493.

The working under the two fields at the top of the page does this for whatever number you type.

Good to know

  • An 8 or a 9 cannot occur in an octal number. If you see one, the number is not octal.
  • In C, a number written with a zero in front is octal, so 010 is 8 and not 10. Python 3 and modern JavaScript write 0o10 instead, which is harder to misread.
  • Octal lives on in Unix file permissions. The 755 in chmod 755 is three octal digits: one for the owner, one for the group and one for everyone else. As a decimal number it is 493, which nobody uses.

Octal to decimal table

OctalDecimal
00
11
22
33
44
55
66
77
108
119
1210
1311
1412
1513
1614
1715
2016
OctalDecimal
2420
4032
6250
10064
144100
177127
200128
310200
377255
400256
764500
1000512
17501000
20001024
100004096
17777765535

The number base converter shows binary, octal, decimal and hexadecimal next to each other, and explains positional notation and two's complement.

See all 9