KickSolve • Free • Private

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 workingAll four bases at onceHandles very large numbers
Base 10
No number handy?
Binary resultBase 2

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.

Enter the decimal numberType or paste it into the box. Prefixes, spaces and a minus sign are fine. Valid digits are 0 to 9.
Read the binary resultThe converted number appears instantly, with the other bases below it.
Follow the workingThe step-by-step working appears under the result. Copy the result or any base with its Copy button, or use Swap to convert the other way.

Why choose KickSolve

Built for speed, privacy and clean results.

Private by designYour numbers are converted in your browser and never sent anywhere.
Instant with stepsThe binary result and the full working update as you type.
Any sizeExact big-integer math, so there is no rounding on very long numbers.
All four basesSee binary, octal, decimal and hex together and copy any of them.

What you can do with Decimal to Binary Converter

Everything this tool offers.

Everyday numbersCheck quantities and totals in the base you use daily.
Entering values for toolsMany forms and APIs expect plain decimal input.
Homework and exam answersVerify your working when practising base conversion.
Comparing machine and human valuesPut binary or hex values next to numbers you recognise.
Bit flags and bitmasksRead which bits are set in a flag or permission value.
IP addresses and subnet masksSee how addresses and masks look at the bit level.
Digital logic and CS coursesCheck homework on number systems and logic gates.
Debugging low-level valuesInspect register and memory contents bit by bit.

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.

DecimalBinary
00
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

Place values of binary

Each position is worth the base raised to a power.

PositionPowerValue in decimalIn binary
02^011
12^1210
22^24100
32^381000
42^41610000
52^532100000
62^6641000000
72^712810000000
82^8256100000000
92^95121000000000
102^10102410000000000
112^112048100000000000

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.