Decimal to Binary Converter

Convert any decimal number to binary instantly — pick a bit length, see every division step. Free, fast, no sign-up.

Bit length:
Binary result —

How to convert decimal to binary

  1. Divide the decimal number by 2 and write down the remainder (0 or 1).
  2. Divide the quotient by 2 and write down the new remainder.
  3. Repeat until the quotient is 0, then read the remainders from bottom to top.

Example: 13 → 13÷2=6 r1, 6÷2=3 r0, 3÷2=1 r1, 1÷2=0 r1 → 1101.

Quick reference table

DecimalBinary
00
11
210
311
4100
5101
81000
101010
151111
1610000
1001100100
25511111111

Frequently asked questions

How do I convert decimal to binary?

Repeatedly divide by 2, record each remainder, and read the remainders bottom-to-top. The converter above shows every step.

What is 10 in binary?

10 in decimal equals 1010 in binary.

How do I convert decimal to 8-bit binary?

Convert as normal, then pad with leading zeros to 8 digits — e.g. 10 becomes 00001010. Use the bit-length selector above.

Need the reverse? Try our binary to decimal converter.

More converters