Octal to Decimal Converter

Convert octal numbers (base 8) into decimal numbers (base 10). Enter an octal integer or fraction and get the decimal result with a clear, step-by-step explanation.

Convert Octal to Decimal

Enter a number using octal digits from 0 to 7. You can also enter a negative number or a fractional value.

Valid digits: 0, 1, 2, 3, 4, 5, 6, 7. An optional decimal point is allowed.
This setting applies only to fractional values. Integer conversions remain exact.
Try an example:

How to Convert Octal to Decimal

The octal number system is a base-8 numeral system. It uses eight digits, from 0 to 7. The decimal number system is base 10 and uses digits from 0 to 9.

To convert an octal integer to decimal, multiply each digit by the corresponding power of 8 and add the results.

Example: Convert 157₈ to decimal
1578 = (1 × 82) + (5 × 81) + (7 × 80)
= 64 + 40 + 7
= 11110

Octal fractions

For digits after the octal point, use negative powers of 8. For example:

10.48 = (1 × 81) + (0 × 80) + (4 × 8-1)
= 8 + 0 + 0.5
= 8.510

Octal to Decimal Conversion Table

Some common octal values and their decimal equivalents.

Octal (base 8) Decimal (base 10)
10 8
17 15
25 21
77 63
100 64
144 100
377 255
1000 512
777 511
10.4 8.5

Related Number System Converters

Explore other number-base conversion tools on Binarios.org. Check that each destination page exists before publishing these links.

Frequently Asked Questions

1. What is an octal to decimal converter?

An octal to decimal converter changes a number from base 8 into base 10. It interprets each octal digit according to its positional power of 8.

2. Which digits are valid in the octal system?

Octal numbers use only the digits 0 through 7. The digits 8 and 9 are not valid in base 8.

3. How do I convert octal 77 to decimal?

Multiply 7 by 8 and add 7: (7 × 8) + 7 = 63. Therefore, 77 in octal is 63 in decimal.

4. Can I convert negative octal numbers?

Yes. Enter a minus sign before the octal number. For example, -10 in octal converts to -8 in decimal.

5. Can I convert octal fractions?

Yes. Enter a decimal point in the octal number, such as 10.4. The converter calculates the fractional contribution using negative powers of 8.

6. How accurate is the conversion?

Integer conversions use string-based arithmetic and are exact for the accepted input length. Fractional conversions use floating-point arithmetic and can be limited by the selected decimal precision.

7. Does this converter support very large octal integers?

Yes. The integer portion is converted using decimal-string arithmetic rather than PHP's native integer type. This avoids the usual platform integer-size limit.