How to use the Decimal to Binary Converter
- Type a decimal number – a whole number or one with a decimal point.
- Read the binary result, grouped in fours so it is easy to check, and copy it.
- Follow the divide by 2 table (and the multiply by 2 table for fractions) to see how it was worked out.
- Use the swap button to convert binary back to decimal.
About this tool
Convert decimal to binary and see the working, step by step. Type any number – 45, 255, 2026 or 0.625 – and the binary result appears instantly, with a table showing every division so you understand the answer rather than just copying it.
For whole numbers the converter uses the divide by 2 method: divide the number by 2, write down the remainder (0 or 1), divide the quotient by 2 again and repeat until you reach 0. Read the remainders from the bottom up and you have the binary number. For example, 13 ÷ 2 = 6 r 1, 6 ÷ 2 = 3 r 0, 3 ÷ 2 = 1 r 1, 1 ÷ 2 = 0 r 1, so 13 is 1101.
Decimal fractions use the opposite method: multiply the part after the point by 2, and the whole number you get (0 or 1) is the next bit. That is how you turn a fraction to binary – 0.625 becomes 0.101. Some fractions, like 0.1, never end in binary, so the converter rounds them and tells you. It also handles negative numbers and values far beyond a normal calculator, and shows the hexadecimal result alongside.