
Convert binary text to decimal numbers in Excel. Useful when you want a normal numeric value from a bit pattern or status word.

BIN2DEC converts a binary number (base-2 text or digits) into its decimal integer equivalent (base-10). If you have binary bit strings or sensor status words and need a normal numeric value in your calculations, this is the function to use.
This is especially helpful when dealing with binary registers, hardware telemetry, network subnetting, or digital flags. BIN2DEC bridges the gap between binary representations and standard Excel mathematical operations.
Turns base-2 binary text/numbers into a base-10 decimal number.
Returns a standard numeric integer between -512 and 511.
=BIN2DEC(number)
number is the binary number you want to convert. It can be supplied as a text string or as numeric digits containing only 0 and 1.
0 and 1 are permitted. Any other character results in a #NUM! error.#NUM!.-512 (binary 1000000000) to 511 (binary 0111111111).| Formula | Binary Input | Decimal Output | Explanation |
|---|---|---|---|
=BIN2DEC("1011") |
1011 | 11 | 1*(8) + 0*(4) + 1*(2) + 1*(1) = 11 |
=BIN2DEC("11111111") |
11111111 | 255 | Standard 8-bit full byte value |
=BIN2DEC("1111111111") |
1111111111 | -1 | Two's complement 10-bit signed negative one |
=BIN2DEC("10000001") |
10000001 | 129 | Standard unsigned 8-bit conversion |
Spread the word with your peers and challenge your friends