ExcelFlux

BIN2DEC function

Conversion — a binary number to decimal.

Engineering

Where can you use it?

Engineering and technical analysis teams. If the calculation needs a number base, unit, complex number or special mathematical operation, check the input format against the example.

Scenario in the workbook

Decode binary register values into decimal. Only the digits 0 and 1 are valid.

A worked example from the workbook

RowA
6Input
71010
811111111
90
Record 1
=BIN2DEC(A7)

Expected result10

See the inputs and instructions for all 3 examples

Syntax

BIN2DEC(number)

Copyable formulas

English Excel · en-US
=BIN2DEC("1010")
Turkish Excel · tr-TR
=BIN2DEC("1010")

Expected result

10

Worked examples

Decode binary register values into decimal. Only the digits 0 and 1 are valid.

Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.

Row A
6 Input
7 1010
8 11111111
9 0
Case Formula Expected result
Record 1 =BIN2DEC(A7) 10
Record 2 =BIN2DEC(A8) 255
Record 3 =BIN2DEC(A9) 0
Microsoft Excel reference