Home » Developer Tools » Decimal to Binary Converter

Free Decimal to Binary Converter

Decimal to binary converter is used to convert decimal numbers into binary code. This tool is a simple answer of "convert decimal to binary".

Last updated 19 November 2026

Bit grid: click a bit to flip it

128
64
32
16
8
4
2
1

Decimal: 0

Quick Answers: Decimal 0 to 15 in Binary

The numbers people look up most. For every value up to 255, see the full table below.

DecimalBinaryDecimalBinary
0081000
1191001
210101010
311111011
4100121100
5101131101
6110141110
7111151111

See the full 0 to 255 table in the Decimal to Binary Conversion Table below.

BotixTech's Decimal to Binary Converter is a powerful online tool designed to help you convert decimal numbers into binary code quickly and accurately. Whether you are a student, programmer, or tech enthusiast, this tool simplifies the process of converting numbers without requiring any software installation or complex programming knowledge.

With our online decimal to binary tool, you can easily convert decimal values into binary equivalents in just a few clicks. This converter is perfect for anyone who needs accurate binary representations for computing, coding, or educational purposes.

How to Use BotixTech’s Decimal to Binary Converter

  1. Visit the Decimal to Binary Converter page on BotixTech.com.
  2. Enter the decimal number you want to convert into the input field.
  3. Click the “Convert to Binary” button.
  4. Your binary code will appear instantly in the result section.

For users who want to convert binary back to decimal, simply enter a binary number and click “Convert to Number”. The converter will display the decimal equivalent immediately.

Why Use BotixTech’s Decimal to Binary Converter?

  • User-Friendly Interface: The tool’s clean and intuitive interface ensures that even beginners can use it effortlessly.
  • Instant Conversion: With real-time results, you don’t have to wait for long computations.
  • Accuracy: BotixTech’s converter uses precise algorithms to deliver accurate binary results every time.
  • Support for Large Numbers: This tool can handle large decimal numbers efficiently, which makes it reliable for advanced users.
  • No Software Required: Since it’s an online tool, you can access it from any device with a browser.

Key Features of the Decimal to Binary Converter

  • Convert decimal numbers to binary code quickly.
  • Convert binary numbers back to decimal with ease.
  • Works on desktop, tablet, and mobile devices.
  • Easy-to-use interface suitable for students, developers, and professionals.
  • Free and accessible online with no installation required.

Benefits of Using BotixTech Tools

BotixTech provides a wide range of online tools designed to simplify digital tasks. Our Decimal to Binary Converter is part of our growing collection of online utilities, making it easier for users to perform conversions, compress files, and work with text and numbers efficiently.

  • Reliable Performance: Supports both small and large number conversions accurately.
  • Cross-Platform Accessibility: Works on any modern device with a browser.
  • Fast and Intuitive: Simple tools to complete technical and educational tasks efficiently.

Conclusion

The Decimal to Binary Converter on BotixTech.com is a must-have tool for anyone who frequently works with decimal and binary numbers. It provides fast, accurate, and easy conversions without the need for complicated software. Whether you’re learning binary numbers, coding, or performing calculations, this tool is an essential part of your digital toolkit.

Visit BotixTech.com today and experience the simplicity, speed, and reliability of our Decimal to Binary Converter along with a wide array of other useful online tools.

Decimal to Binary: Quick Answer

42 in binary is 101010. Divide by 2 and read the remainders last to first: 42 divided by 2 is 21 remainder 0, 21 divided by 2 is 10 remainder 1, 10 divided by 2 is 5 remainder 0, 5 divided by 2 is 2 remainder 1, 2 divided by 2 is 1 remainder 0, 1 divided by 2 is 0 remainder 1. Reading the remainders from the last row to the first gives 101010.

Check it by place value: 32 plus 8 plus 2 equals 42, and those are the positions with a 1 in 101010. The same method works for any whole number. For words instead of numbers, use the text to binary converter, and to decode a binary number back to decimal, use the binary to decimal converter.

Powers of 2, So You Can Check Any Answer by Hand

Each binary position is worth twice the one to its right: 1, 2, 4, 8, 16, 32, 64, 128, 256. A 1 in a position adds that value, a 0 adds nothing. So 255 in binary is 11111111 because 128 plus 64 plus 32 plus 16 plus 8 plus 4 plus 2 plus 1 equals 255, and 1000 in binary is 1111101000 because 512 plus 256 plus 128 plus 64 plus 32 plus 8 equals 1000.

Decimal to Binary: A Worked Example

