Excel like a finance pro.
← The libraryPractice · 2 questions →
Engineering function
BIN2DEC
Converts a binary number to decimal.
Rarely usedDifficulty 1200 · ProficientUsage rank #335 of 520
When to use it
Converts a binary number (up to 10 bits) to decimal. Ten bits with a leading 1 are read as negative two's complement.
The shape of it
- Syntax
=BIN2DEC(number)
Worked examples
Small binary
=BIN2DEC("1010") → 10
Ten.
Unquoted
=BIN2DEC(101) → 5
A number typed without quotes works too.
Negative
=BIN2DEC("1111111111") → -1
Ten ones is -1 in two's complement.
Worth knowing
- DECIMAL(text,2) handles longer binary strings without the sign rule.
- DEC2BIN reverses it.
- Leading zeros are fine.
Where it goes wrong
- #NUM! for more than 10 characters or a digit other than 0 or 1.
- Values above 511 come back negative.
Related
Learn the moves here — or let Wauvel run them on your numbers.
Meet your AI CFO →One CFO-grade Excel tip a week
A short, practical email for finance operators — functions, shortcuts, and the moves that save an afternoon. Free, unsubscribe anytime.