XhCode Online Converter Tools
50%

Decimal to Binary


Enter the decimal number to decode

Size : 0 , 0 Characters

The number in binary representation:

Size : 0 , 0 Characters
Decimal to Binary

Decimal to binary conversion is the process of converting a decimal (base 10) number into its binary (base 2) equivalent. In binary, numbers are represented using only two digits: 0 and 1.

Steps to Convert a Decimal Number to Binary:
Divide the decimal number by 2.
Record the remainder (it will be either 0 or 1).
Divide the quotient (the result of the division) by 2 again.
Repeat the process until the quotient becomes 0.
The binary equivalent is the remainder in reverse order.
Example:
Convert decimal 13 to binary:

13 ÷ 2 = 6 remainder 1
6 ÷ 2 = 3 remainder 0
3 ÷ 2 = 1 remainder 1
1 ÷ 2 = 0 remainder 1 (stop when the quotient is 0)
Now, take the remainders in reverse order: 1101.

So, 13 in decimal is 1101 in binary.