Quick, clean, and to the point

Excel DEC2BIN Function

Excel DEC2BIN function
The Excel DEC2BIN function converts a decimal number to its binary equivalent.
Converts a decimal number to binary
Return value 
Binary number
=DEC2BIN (number, [places])
  • number - The decimal number you want to convert to binary.
  • places - [optional] Pads the resulting binary number with zeros up to the specified number of digits. If omitted returns the least number of characters required to represent the number.
Usage notes 

The input must be a valid number within the range [ -512, 511 ].


DEC2BIN error examples

Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.