Decimal to Binary Converter
Convert decimal to binary instantly. Free online tool with batch support, step-by-step explanation, and no signup required.
Result will appear here…
Decimal to Binary Conversion Examples
| Decimal Input | Binary Result |
|---|---|
| 10 | 1010 |
| 42 | 101010 |
| 255 | 11111111 |
| 1024 | 10000000000 |
| 65535 | 1111111111111111 |
How to Convert Decimal to Binary
- 1Start with the decimal number in base 10.
- 2Divide the number by 2 and write down the remainder, either 0 or 1.
- 3Divide the quotient by 2 again.
- 4Repeat until the quotient becomes 0.
- 5Read the remainders from bottom to top to get the binary result.
- 6Example: decimal 10 → remainders 0, 1, 0, 1, read upward as 1010.
Frequently Asked Questions
How do I convert decimal to binary?⌄
Divide the decimal number by 2, record each remainder, and repeat with the quotient until it reaches 0. Read the remainders from bottom to top to get the binary number.
What is decimal 255 in binary?⌄
Decimal 255 equals binary 11111111. It is 2⁸ - 1, so all eight lower bits are set to 1.
Why is decimal 10 written as 1010 in binary?⌄
Binary 1010 means 1×2³ + 0×2² + 1×2¹ + 0×2⁰, which equals 8 + 2 = 10.
Can I convert multiple decimal numbers to binary?⌄
Yes. Enable batch mode and enter one or more decimal values separated by lines, spaces, commas, or semicolons.
Does binary output include leading zeros?⌄
The converter shows the shortest binary representation by default. If you need fixed-width output, add leading zeros manually for formats like 8-bit, 16-bit, or 32-bit binary.