To convert a decimal number to binary by hand, you divide the number by 2 repeatedly and write down the remainders. Then you read the remainders from bottom to top. Here is the step-by-step conversion of 13 to binary:

  1. 13 ÷ 2 = 6, remainder 1
  2. 6 ÷ 2 = 3, remainder 0
  3. 3 ÷ 2 = 1, remainder 1
  4. 1 ÷ 2 = 0, remainder 1

Reading the remainders from bottom to top gives 1101, so 13 in decimal equals 1101 in binary. The converter above performs these same steps instantly - try entering 13 to see the result.

The Division by 2 Method

The division by 2 method is the standard way to convert a decimal number to binary by hand. Divide the number by 2, write down the remainder, then divide the quotient by 2 again. Keep going until the quotient reaches 0. The remainders, read from the last row to the first row, spell out the binary number. Every remainder is 0 or 1, which is exactly what a binary digit can be.

This method works for any whole number, and the tool above gives the same answer instantly. Work through one example by hand, then check your answer in the tool. If the two answers match, you know you have the method right.

More Worked Examples

Here are four more numbers worked out with the same division method. Each one shows the remainders that build the answer.

  • 25 is 11001. 25 divided by 2 is 12 remainder 1, 12 divided by 2 is 6 remainder 0, 6 divided by 2 is 3 remainder 0, 3 divided by 2 is 1 remainder 1, 1 divided by 2 is 0 remainder 1. Read the remainders from the last row to the first row to get 11001. Check it: 16 plus 8 plus 1 equals 25.
  • 100 is 1100100. 100 divided by 2 is 50 remainder 0, 50 divided by 2 is 25 remainder 0, 25 divided by 2 is 12 remainder 1, 12 divided by 2 is 6 remainder 0, 6 divided by 2 is 3 remainder 0, 3 divided by 2 is 1 remainder 1, 1 divided by 2 is 0 remainder 1. Read the remainders from the last row to the first row to get 1100100. Check it: 64 plus 32 plus 4 equals 100.
  • 255 is 11111111. 255 is one less than 256, so it fills all 8 bits with 1s. Add the place values: 128 plus 64 plus 32 plus 16 plus 8 plus 4 plus 2 plus 1 equals 255.
  • 156 is 10011100. 156 divided by 2 is 78 remainder 0, 78 divided by 2 is 39 remainder 0, 39 divided by 2 is 19 remainder 1, 19 divided by 2 is 9 remainder 1, 9 divided by 2 is 4 remainder 1, 4 divided by 2 is 2 remainder 0, 2 divided by 2 is 1 remainder 0, 1 divided by 2 is 0 remainder 1. Read the remainders from the last row to the first row to get 10011100. Check it: 128 plus 16 plus 8 plus 4 equals 156.

Try any of these in the tool above. Enter the decimal number and click Convert to Binary, or enter the binary number and click Convert to Number to go back the other way.

Powers of 2 Table

Each binary position is a power of 2. This table lists the first eleven powers, from 2 to the power 0 up to 2 to the power 10. A number that needs 9 bits, such as 256, is the first value that does not fit in one byte.

PowerValue
2 to the power 01
2 to the power 12
2 to the power 24
2 to the power 38
2 to the power 416
2 to the power 532
2 to the power 664
2 to the power 7128
2 to the power 8256
2 to the power 9512
2 to the power 101024

Decimal to Binary Conversion Table

The table below lists every whole number from 0 to 255 with its binary value and its hex value. Each row uses 8 bits at most, so the table covers every value one byte can hold. You can verify any row instantly with the converter above.

