Binary to Decimal Converter
Last updated:
How to Use This Calculator
Step 1: Select Binary→Decimal or Decimal→Binary.
Step 2: Enter your number (binary: 0s and 1s only).
Step 3: Click Calculate for result plus hex equivalent.
Step 4: Review positional math breakdown.
What Is Binary?
Binary (base-2) is how computers store data — sequences of 0s and 1s. Each bit = on/off state. Decimal (base-10) uses digits 0-9.
Conversion uses positional notation. Each position = power of 2: 2⁰=1, 2¹=2, 2²=4, 2³=8. Binary 1101 = 8+4+0+1 = 13.
Conversion Formulas
Binary→Decimal: Multiply each digit by 2^position, sum.
11010110 = 128+64+16+4+2 = 214
Decimal→Binary: Divide by 2, record remainders bottom-up.
214: remainders 0,1,1,0,1,0,1,1 → 11010110
Reference Table
| Binary | Decimal | Hex |
|---|---|---|
| 0001 | 1 | 1 |
| 0010 | 2 | 2 |
| 0100 | 4 | 4 |
| 1000 | 8 | 8 |
| 1010 | 10 | A |
| 1111 | 15 | F |
| 10000 | 16 | 10 |
| 11111111 | 255 | FF |
Examples
Example 1: 10110 = 16+4+2 = 22
Example 2: 11111111 = 255 (max byte)
Example 3: 42 decimal = 101010 binary
Binary Tips
Key powers of 2: 2⁸=256, 2¹⁰=1024, 2¹⁶=65536.
Group in 4s for hex: 1101 0110 = D6.
8 bits = 0-255. Max of N bits = 2ᴺ-1.
Useful for networking — IP addresses and subnet masks.
Frequently Asked Questions
What is the largest binary number I can convert?
Why do computers use binary instead of decimal?
What is hexadecimal and why is it shown alongside decimal?
Can I convert binary fractions like 10.11?
Can I convert negative numbers to binary?
What is the difference between binary and Boolean?
Related Calculators
Hex to RGB Converter
Free hex to RGB converter. Convert hex color codes to RGB values ...
Percentage Calculator
Free percentage calculator. Calculate what percent of any number ...
Ratio Calculator
Free ratio calculator. Solve proportions by finding the missing v...
Cooking Converter
Free cooking measurement converter. Convert between cups, tablesp...