Decimal to Binary Converter
Convert decimal numbers to binary instantly with step-by-step explanations.
Result:
How it's done:
Common Decimal to Binary Examples
5 ÷ 2 = 2 remainder 1
2 ÷ 2 = 1 remainder 0
1 ÷ 2 = 0 remainder 1
12 ÷ 2 = 6 remainder 0
6 ÷ 2 = 3 remainder 0
3 ÷ 2 = 1 remainder 1
1 ÷ 2 = 0 remainder 1
All positions filled with 1s
500 ÷ 2 = 250 remainder 0
250 ÷ 2 = 125 remainder 0
125 ÷ 2 = 62 remainder 1
62 ÷ 2 = 31 remainder 0
31 ÷ 2 = 15 remainder 1
15 ÷ 2 = 7 remainder 1
7 ÷ 2 = 3 remainder 1
3 ÷ 2 = 1 remainder 1
1 ÷ 2 = 0 remainder 1
Frequently Asked Questions
What is a decimal number?
A decimal number is a number expressed in the base-10 numeral system, which uses ten digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. Each position represents a power of 10, starting from the rightmost position (10⁰).
How do I convert decimal to binary?
To convert decimal to binary, repeatedly divide the decimal number by 2 and record the remainders. Read the remainders from bottom to top to get the binary representation.
Why convert decimal to binary?
Converting decimal to binary is essential in computer science, digital electronics, and programming. Computers process data in binary format, so understanding this conversion is fundamental to computer operations.