BIN2DEC Function in Excel: Binary to Decimal

BIN2DEC Function in Excel: Binary to Decimal featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 28 September 2026

EngineeringLevel: IntermediateAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. BIN2DEC in practice
  5. Where you will use it
  6. Worked example
  7. Mistakes people make
  8. Related functions
  9. Continue learning

BIN2DEC reads binary text (up to 10 digits) and returns the number.

Advertisement

Syntax

=BIN2DEC(number)
Argument What it means
number Binary text of up to 10 characters.

Examples

Example 1

=BIN2DEC("1101")

Returns 13.

BIN2DEC in practice

Where you will use it

  • Read binary flags from device logs
  • Check exam answers in number-system lessons
  • Convert permission bits to numbers

Worked example

BinaryFormulaResult
1010=BIN2DEC(A2)10
11111111=BIN2DEC(A3)255
1111111111=BIN2DEC(A4)-1

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
More than 10 digitsBIN2DEC takes up to 10 bits; use DECIMAL(text,2) for longer values
10-digit values starting with 1 are negative1111111111 is -1 (two's complement), not 1023

DEC2BIN Β· DECIMAL

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

  • πŸ“—
    Practice workbook: Engineering & conversion15 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 34 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong