Decimal To Binary Converter
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.
Iteration | Division | Quotient | Remainder | Position |
1 | 15/2 | 7 | 1 | 0 |
2 | 7/2 | 3 | 1 | 1 |
3 | 3/2 | 1 | 1 | 2 |
4 | 1/2 | 0 | 1 | 3 |
The binary number | 1111 |