Decimal to Binary Converter
Convert any whole decimal number into binary instantly. Get the final base 2 result, division-by-2 steps, place value explanation, and easy examples.
Convert Decimal to Binary
Enter a positive whole decimal number.
Step-by-step conversion
Quick Examples
How to Use This Decimal to Binary Converter
Enter a decimal number
Type any whole base 10 number, such as 10, 25, 100, or 255.
Click Convert
The tool instantly converts your decimal number into binary.
Check the steps
Review the divide-by-2 method to understand how the result was created.
Copy the result
Use the copy button to quickly copy the binary value.
What Is Decimal to Binary Conversion?
Decimal to binary conversion means changing a number from base 10 to base 2. Decimal numbers use ten digits from 0 to 9, while binary numbers use only two digits: 0 and 1.
Computers use binary because digital circuits work with two states: on and off. That is why decimal to binary conversion is important in computer science, programming, electronics, networking, and digital logic.
Decimal to Binary Formula
The common manual method is repeated division by 2. Divide the decimal number by 2, record the remainder, and continue dividing the quotient until it becomes 0. The binary answer is found by reading the remainders from bottom to top.
Example: Convert 25 to Binary
Divide 25 by 2. The remainders are 1, 0, 0, 1, and 1. When read from bottom to top, the result is 11001.
So, decimal 25 is equal to binary 11001.
Common Decimal to Binary Values
| Decimal | Binary |
|---|---|
| 1 | 1 |
| 2 | 10 |
| 4 | 100 |
| 8 | 1000 |
| 10 | 1010 |
| 16 | 10000 |
| 25 | 11001 |
| 100 | 1100100 |
| 255 | 11111111 |
Frequently Asked Questions
What is a decimal to binary converter?
A decimal to binary converter is a tool that changes a base 10 number, such as 25, into a base 2 number, such as 11001.
How do you convert decimal to binary manually?
Divide the decimal number by 2, record the remainder, divide the quotient again by 2, and repeat until the quotient becomes 0. Then read the remainders from bottom to top.
What is the binary of 10?
The binary value of decimal 10 is 1010 because 10 equals 8 plus 2, or 2ยณ plus 2ยน.
Can this converter handle large numbers?
Yes. This converter uses BigInt in the browser, so it can convert very large whole decimal numbers safely.
Does this tool support decimal fractions?
This version is designed for whole decimal integers only. Fractional decimal conversion can be added later as an advanced version.