
Convert octal text to decimal numbers in Excel. Useful when you need a normal numeric value from a base-8 code or legacy format.
OCT2DEC converts an octal value into a decimal number. If a worksheet gives you something in base 8 and you need the regular base-10 value behind it, OCT2DEC does that conversion directly.
This is helpful when older or specialized systems still use octal, but your calculations and reporting need standard numbers. Once the value is back in decimal form, it is much easier to compare, sort, filter, or use in other formulas.
Turns a base-8 value into a base-10 number.
Returns a numeric value you can use in formulas right away.
=OCT2DEC(number)
number is the octal value to convert.
You can type the octal value directly in quotes or refer to a cell that contains it. The result is returned as a normal decimal number, which makes it much easier to use in later calculations and worksheet logic.
The input must be a valid octal value using only digits 0 through 7. Excel supports up to 10 characters in this format, and 10-character values can be interpreted as signed numbers. Invalid octal text returns an error.
OCT2DEC is the right choice when the result needs to become a normal number:
| Function | What it does | Typical use | Result |
|---|---|---|---|
OCT2DEC |
Converts octal to decimal | Read base-8 values as normal numbers | Number |
DEC2OCT |
Converts decimal to octal | Format a number as octal text | Octal text |
HEX2DEC |
Converts hex to decimal | Read base-16 values as normal numbers | Number |
BIN2DEC |
Converts binary to decimal | Read base-2 values as normal numbers | Number |
The main use is bringing an octal value back into a form that works naturally with the rest of your spreadsheet. Once it becomes decimal, you can do normal math with it or use it in dashboards, filters, and comparisons without extra conversion steps.
This is useful for things like old system codes, octal-based identifiers, or permission values. A value like 755 is meaningful if you already think in octal, but turning it into decimal can make later calculations or checks easier.
OCT2DEC also supports signed 10-character octal values in Excel's engineering format. That means a value like 7777777776 is interpreted as a signed negative result, so Excel returns -2 instead of a very large positive number.
This example shows the main role of OCT2DEC: take an octal value and return the decimal number behind it. Excel converts 17 to 15, which is much easier to reuse in later math and worksheet logic.
=OCT2DEC("17") // Returns 15
Convert Octal "17" (15 in Decimal) to decimal. Formula: =OCT2DEC("17").
A larger value still follows the same pattern. OCT2DEC converts 7700 to 4032, which is helpful when an octal code from a specialized source needs to become a normal numeric identifier or threshold value inside Excel.
=OCT2DEC("7700") // Returns 4032
Convert Squawk Code "7700" (Aviation Octal) to decimal. Formula: =OCT2DEC("7700").
This example matters because OCT2DEC does not always interpret a 10-character value as a large positive number. In Excel's signed engineering format, 7777777776 represents -2. That signed interpretation is essential when reading fixed-width octal values from technical systems.
=OCT2DEC("7777777776") // Returns -2
Convert 10-char Octal "7777777776" to its signed decimal (-2). Formula: =OCT2DEC("7777777776").
The permission-style value 755 becomes the decimal number 493. Even if the octal form is meaningful to a person or system, the decimal result is often easier to sort, compare, or store alongside other numeric worksheet values.
=OCT2DEC("755") // Returns 493
Convert the permission group "755" to a decimal integer. Formula: =OCT2DEC("755").
7777777776 becomes -2.Tell your friends about this post