Engineering

OCT2BIN Function in Excel

Converts an octal number to binary.

Syntax

  • =OCT2BIN(number, [places])

Arguments

  • number (required): Octal number
  • places (optional): Number of characters to use

Examples

  • =OCT2BIN(3, 3) - Octal to binary - Result: 011

OCT2BIN in technical sheets

  • Document units in adjacent cells — many engineering functions require exact unit strings.
  • Use [CONVERT](/functions/convert/) for unit changes before specialized formulas.
  • Validate inputs with [ISNUMBER](/functions/isnumber/) and range checks.

Common errors

  • #NUM! if not valid octal

Use cases

  • Number conversion
  • Programming
  • Bit operations

Frequently asked questions

  • What is the OCT2BIN function in Excel? OCT2BIN converts an octal number to binary. The syntax is =OCT2BIN(number, [places]). Typical use cases include number conversion, programming, bit operations.
  • How do I use the OCT2BIN function? To use OCT2BIN, type =OCT2BIN( in a cell and provide the required arguments. Excel will show you the syntax and parameter hints as you type. Make sure to close the parentheses and press Enter to execute the function.
  • Why is OCT2BIN not working in my Excel? Common issues with OCT2BIN include #NUM! if not valid octal. Start by checking the syntax =OCT2BIN(number, [places]), then verify each referenced cell or range.

Editorial review

  • Reviewed by Excel.Directory Editorial Team. Updated May 2026.