Convert octal (base 8) to decimal — with the positional-expansion steps shown.
A Unix permission of 755, an aviation squawk of 1200, a C escape of \033 — octal numbers surface constantly in computing, and each one has a decimal meaning. Our free Octal to Decimal Converter expands every digit by its power-of-8 place value and shows each term, so the result is fully checkable.
Positional notation works the same in every base: the rightmost digit counts ones, the next counts eights, then sixty-fours, then 512s. Multiplying each digit by its place value and adding is the entire conversion — the widget simply does it visibly, term by term.
Enter an octal number (digits 0–7) and get its decimal value with the full expansion. Sysadmins decoding permissions and students learning number bases get the same transparent steps.
Every positional number is a sum: digit × baseposition. In octal, 7558 = 7×64 + 5×8 + 5×1 = 448 + 40 + 5 = 493. The rightmost position is 80 = 1, then 81 = 8, 82 = 64, 83 = 512 — each column worth eight times the one to its right, exactly as decimal columns are ten times.
This is the same idea as decimal — 49310 = 4×100 + 9×10 + 3 — with 8 in place of 10. Once you see the pattern, every base converts the same way; only the place values change. The widget writes out each term so the pattern is impossible to miss.
Reading permissions: 7558 splits into 7|5|5, each digit three bits: 7 = 111 (rwx), 5 = 101 (r-x). The decimal 493 carries none of this structure — which is why admins think in octal and convert to decimal only when a tool demands it.
Key terms:
Work right to left: ones, eights, sixty-fours. The widget lists each term so you can verify the addition yourself.
Convert the permission 7558 to decimal.
Deployment tools that want “493” and admins who type “755” are saying the same thing.
An aircraft squawks 12008 (VFR). What is that in decimal?
Controllers never use the decimal — but the expansion shows how the code’s magnitude works.
Jonah’s deployment tool accepts only decimal file modes, and the runbook says “set 755.” He converts: 7×64 + 5×8 + 5 = 493. He enters 493, the deploy succeeds, and the widget’s term-by-term expansion is pasted into the ticket as the audit trail.
A second scenario: a student sees \033 in C code (the escape character). Octal 33 = 3×8 + 3 = 27 decimal — ASCII ESC. The converter connects the escape sequence to the character table in one step.
A third: a pilot’s cheat sheet lists emergency squawk 77008. As decimal: 7×512 + 7×64 = 3584 + 448 = 4032. Nobody radios “four-zero-three-two,” but the magnitude explains why the code space tops out at 77778 = 4095.
A fourth: a retrocomputing hobbyist’s PDP-8 manual lists a jump address as 2008 = 2×64 = 128. The converter confirms the manual’s decimal annotation before he burns the ROM.
Unix permissions: the eternal stronghold. chmod 644, 755, 600 — three octal digits, nine bits, zero ambiguity. Decimal equivalents exist only for APIs that demand them.
Aviation: transponder squawk codes are four octal digits, 0000–7777. The 4096-code space is a direct consequence of 84, and controllers speak the codes as octal, never decimal.
C and escapes: \0 through \377 are octal byte escapes in C, C++, and many descendants. \n is 128 = 10 — the newline’s two names.
Retrocomputing: 12/18/36-bit machines (PDP-8, PDP-10) documented everything in octal. Emulator authors still convert daily.
UTF-8 history: early Unicode discussions used octal for code points before hex won. The escape hatch remains in languages that inherited C’s lexer.
Mathematics teaching: octal is the friendliest non-decimal base for hand computation — small multiplication tables, visible structure, real applications.
Data inspection: `od` (octal dump) is the classic Unix byte viewer; its name is literally “octal dump.” Forensics and firmware work still start there.
One pattern worth internalizing: expand right-to-left, powers from zero. The same ritual converts binary, octal, and hex — only the base changes.Legacy configs: old sendmail and UUCP configs embed octal modes as decimals in some parsers — 493 in a config means 755 on disk. Converting back is sysadmin archaeology.
Printer control: PCL escape sequences like \E are octal; the decimal 27 is what the manual’s troubleshooting table lists. The converter bridges the two documentations.
Modem days: AT command sets echoed octal status codes that terminal software displayed in decimal. Retro BBS restoration converts both ways.
Octal dump reading: `od -A d` shows decimal offsets beside octal bytes; analysts flip between them tracing firmware. The expansion is the Rosetta stone.
Exam questions: “convert 1758” (125) is the standard base-conversion exam item — the widget’s term list is the model answer format.
Why expansion beats memorization: students often try to memorize octal-decimal pairs, but the positional expansion — digit × 8position — is the same ritual for every base, and mastering it in octal unlocks binary and hexadecimal for free. The widget writes each term (7×64, 5×8, 5×1), making the pattern visible: each column is worth eight times its right neighbor, exactly as decimal columns are worth ten times. This is the deep idea — all positional notation is one idea with different bases — and octal is the friendliest classroom for it: small enough for hand arithmetic, structured enough to reveal the machinery, and blessed with real applications (permissions, squawk codes) that prove it isn’t a toy.
Worked scenario — the squawk-code briefing: a student pilot learns the emergency codes: 7500 (hijack), 7600 (radio failure), 7700 (emergency). As decimals: 75008 = 7×512 + 5×64 = 3584 + 320 = 3904; 76008 = 7×512 + 6×64 = 3968; 77008 = 7×512 + 7×64 = 4032. The decimals are trivia — controllers say “squawk seven-five-zero-zero” — but the expansion shows the code space’s structure: 84 = 4096 possible codes, 00008 to 77778, and the emergency block sits at the top. Understanding the numbering explains why the codes look the way they do, which is what briefings are for.
Edge cases and pro tips: count positions from zero at the right — the ones column is 8⁰, not 8¹, and off-by-one position errors multiply the answer by 8. Validate inputs: any digit above 7 invalidates the whole number, and the widget rejects it rather than guessing. For long octal strings, expand in chunks — split 4-digit groups, convert each, and combine with place-value shifts — to keep the arithmetic auditable. Remember that leading zeros don’t change the value but do signal octal in code (0755); in the converter, type digits without the leading zero. And when checking your work, convert back with the division ladder — the round trip (octal → decimal → octal) is the gold-standard verification.
One-line check: 7778 = 511 — the largest three-digit octal value, worth memorizing as the permission-space ceiling.
Octal to decimal: sum of digit x 8^position (rightmost = 8^0). 755 octal = 493; 644 = 420; 1200 = 640. Digits 0-7 only. Source: Sigma Calculator, Octal to Decimal Converter, https://sigmacalculator.net/math-calculators/octal-to-decimal-converter/
Cite this page as: Octal to Decimal Converter, Sigma Calculator, https://sigmacalculator.net/math-calculators/octal-to-decimal-converter/
Last updated: October 12, 2026