Decimal to Binary Converter
Convert decimal to binary instantly with accurate results. Get binary code quickly from any decimal number with our reliable converter for your conversion needs.
Decimal to Binary Converter
Enter a decimal number to convert it to binary.
Enter the decimal number you want to convert (non-negative integer).
How to Convert Decimal to Binary?
To convert decimal to binary, repeatedly divide the decimal number by 2 and record the remainder each time. The binary result is the remainders read in reverse order (from last to first). For example: 42₁₀ ÷ 2 → remainders 0,1,0,1,0,1 → 101010₂.
What is Decimal?
Definition
Decimal (base-10) is the standard numeral system used in everyday life. It uses ten digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.
Common Uses
- Everyday counting and arithmetic
- Financial calculations and currency
- Measuring quantities and dimensions
- Scientific calculations
- Data representation in most applications
History
The decimal system is believed to have originated from counting on fingers (humans typically have 10 fingers), making it the most intuitive and widely adopted numeral system.
What is Binary?
Definition
Binary (base-2) is a numeral system that uses only two digits: 0 and 1. It is the fundamental language of computers and digital electronics.
Common Uses
- Computer data storage and processing
- Digital electronics and circuits
- Network communication protocols
- Machine code and assembly language
- Boolean logic and decision-making
- Error detection and correction codes
Structure
Each binary digit (bit) represents a power of 2. From right to left: 2⁰, 2¹, 2², 2³, etc. For example, 1010₂ = 1×2³ + 0×2² + 1×2¹ + 0×2⁰ = 8 + 0 + 2 + 0 = 10₁₀.
Decimal to Binary Conversion Table
This table shows common decimal to binary conversions for quick reference.
- Decimal (Dec)
- Binary (Bin)
- 0
- 0
- 1
- 1
- 2
- 10
- 3
- 11
- 4
- 100
- 5
- 101
- 8
- 1000
- 10
- 1010
- 12
- 1100
- 15
- 1111
- 16
- 10000
- 32
- 100000
- 42
- 101010
- 64
- 1000000
- 128
- 10000000
- 255
- 11111111
- 512
- 1000000000
- 1024
- 10000000000
- 2048
- 100000000000
- 4096
- 1000000000000