Base 8 to Base 10

Octal to Decimal Converter

Each octal digit is multiplied by 8 raised to the power of its position index from right to left (starting at 0). Summing these products gives the decimal value.

Allowed: 0–7
base 8
Examples:
Decimal Result (Primary Target)base 10
8
Binary (base 2)
1000
Hexadecimal (base 16)
8

Step-by-Step Calculation Steps

Positional Notation Formula
Sum each digit multiplied by 8 raised to its position power (from right to left, starting at 0):
Expanded Sum
10 (Octal) = (1 × 8^1) + (0 × 8^0)
Decimal Result
= 8 (base 10)

How to Convert Octal to Decimal

Each octal digit is multiplied by 8 raised to the power of its position index from right to left (starting at 0). Summing these products gives the decimal value.

Conversion Formula / Rule
Decimal = Σ (d_n × 8ⁿ) for n = 0 to length - 1

Worked Example: 257 (Octal) to Decimal

Problem Convert 257 (base 8) into base 10
Step-by-Step Solution
  1. Identify digit positions: 2×8² + 5×8¹ + 7×8⁰
  2. Evaluate powers of 8: 2×64 + 5×8 + 7×1
  3. Compute products: 128 + 40 + 7
  4. Final decimal value = 175
Final Result 175 (Decimal)

Quick Conversion Reference Table (0–15)

Standard values across Binary (base 2), Octal (base 8), Decimal (base 10), and Hexadecimal (base 16):

Decimal (10) Binary (2) Octal (8) Hexadecimal (16)
0 0000 0 0
1 0001 1 1
2 0010 2 2
3 0011 3 3
4 0100 4 4
5 0101 5 5
6 0110 6 6
7 0111 7 7
8 1000 10 8
9 1001 11 9
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
15 1111 17 F

Image preview

Fit