Excel BIN2DEC Function
The BIN2DEC function converts a binary number to a decimal number.
Syntax
=BIN2DEC (number)
Arguments
- Number (required): The binary number you want to convert to the decimal equivalent.
Return value
The BIN2DEC function returns a numeric value.
Function notes
- Number, the only argument in the BIN2DEC function, should be supplied as a numeric value.
- The #NUM! error value occurs if:
- the supplied number argument is not recognized as a binary number.
- the supplied number argument contains more than 10 characters.
Examples
Supposing, you want to convert the binary numbers in the table below to decimal numbers. Please do as follows.
1. Copy the formula below into cell D5.
=BIN2DEC (B5)
2. Then drag the fill handle down to the cells where you want to apply this formula too. The results are as the following screenshot shows.
Notes:
- We can directly input value in the number argument in the formula. For example, the formula in cell D5 can be changed to:
=BIN2DEC (1)
Relative Functions:
-
Excel EVEN Function
The EVEN function rounds numbers away from zero to the nearest even integer.
-
Excel EXP Function
The EXP function returns the result of the constant e raised to the nth power.
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)
- One second to switch between dozens of open documents!
- Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
- Increases your productivity by 50% when viewing and editing multiple documents.
- Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
