BinaryConverter

Decimal to Binary Converter

Convert decimal to binary instantly — type on the left and the result appears on the right. Everything runs in your browser, nothing is uploaded.

How to convert decimal to binary

Every whole number can be written in binary as a sum of powers of two. The quickest method by hand is repeated division by 2, reading the remainders back to front.

Method: repeated division by 2, reading the remainders from last to first.

  1. Divide by 2 and note the remainderDivide the decimal number by 2 and write down the remainder.
  2. Repeat until you reach 0Keep dividing each quotient by 2, noting each remainder.
  3. Read the remainders in reverseRead the remainders from last to first — that is your binary number.

Examples 26 = 11010255 = 11111111

Decimal to Binary Table

Common decimal values with their binary equivalents.

Decimal to Binary conversion table
DecimalBinary
00
11
210
311
4100
5101
6110
7111
81000
91001
101010
111011
121100
131101
141110
151111
1610000
2010100
32100000
50110010
641000000
1001100100
12810000000
25511111111
256100000000
5121000000000
10001111101000

Frequently asked questions

How do you convert decimal to binary?

Divide the number by 2 and note the remainder, repeat with each quotient until you reach 0, then read the remainders from last to first. 13 gives 1101.

What is 10 in binary?

10 in decimal is 1010 in binary, because 8 + 2 = 10.

What is 255 in binary?

255 is 11111111 — eight ones, the biggest value in one byte.