Decimal To Binary Converter

Swap(Bin to Dec)

Convert from Decimal to Binary

Computers use binary numbers to represent anything. Only two digits are available (zero and one), but you can use these two values to represent bigger numbers. To convert a decimal number to binary, you should divide the number by two and the remainder is the bit and the quotient is used for the next iteration. In the next iteration, you divide the quotient by two and again you keep the quotient for the next iteration and the rest of the division represents the second digit of the binary number. The iterations will stop when the quotient is equal with zero.

Example of converting a decimal number (fifteen) to the binary representation
IterationDivisionQuotientRemainderPosition
115/2710
27/2311
33/2112
41/2013
The binary number1111