Decimal → Binary
Convert decimal numbers to binary representation with step-by-step division-by-2 process.
n_{10} = b_k b_{k-1} \dots b_1 b_0 \text{ where } b_i \in \{0, 1\}
Result
Step-by-Step Calculation & Explanation
To convert a decimal integer to binary, divide the number by 2, write down the remainder (0 or 1), and repeat the process with the quotient until the quotient is 0. Reading the remainders from bottom to top yields the binary value.