Skip to content

How to Use Excel BIN2OCT Function?

BIN2OCT FunctionPin
BIN2OCT Function

Excel has various built-in functions and formulas to perform mathematical operations. BIN2OCT is a built-in function in Excel that is categorized as an Engineering Function. This function is used to convert the binary (radix 2) values into octal (radix 8) values. Here, we come up with the syntax, explanation of the Excel BIN2OCT function with proper examples.

Let’s see the syntax and its description with examples. Get the official version of MS Excel from the following link:

Excel BIN2OCT FunctionPin
Excel BIN2OCT Function

Description of BIN2OCT Function

  • It is one of the built-in functions in Microsoft Excel.
  • This function will convert the binary numbers to Octal numbers.
  • If the binary value contains more than ten characters, it will return #NUM! Error Value.
  • If you give the invalid binary number, it will show the #NUM! Error.


  • Here, you will see the syntax of the BIN2OCT function.
  • To apply this function on your spreadsheet, you have to select a cell and enter the formula in the following format.
  • Once you enter the formula, just click on the Enter button to get the result.

=BIN2OCT(number, [places])

Argument Explanation:

  • Number – The binary number that you want to convert into an octal number.
  • Places – It is optional. If the places are not given, it will return the exact octal equivalent of the input number. It is used for padding the leading zeros to the returning value.

1) If places are not an integer, it will return #VALUE! Error.
2) If you give any non-numeric numbers in the places argument, it will return #VALUE! Error.
3) In case, if you give a negative value to places, it will return #NUM! Error value.

Binary to Octal Conversion

Here we come up with some examples to make it clear how to use the BIN2OCT function.

  • Initially, you have to open your Excel workbook on your PC and launch a worksheet that has data.
  • For example, we have shown you a range of binary values in Column A and we will convert them into octal values.
Input RangePin
Input Range
  • Then, you have to enter the formula in the cell as shown below to get the result.
Enter the formulaPin
Enter the formula
  • After entering the formula, you need to click the Enter button to get the output, as shown below. You can drag down the cell to fill the remaining cells.

Input that Causes Error

  • If you give any negative number in the places argument, it will show #NUM! Error value as below.
NUM errorPin
NUM error
  • If you give non-numeric numbers (letters and special characters) in the places argument, it will return #VALUE! Error.


By reading the above article, you can understand the syntax, explanation of the Excel BIN2OCT function with proper examples. Share your queries/suggestions in the comment section. To learn more about Excel functions, then visit our webpage

Video Tutorial

The following video will show you how to apply the BIN2OCT function on your Excel spreadsheet.

Read Also:


Leave a Reply

Your email address will not be published. Required fields are marked *

Share to...