Octal to Decimal Conversion — Step by Step with Examples
Learn how to convert octal (base 8) numbers to decimal (base 10) using the positional weight method. Includes worked examples, practice problems, and a free converter tool.
Introduction
Octal to decimal conversion is a fundamental topic in computer science and digital electronics. Whether you are studying for BCA, BTech, GATE, or any technical exam, understanding how to convert numbers from base 8 to base 10 is essential. This guide explains the method clearly with multiple worked examples so you can solve problems confidently.
Octal (base 8) uses digits 0 through 7. Decimal (base 10) is the standard number system we use daily with digits 0 through 9. Converting between them requires understanding positional notation — the value of each digit depends on its position in the number.
🔧 Try it now: Octal to Decimal Converter — enter any octal number and see the decimal result with positional working.
The Method: Positional Weight Multiplication
To convert any octal number to decimal, follow this formula:
Decimal Value = dₙ × 8ⁿ + dₙ₋₁ × 8ⁿ⁻¹ + … + d₁ × 8¹ + d₀ × 8⁰
Where each d is a digit and its subscript is the position index counting from 0 on the right.
Steps:
- Write down the octal number
- Assign position values starting from 0 (rightmost digit)
- Multiply each digit by 8 raised to its position
- Add all the products together
- The sum is your decimal result
Worked Examples
Example 1: Convert 25₈ to Decimal
| Position | Digit | Calculation |
|---|---|---|
| 1 | 2 | 2 × 8¹ = 16 |
| 0 | 5 | 5 × 8⁰ = 5 |
Result: 16 + 5 = 21₁₀
Example 2: Convert 377₈ to Decimal
| Position | Digit | Calculation |
|---|---|---|
| 2 | 3 | 3 × 8² = 3 × 64 = 192 |
| 1 | 7 | 7 × 8¹ = 7 × 8 = 56 |
| 0 | 7 | 7 × 8⁰ = 7 × 1 = 7 |
Result: 192 + 56 + 7 = 255₁₀
Example 3: Convert 1456₈ to Decimal
| Position | Digit | Calculation |
|---|---|---|
| 3 | 1 | 1 × 8³ = 512 |
| 2 | 4 | 4 × 8² = 256 |
| 1 | 5 | 5 × 8¹ = 40 |
| 0 | 6 | 6 × 8⁰ = 6 |
Result: 512 + 256 + 40 + 6 = 814₁₀
Example 4: Convert 10₈ to Decimal
| Position | Digit | Calculation |
|---|---|---|
| 1 | 1 | 1 × 8¹ = 8 |
| 0 | 0 | 0 × 8⁰ = 0 |
Result: 8 + 0 = 8₁₀
This is a common source of confusion — octal 10 equals decimal 8, not 10.
Powers of 8 Reference Table
| Power | Value |
|---|---|
| 8⁰ | 1 |
| 8¹ | 8 |
| 8² | 64 |
| 8³ | 512 |
| 8⁴ | 4096 |
| 8⁵ | 32768 |
Memorising powers of 8 up to 8³ or 8⁴ speeds up manual conversion significantly.
Common Mistakes to Avoid
- Using digits 8 or 9 — Octal only uses 0–7. If you see 8 or 9 in an “octal” number, the input is invalid.
- Wrong position numbering — Always start from 0 on the right, not from the left.
- Confusing with hexadecimal — Hex uses base 16 with A–F; octal uses base 8 with digits 0–7 only.
- Forgetting to add all terms — Missing one positional product gives a wrong answer.
Where Octal is Used
- Unix/Linux file permissions — chmod 755 uses three octal digits for owner, group, and others
- Legacy computing — Older PDP systems and documentation used octal extensively
- Educational curricula — BCA, BTech, diploma courses cover octal in number system chapters
- Embedded systems — Some microcontroller documentation still uses octal notation
Try It Instantly
Use the free Number System Converter on Numverto to convert any octal number to decimal, binary, and hexadecimal instantly with step-by-step working shown. No signup needed — calculations happen in your browser.
Frequently Asked Questions
What is the formula for octal to decimal conversion?
Multiply each octal digit by 8 raised to its position index (starting from 0 on the right) and add all the results. For example, 52₈ = 5×8¹ + 2×8⁰ = 40 + 2 = 42 decimal.
Can octal numbers contain the digit 8 or 9?
No. Octal is base 8, so it only uses digits 0, 1, 2, 3, 4, 5, 6, and 7. If you see 8 or 9, the number is not a valid octal representation.
What is octal 777 in decimal?
777₈ = 7×64 + 7×8 + 7×1 = 448 + 56 + 7 = 511 decimal. This represents full permissions (rwxrwxrwx) in Unix.
Why is octal used in Unix permissions instead of decimal?
Each permission group (read, write, execute) maps to 3 binary bits. One octal digit represents exactly 3 bits, making it a compact way to express permission sets. For example, 7 = 111 binary = rwx.
How do I verify my octal to decimal conversion?
Use the Numverto Number System Converter to check your manual calculations. It shows step-by-step working so you can compare each multiplication and addition with your own work.
Free tools
Learn faster with Numverto
Free number system converters, binary tools, EMI calculators, and more, with step-by-step working.
Written by
Numverto Editorial Team
Founder of Numverto. MCA graduate, full-stack developer, and lifelong learner who built this platform so every student gets the explanation, not just the answer.
Related tools
More from Numverto Blog
number systems
Number System Conversion Tricks and Shortcuts — BCA BTech Exam Guide
Quick tricks and shortcuts for binary, octal, decimal, and hexadecimal conversion for BCA/BTech exams. Memory tricks, quick reference tables, and common exam questions.
30 June 2026
binary
Binary to Octal and Octal to Binary Conversion — Step by Step Guide
Learn how to convert binary to octal and octal to binary using the 3-bit grouping method. Complete reference table, worked examples, and free converter tool.
28 June 2026
Discussion