What is Decimal?

Decimal is our everyday number system. It uses ten digits: 0 to 9.

What is Binary?

Binary is a number system that uses only two digits 0 and 1. Computers use binary to process data.

How to Convert Decimal to Binary

To change a decimal number to binary:

  1. Divide the number by 2
  2. Keep track of the remainder (0 or 1)
  3. Divide the result by 2 again
  4. Repeat until you get 0
  5. Read the remainders from bottom to top

Step by Step Example How to Convert 13 to Binary

Division Result Remainder
13 ÷ 2 = 661
6 ÷ 2 = 330
3 ÷ 2 = 111
1 ÷ 2 = 001

Reading the remainders from bottom to top: 13 in decimal = 1101 in binary

Conversion Table

Decimal Binary Explanation
00000Zero in both systems
10001Smallest positive number
200102^1
300112^1 + 2^0
401002^2
501012^2 + 2^0
601102^2 + 2^1
701112^2 + 2^1 + 2^0
810002^3
910012^3 + 2^0
1010102^3 + 2^1
1110112^3 + 2^1 + 2^0
1211002^3 + 2^2
1311012^3 + 2^2 + 2^0
1411102^3 + 2^2 + 2^1
1511112^3 + 2^2 + 2^1 + 2^0