Binary/Octal/Decimal/hexadecimal converter

Convert Decimal to Binary.

Decimal → Binary
Before conversion:

How to use Base Converter

Enter the Decimal value you want to convert and click the "Convert" button.

The input value will be calculated and the converted result will be displayed in Binary.

The calculation method for conversion is also displayed.

Numerical input range

Decimal:0–9

Conversion by base number

How to convert from Decimal to Binary

Method of calculation

To convert a decimal number to a binary number, divide the decimal number by 2 until it becomes 0, and then get Remainder.

  • 1. Divide the decimal number by 2 to get Quotient and Remainder.
  • 2. Divide the next Quotient by 2 to get Quotient and Remainder.
  • 3. Repeat this until Quotient becomes 0.
  • 4. The number obtained by reversing Remainder is the result of converting it to binary.

Calculation example

Example: Convert Decimal "22" to Binary

FormulaQuotientRemainder
22÷2110
11÷251
5÷221
2÷210
1÷201

The converted value is "10110", which is the result of reversing the remainder numbers.

Base ConverterBase Converter

CalculatorSimple Calculator

Save results in a temporary