Convert from Decimal (Base 10) to Binary (Base 2)

Perform the conversion of numbers between different numerical systems.

Decimal (Base 10) = Binary (Base 2)

Convert from Binary (Base 2) to Decimal (Base 10)

Information about conversion units:

About Decimal (Base 10)

The Decimal Number System is a positional numeral system and is the system that we all use without realizing why. The Decimal System uses 10 digits (from 0 to 9). By combining these digits, larger numbers can be expressed.

About Binary (Base 2)

The binary system is a numbering technique that uses only two digits, 0 and 1. It is commonly used in computing. This method relies solely on two symbols, the one and the zero. Any number can be expressed in both the decimal and binary systems.

Decimal (Base 10) vs Binary (Base 2)

Decimal (Base 10)Binary (Base 2)
00
11
210
311
4100
5101
6110
7111
81000
91001

¿How to convert from Decimal (Base 10) to Binary (Base 2)?

Note: To convert a decimal number (base 10) to binary number (base 2), follow these steps:

  1. Repeatedly divide the decimal number by 2 and record the remainders of the divisions.
  2. The process ends when the result of the division is 0.
  3. The remainders of the divisions must be written in reverse order as they represent the weights of the corresponding binary digits.

Applying these steps to the decimal number 159:

Below is an example of how to convert the decimal number 159 to binary:

  1. Divide 159 by 2: 159 ÷ 2 = 79 with a remainder of 1.
  2. Divide 79 by 2: 79 ÷ 2 = 39 with a remainder of 1.
  3. Divide 39 by 2: 39 ÷ 2 = 19 with a remainder of 1.
  4. Divide 19 by 2: 19 ÷ 2 = 9 with a remainder of 1.
  5. Divide 9 by 2: 9 ÷ 2 = 4 with a remainder of 1.
  6. Divide 4 by 2: 4 ÷ 2 = 2 with a remainder of 0.
  7. Divide 2 by 2: 2 ÷ 2 = 1 with a remainder of 0.
  8. Divide 1 by 2: 1 ÷ 2 = 0 with a remainder of 1.

The remainders of the divisions are written in reverse order: 10011111.

Therefore, the number 159 in decimal converts to 10011111 in binary.

Steps to convert a number from base 10 (Decimal) to base 2 (Binary).

Conversion table of Decimal (Base 10) to Binary (Base 2)

Decimal (Base 10) Binary (Base 2)
11
210
311
4100
5101
6110
7111
81000
91001
101010
111011
121100
131101
141110
151111
1610000
1710001
1810010
1910011
2010100
2110101
2210110
2310111
2411000
2511001
2611010
2711011
2811100
2911101
3011110
3111111
32100000
33100001
34100010
35100011
36100100
37100101
38100110
39100111
40101000
41101001
42101010
43101011
44101100
45101101
46101110
47101111
48110000
49110001
50110010
51110011
52110100
53110101
54110110
55110111
56111000
57111001
58111010
59111011
60111100
61111101
62111110
63111111
641000000
651000001
661000010
671000011
681000100
691000101
701000110
711000111
721001000
731001001
741001010
751001011
761001100
771001101
781001110
791001111
801010000
811010001
821010010
831010011
841010100
851010101
861010110
871010111
881011000
891011001
901011010
911011011
921011100
931011101
941011110
951011111
961100000
971100001
981100010
991100011
1001100100
1011100101
1021100110
1031100111
1041101000
1051101001
1061101010
1071101011
1081101100
1091101101
1101101110
1111101111
1121110000
1131110001
1141110010
1151110011
1161110100
1171110101
1181110110
1191110111
1201111000
1211111001
1221111010
1231111011
1241111100
1251111101
1261111110
1271111111
12810000000
12910000001
13010000010
13110000011
13210000100
13310000101
13410000110
13510000111
13610001000
13710001001
13810001010
13910001011
14010001100
14110001101
14210001110
14310001111
14410010000
14510010001
14610010010
14710010011
14810010100
14910010101
15010010110
15110010111
15210011000
15310011001
15410011010
15510011011
15610011100
15710011101
15810011110
15910011111
16010100000
16110100001
16210100010
16310100011
16410100100
16510100101
16610100110
16710100111
16810101000
16910101001
17010101010
17110101011
17210101100
17310101101
17410101110
17510101111
17610110000
17710110001
17810110010
17910110011
18010110100
18110110101
18210110110
18310110111
18410111000
18510111001
18610111010
18710111011
18810111100
18910111101
19010111110
19110111111
19211000000
19311000001
19411000010
19511000011
19611000100
19711000101
19811000110
19911000111
20011001000
20111001001
20211001010
20311001011
20411001100
20511001101
20611001110
20711001111
20811010000
20911010001
21011010010
21111010011
21211010100
21311010101
21411010110
21511010111
21611011000
21711011001
21811011010
21911011011
22011011100
22111011101
22211011110
22311011111
22411100000
22511100001
22611100010
22711100011
22811100100
22911100101
23011100110
23111100111
23211101000
23311101001
23411101010
23511101011
23611101100
23711101101
23811101110
23911101111
24011110000
24111110001
24211110010
24311110011
24411110100
24511110101
24611110110
24711110111
24811111000
24911111001
25011111010
25111111011
25211111100
25311111101
25411111110
25511111111
256100000000
257100000001
258100000010
259100000011
260100000100
261100000101
262100000110
263100000111
264100001000
265100001001
266100001010
267100001011
268100001100
269100001101
270100001110
271100001111
272100010000
273100010001
274100010010
275100010011
276100010100
277100010101
278100010110
279100010111
280100011000
281100011001
282100011010
283100011011
284100011100
285100011101
286100011110
287100011111
288100100000
289100100001
290100100010
291100100011
292100100100
293100100101
294100100110
295100100111
296100101000
297100101001
298100101010
299100101011
300100101100