- Open the Decimal to Binary Converter and find the main field: Decimal number.
- Type your values in that field. The placeholder shows an example format (42).
- Click "Convert" to compute the result in your browser.
- Read the result in the Result section. Use Copy to paste the output elsewhere.
Decimal to Binary Converter
Convert decimal numbers (base-10) to binary numbers (base-2) with this simple online tool.
Calculator
Enter the values described below, then run. Use Load sample to try a prefilled example when available.
Format hints
42
How to Use This Tool
Learn More About Decimal to Binary Converter
Decimal to Binary Conversion
To convert a decimal number to binary, repeatedly divide the decimal number by 2, noting the remainder at each step. The binary digits are the remainders, read in reverse order.
Example
Decimal: 10
10 / 2 = 5, remainder 0 5 / 2 = 2, remainder 1 2 / 2 = 1, remainder 0 1 / 2 = 0, remainder 1
Binary: 1010 (reading remainders in reverse)
About
Convert decimal numbers (base-10) to binary numbers (base-2) with this simple online tool. Just enter a decimal integer, and the converter will instantly display its binary equivalent.
Examples
Valid decimal
Decimal number
Input
10
Output
Shown in the Result area after you click the action button.
Zero
Decimal number
Input
0
Output
Shown in the Result area after you click the action button.
Use Cases
- Computer science education and learning about binary numbers
- Digital circuit design and analysis
- Low-level programming and embedded systems
- Understanding how computers store data