Decimal to Binary Converter
Convert decimal numbers to binary instantly. For example, decimal 156 equals 10011100 in binary. See the working step by step, and the result in all four bases.
Step-by-step working
How the answer is reached, one step at a time.
All bases
The same number in every base. Copy any row.
How to use Decimal to Binary Converter on KickSolve
Three quick steps, no account needed.
Why choose KickSolve
Built for speed, privacy and clean results.
What you can do with Decimal to Binary Converter
Everything this tool offers.
About Decimal to Binary Converter on KickSolve
What it does and how to get the best results.
How to convert decimal to binary
Divide the decimal number by 2, write down the remainder, and repeat with the quotient until it reaches 0. The remainders, read from last to first, are the binary digits. The worked example below shows every step.
Decimal digits and place values
Decimal uses ten digits, 0 to 9, and each position is worth a power of 10.
Why binary is used
Computers store information as on and off electrical states, so binary is their native number system.
About this converter
It uses exact big-integer arithmetic. Whole numbers only: negative numbers work with a leading minus sign and prefixes such as 0b, 0o and 0x are accepted. Fractions are not supported. Everything runs in your browser.
Working with other number systems? Try Decimal to Octal or Decimal to Hex, convert back with Binary to Decimal, or use the Number Base Converter for any base from 2 to 36.
Read the KickSolve privacy policy for details about the site itself.
Worked example: decimal 156 to binary
The same steps the converter shows for any number.
Divide by 2 again and again and note each remainder: 156 ÷ 2 = 78 remainder 0 78 ÷ 2 = 39 remainder 0 39 ÷ 2 = 19 remainder 1 19 ÷ 2 = 9 remainder 1 9 ÷ 2 = 4 remainder 1 4 ÷ 2 = 2 remainder 0 2 ÷ 2 = 1 remainder 0 1 ÷ 2 = 0 remainder 1 Read the remainders from bottom to top: 10011100
So decimal 156 equals binary 10011100.
Decimal to Binary conversion table (0 to 32)
Quick reference for small numbers.
| Decimal | Binary |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 10 |
| 3 | 11 |
| 4 | 100 |
| 5 | 101 |
| 6 | 110 |
| 7 | 111 |
| 8 | 1000 |
| 9 | 1001 |
| 10 | 1010 |
| 11 | 1011 |
| 12 | 1100 |
| 13 | 1101 |
| 14 | 1110 |
| 15 | 1111 |
| 16 | 10000 |
| 17 | 10001 |
| 18 | 10010 |
| 19 | 10011 |
| 20 | 10100 |
| 21 | 10101 |
| 22 | 10110 |
| 23 | 10111 |
| 24 | 11000 |
| 25 | 11001 |
| 26 | 11010 |
| 27 | 11011 |
| 28 | 11100 |
| 29 | 11101 |
| 30 | 11110 |
| 31 | 11111 |
| 32 | 100000 |
Place values of binary
Each position is worth the base raised to a power.
| Position | Power | Value in decimal | In binary |
|---|---|---|---|
| 0 | 2^0 | 1 | 1 |
| 1 | 2^1 | 2 | 10 |
| 2 | 2^2 | 4 | 100 |
| 3 | 2^3 | 8 | 1000 |
| 4 | 2^4 | 16 | 10000 |
| 5 | 2^5 | 32 | 100000 |
| 6 | 2^6 | 64 | 1000000 |
| 7 | 2^7 | 128 | 10000000 |
| 8 | 2^8 | 256 | 100000000 |
| 9 | 2^9 | 512 | 1000000000 |
| 10 | 2^10 | 1024 | 10000000000 |
| 11 | 2^11 | 2048 | 100000000000 |
Frequently asked questions
Quick answers.
How do I convert decimal to binary?
Divide the decimal number by 2, write down the remainder, and repeat with the quotient until it reaches 0. The remainders, read from last to first, are the binary digits.
What is 16 in binary?
Decimal 16 equals 10000 in binary.
What is 128 in binary?
Decimal 128 equals 10000000 in binary.
What is 1000 in binary?
Decimal 1000 equals 1111101000 in binary.
How do I convert binary back to decimal?
Use the swap button above to open the binary to decimal converter, or follow the same method in reverse.
What digits are valid in decimal?
Decimal numbers use 0 to 9.
What is decimal?
Decimal uses ten digits, 0 to 9, and each position is worth a power of 10.
Why is binary used?
Computers store information as on and off electrical states, so binary is their native number system.
Does it support negative numbers or fractions?
Negative whole numbers work with a leading minus sign. Fractions are not supported.
Does it show the working?
Yes. Under the result, the converter lists each step it used to convert decimal to binary, so you can check your own homework or learn the method.
Can I see the result in other bases?
Yes. The All bases table shows the same number in binary, octal, decimal and hex, with a Copy button on every row.
Is the converter free and private?
Yes. It is free with no signup, and all conversion happens in your browser.
More free tools from KickSolve
Related everyday tools.