Understanding Binary 11- Converting Binary to Decimal
What Binary 11 Actually Means
Binary 11 is just 3 in decimal. That's it. No mystery, no trick. Every binary number is just a decimal number written differently.
The number 11 in binary breaks down like this:
- 1 × 2¹ = 2
- 1 × 2⁰ = 1
- 2 + 1 = 3
That's the whole game. Binary uses only 0 and 1. Each position represents a power of 2, starting from the right at 2⁰.
Why Binary Exists in the First Place
Computers don't understand numbers the way humans do. They understand two states: on and off. That's what binary represents.
One binary digit = one bit. Eight bits = one byte. That's why everything in computing comes in powers of 2. Your 8GB RAM isn't random—it's based on binary counting.
Humans use decimal (base-10) because we have 10 fingers. Computers use binary (base-2) because they have two states. Same numbers, different counting system.
The Binary to Decimal Conversion Formula
Every binary digit multiplies by its corresponding power of 2. Add them all up. That's your decimal number.
The Position System
Reading binary from right to left:
| Position | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|
| Power of 2 | 2⁴ | 2³ | 2² | 2¹ | 2⁰ |
| Value | 16 | 8 | 4 | 2 | 1 |
For binary 11010: 16 + 8 + 0 + 2 + 0 = 26
How to Convert Binary to Decimal
Here's the straightforward method:
- Write down the binary number
- Label each digit with its power of 2 (rightmost = 2⁰)
- Multiply each digit by its power of 2
- Add all the results together
Quick Examples
Binary 101
1×4 + 0×2 + 1×1 = 4 + 0 + 1 = 5
Binary 1111
1×8 + 1×4 + 1×2 + 1×1 = 8 + 4 + 2 + 1 = 15
Binary 100100
1×32 + 0×16 + 0×8 + 1×4 + 0×2 + 0×1 = 32 + 4 = 36
Binary to Decimal Reference Table
| Binary | Decimal |
|---|---|
| 1 | 1 |
| 10 | 2 |
| 11 | 3 |
| 100 | 4 |
| 101 | 5 |
| 110 | 6 |
| 111 | 7 |
| 1000 | 8 |
| 1001 | 9 |
| 1010 | 10 |
| 11111111 | 255 |
Common Mistakes to Avoid
Starting positions wrong. The rightmost digit is always 2⁰, not 2¹. Beginners often flip this and get garbage results.
Forgetting to add, not multiply. Some people multiply correctly but forget that the final step is addition.
Confusing binary and decimal place values. In decimal, each position is 10× the previous. In binary, each position is 2× the previous. Don't mix these up.
Getting Started: Your First Conversions
Try these yourself before checking the answers:
- Convert 10001 to decimal
- Convert 11100 to decimal
- Convert 101010 to decimal
Answers: 17, 28, 42
If you got those right, you understand the conversion. If not, go back to the formula section and work through each step manually.
Where This Actually Matters
You need binary-to-decimal conversion for:
- IPv4 addresses (those dotted numbers are decimal representations of 32-bit binary values)
- Hex color codes in web design
- Understanding file sizes and memory addresses
- Debugging low-level programming issues
- Networking certifications and interviews
Most developers never manually convert binary anymore—tools do it instantly. But understanding the underlying math makes you dangerous when something breaks.
Quick Mental Shortcut
For single bytes (8 bits), memorize this:
| Binary | Decimal |
|---|---|
| 10000000 | 128 |
| 11000000 | 192 |
| 11100000 | 224 |
| 11110000 | 240 |
| 11111000 | 248 |
| 11111100 | 252 |
| 11111110 | 254 |
| 11111111 | 255 |
These are subnet masks in networking. Once you see the pattern—adding one to the left flips the rightmost 0 to 1 and turns everything to its right to 0—you'll read binary faster.