How to convert decimal → binary Continue dividing the decimal number by 2 until the quotient is 0, and the company and the remainder are obtained. example) 24 / 2 = 12 excess 0 12 / 2 = 6 excess 0 6 / 2 = 3 excess 0 3 / 2 = 1 excess 1 1 / 2 = 0 excess 1 11000