totn Excel Functions

MS Excel: How to use the BIN2DEC Function (WS)

This Excel tutorial explains how to use the Excel BIN2DEC function with syntax and examples.

Description

The Microsoft Excel BIN2DEC function converts a binary number to a decimal number.

The BIN2DEC function is a built-in function in Excel that is categorized as an Engineering Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the BIN2DEC function can be entered as part of a formula in a cell of a worksheet.

Syntax

The syntax for the BIN2DEC function in Microsoft Excel is:

BIN2DEC( binary_number )

Parameters or Arguments

binary_number
The binary number that you wish to convert to a decimal number.

Returns

The BIN2DEC function returns a numeric value.

Applies To

  • Excel for Office 365, Excel 2019, Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007

Type of Function

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel BIN2DEC function examples and explore how to use the BIN2DEC function as a worksheet function in Microsoft Excel:

Microsoft Excel

Based on the Excel spreadsheet above, the following BIN2DEC examples would return:

=BIN2DEC(A1)
Result: 7

=BIN2DEC(111)
Result: 1

=BIN2DEC(A2)
Result: 5

=BIN2DEC(101)
Result: 5

=BIN2DEC(10)
Result: 2