How to convert decimal to binary with steps

Repeatedly divide the integer by 2 and read the remainders from last to first, or subtract the largest power of two until you reach zero.

Detailed answer

For whole numbers: divide by 2, record each remainder (0 or 1), then read the remainders bottom-up. Example: 13 → 1101₂. Our Decimal to Binary converter applies the same integer rules as the hub: enter a decimal value and the tool shows the exact binary string (with optional 0b). For very large integers, use the same page—parsing is integer-only, so fractional decimals are not accepted as a single “decimal fraction” value.

Relationship context

Decimal and binary are two radices for the same integer; switching radix does not change the value, only how it is written. Binary aligns with bit positions, which is why hardware and bitwise logic prefer it.

Quick conversion table

Decimal (input)Binary (output)
00
10b1
20b10
30b11
40b100
50b101
60b110
70b111
80b1000
90b1001
100b1010
150b1111
160b10000
Decimal (input)Binary (output)
110b1011
320b100000
640b1000000
1280b10000000
2560b100000000
5120b1000000000
10240b10000000000
20480b100000000000
40960b1000000000000
81920b10000000000000
163840b100000000000000
327680b1000000000000000
655350b1111111111111111

More Decimal converters

Dedicated pages from Decimal to every other format (binary, octal, decimal, hexadecimal, character), with the same parsing rules as the main Number System Converter.