# OCT2DEC function: Description, Usage, Syntax, Examples and Explanation

## What is OCT2DEC function in Excel?

OCT2DEC function is one of Engineering functions in Microsoft Excel that converts an octal number to decimal.

## Syntax of OCT2DEC function

OCT2DEC(number)

The OCT2DEC function syntax has the following arguments:

**Number:**The octal number you want to convert. Number may not contain more than 10 octal characters (30 bits). The most significant bit of number is the sign bit. The remaining 29 bits are magnitude bits. Negative numbers are represented using two’s-complement notation.

## OCT2DEC formula explanation

If number is not a valid octal number, OCT2DEC returns the #NUM! error value.

## Example of OCT2DEC function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Formula |
Description |
R esult |

=OCT2DEC(54) | Converts octal 54 to decimal form. | 44 |

=OCT2DEC(7777777533) | Converts octal 7777777533 to decimal form. | -165 |