Convert octal numbers (integers and floats) to decimal instantly with batch conversion support. Essential tool for programmers, students, and engineers.
Batch Conversion: Convert multiple octal numbers at once. Enter one octal value per line, or separate values with commas, spaces, or tabs. Supports integers and floating-point numbers.
Octal is a base-8 numeral system that uses digits 0 through 7. Converting octal to decimal involves calculating the positional value of each digit based on powers of 8.
Conversion Algorithm:
Important Notes on Float Conversion:
| Octal Digit | Decimal Value | Positional Value (8n) | Octal Digit | Decimal Value | Positional Value (8n) |
|---|---|---|---|---|---|
| 0 | 0 | 0 × 8n | 4 | 4 | 4 × 8n |
| 1 | 1 | 1 × 8n | 5 | 5 | 5 × 8n |
| 2 | 2 | 2 × 8n | 6 | 6 | 6 × 8n |
| 3 | 3 | 3 × 8n | 7 | 7 | 7 × 8n |
Octal 12.4 to Decimal: (1×81) + (2×80) + (4×8-1) = 8 + 2 + 0.5 = 10.5₁₀
Octal 377 to Decimal: (3×82) + (7×81) + (7×80) = 192 + 56 + 7 = 255₁₀
Octal 0.1 to Decimal: (1×8-1) = 0.125₁₀
Octal 3.14 to Decimal: (3×80) + (1×8-1) + (4×8-2) = 3 + 0.125 + 0.0625 = 3.1875₁₀
Calculator Features:
12.4
10.5
0.4
0.5
0.2
0.25
3.14
3.1875
17.6
15.75
377.1
255.125
0.1
0.125