CalcuClubCalcuClub Logo

Decimal to Binary Converter

Enter the decimal number you want to convert to binary.

The result will be displayed here.
Calculation Steps:
Calculation steps will be displayed here.

Table of Contents

How does decimal to binary conversion work?

The decimal system is base 10 and the binary system is base 2. To convert a decimal number to binary, repeatedly divide the number by 2 and record the remainders. Then, read the remainders in reverse order (from bottom to top) to obtain the binary number.

Decimal to binary conversion formula

To convert a decimal number N to binary:

N=bk2k+bk-12k-1+...+b121+b020

Where the coefficients bi (remainders) are 0 or 1, obtained by repeatedly dividing N by 2. The binary number is formed by reading the remainders from bottom to top.

Conversion process

  1. Divide the decimal number by 2 and note the remainder (0 or 1).
  2. Take the quotient obtained and repeat the division by 2 until you reach 0.
  3. Write the remainders in reverse order (from bottom to top) to obtain the binary number.

Examples

Example 1: convert 13₁₀ to binary
DivisionQuotientRemainder
13 ÷ 261
6 ÷ 230
3 ÷ 211
1 ÷ 201

Reading the remainders from bottom to top: 1101₂.

Result: 13₁₀ = 1101₂.

Example 2: convert 45₁₀ to binary
DivisionQuotientRemainder
45 ÷ 2221
22 ÷ 2110
11 ÷ 251
5 ÷ 221
2 ÷ 210
1 ÷ 201

Reading the remainders from bottom to top: 101101₂.

Result: 45₁₀ = 101101₂.

Decimal to binary conversion table

Quick reference values for small decimal numbers.

Decimal (base 10) to Binary (base 2) references
DecimalBinary
00
11
210
311
4100
5101
6110
7111
81000
91001
101010
1610000
32100000
641000000
12810000000
256100000000
5121000000000
102410000000000

Frequently Asked Questions

How do you convert a decimal number to binary?

To convert a decimal number to binary, repeatedly divide the number by 2 and record the remainders. Finally, read the remainders in reverse order (from bottom to top) to obtain the binary number.

What is the binary representation of 25?

The decimal number 25 converted to binary is 11001₂.

How was this page? Share feedback.