Help Centre › Functions & Formulas
For a full list of available calculation functions, please read What calculation functions are supported.
This article describes the formula syntax and usage of the BIN2DEC function.
Description
Converts a binary number to decimal.
Syntax
BIN2DEC(number)
The BIN2DEC function syntax has the following argument:
- number - Required. The binary number you want to convert to decimal. The number can be a text string or a number.
Remarks
- If the number is not a valid binary number, BIN2DEC returns the #NUM! error value.
- If the number is larger than 511, BIN2DEC returns the #NUM! error value.
- If the number is less than -512, BIN2DEC returns the #NUM! error value.
Example
| Formula | Description | Result |
| =BIN2DEC("1101") | Converts binary 1101 to decimal | 13 |
Errors
For a full list of formula errors, please read Formula errors.