Decimal Binary Hexadecimal
000
111
2102
3113
41004
51015
61106
71117
810008
910019
101010A
111011B
121100C
131101D
141110E
151111F
161000010
171000111
181001012
191001113
201010014
211010115
221011016
231011117
241100018
251100119
26110101A
27110111B
28111001C
29111011D
30111101E
31111111F
3210000020
3310000121
3410001022
3510001123
3610010024
3710010125
3810011026
3910011127
4010100028
4110100129
421010102A
431010112B
441011002C
451011012D
461011102E
471011112F
4811000030
4911000131
5011001032
5111001133
5211010034
5311010135
5411011036
5511011137
5611100038
5711100139
581110103A
591110113B
601111003C
611111013D
621111103E
631111113F
64100000040
65100000141
66100001042
67100001143
68100010044
69100010145
70100011046
71100011147
72100100048
73100100149
7410010104A
7510010114B
7610011004C
7710011014D
7810011104E
7910011114F
80101000050
81101000151
82101001052
83101001153
84101010054
85101010155
86101011056
87101011157
88101100058
89101100159
9010110105A
9110110115B
9210111005C
9310111015D
9410111105E
9510111115F
96110000060
97110000161
98110001062
99110001163
100110010064
101110010165
102110011066
103110011167
104110100068
105110100169
10611010106A
10711010116B
10811011006C
10911011016D
11011011106E
11111011116F
112111000070
113111000171
114111001072
115111001173
116111010074
117111010175
118111011076
119111011177
120111100078
121111100179
12211110107A
12311110117B
12411111007C
12511111017D
12611111107E
12711111117F
1281000000080
1291000000181
1301000001082
1311000001183
1321000010084
1331000010185
1341000011086
1351000011187
1361000100088
1371000100189
138100010108A
139100010118B
140100011008C
141100011018D
142100011108E
143100011118F
1441001000090
1451001000191
1461001001092
1471001001193
1481001010094
1491001010195
1501001011096
1511001011197
1521001100098
1531001100199
154100110109A
155100110119B
156100111009C
157100111019D
158100111109E
159100111119F
16010100000A0
16110100001A1
16210100010A2
16310100011A3
16410100100A4
16510100101A5
16610100110A6
16710100111A7
16810101000A8
16910101001A9
17010101010AA
17110101011AB
17210101100AC
17310101101AD
17410101110AE
17510101111AF
17610110000B0
17710110001B1
17810110010B2
17910110011B3
18010110100B4
18110110101B5
18210110110B6
18310110111B7
18410111000B8
18510111001B9
18610111010BA
18710111011BB
18810111100BC
18910111101BD
19010111110BE
19110111111BF
19211000000C0
19311000001C1
19411000010C2
19511000011C3
19611000100C4
19711000101C5
19811000110C6
19911000111C7
20011001000C8
20111001001C9
20211001010CA
20311001011CB
20411001100CC
20511001101CD
20611001110CE
20711001111CF
20811010000D0
20911010001D1
21011010010D2
21111010011D3
21211010100D4
21311010101D5
21411010110D6
21511010111D7
21611011000D8
21711011001D9
21811011010DA
21911011011DB
22011011100DC
22111011101DD
22211011110DE
22311011111DF
22411100000E0
22511100001E1
22611100010E2
22711100011E3
22811100100E4
22911100101E5
23011100110E6
23111100111E7
23211101000E8
23311101001E9
23411101010EA
23511101011EB
23611101100EC
23711101101ED
23811101110EE
23911101111EF
24011110000F0
24111110001F1
24211110010F2
24311110011F3
24411110100F4
24511110101F5
24611110110F6
24711110111F7
24811111000F8
24911111001F9
25011111010FA
25111111011FB
25211111100FC
25311111101FD
25411111110FE
25511111111FF

How Decimal Fractions Are Stored: IEEE 754

Computers store fractions like 0.1 as IEEE 754 floating point numbers, not as the division by 2 digits above. A 64 bit double keeps a sign bit, an exponent and a mantissa, which is why 0.1 has no exact binary form and why 0.1 plus 0.2 gives 0.30000000000000004 in many programming languages. This converter works with whole numbers only, so it does not do IEEE 754 conversion. To convert a fraction by hand, convert the whole number part with the division by 2 method, then convert the fraction part by multiplying by 2 again and again and reading the whole number part of each result.

Frequently Asked Questions

Type the decimal number into the input field and click “Convert to Binary”. The tool repeatedly divides the number by 2 and reads the remainders from bottom to top to produce the binary result instantly.

Yes. Enter a binary number (digits 0 and 1 only) and click “Convert to Number” to get the decimal equivalent immediately.

Yes. The converter handles large decimal numbers efficiently and returns accurate binary results for advanced computing and educational use.

Yes. It is completely free to use online with no signup, no installation, and no limits.

No. This tool works with whole numbers only. If you type a number with a decimal point, the tool reads only the whole number part and drops the rest, so 10.9 converts as 10 and gives 1010. To convert a fraction by hand, convert the whole number part and the fraction part separately: multiply the fraction by 2 again and again and read the whole number part of each result.

Not as two's complement. If you type a negative number, the tool puts a minus sign in front of the binary digits, so -5 gives -101. That is a sign and magnitude reading, not the two's complement form that computers store. For two's complement, work out the positive value first, then flip every bit and add 1 within the bit width you need.

The tool handles very large whole numbers, but results stay exact only up to 9,007,199,254,740,991, which is 2 to the power 53 minus 1. Above that value, browsers store numbers as 64 bit floating point values, so the last digits can lose precision and the binary result may be rounded. For everyday numbers up to that limit, the result is exact.

Related tool: Text to Binary Converter - convert words and text directly into binary code.