Binary to Decimal Converter
Convert binary numbers to decimal format instantly with detailed breakdown
Quick Convert
Popular Binary to Decimal Conversions
| Binary Number | Decimal Value | Hexadecimal |
|---|---|---|
| 0001 | 1 | 1 |
| 0010 | 2 | 2 |
| 0011 | 3 | 3 |
| 0100 | 4 | 4 |
| 0101 | 5 | 5 |
| 0110 | 6 | 6 |
| 0111 | 7 | 7 |
| 1000 | 8 | 8 |
| 1001 | 9 | 9 |
| 1010 | 10 | A |
| 1011 | 11 | B |
| 1100 | 12 | C |
| 1101 | 13 | D |
| 1110 | 14 | E |
| 1111 | 15 | F |
| 10000 | 16 | 10 |
| 100000 | 32 | 20 |
| 1000000 | 64 | 40 |
| 10000000 | 128 | 80 |
| 11111111 | 255 | FF |
How Binary to Decimal Conversion Works
Binary numbers operate on base-2, using only digits 0 and 1, while decimal numbers work on base-10. Each position in a binary number represents a power of 2, starting from the rightmost digit at 2⁰.
Decimal = (dₙ × 2ⁿ) + (dₙ₋₁ × 2ⁿ⁻¹) + … + (d₁ × 2¹) + (d₀ × 2⁰)
Position Values
| Position | Power of 2 | Decimal Value |
|---|---|---|
| 0 (rightmost) | 2⁰ | 1 |
| 1 | 2¹ | 2 |
| 2 | 2² | 4 |
| 3 | 2³ | 8 |
| 4 | 2⁴ | 16 |
| 5 | 2⁵ | 32 |
| 6 | 2⁶ | 64 |
| 7 | 2⁷ | 128 |
| 8 | 2⁸ | 256 |
Conversion Methods & Steps
Method 1: Positional Notation
- Write down the binary number from right to left
- Assign position values starting with 2⁰ for the rightmost digit
- Multiply each binary digit by its corresponding power of 2
- Add all the products together to get the decimal value
Example: Convert 1101 to Decimal
2³=8
2²=4
2¹=2
2⁰=1
(1 × 8) + (1 × 4) + (0 × 2) + (1 × 1) = 8 + 4 + 0 + 1 = 13
Method 2: Double Dabble
- Start with 0 as your initial total
- Read the binary number from left to right
- For each digit: double the previous total and add the current digit
- Repeat until all digits are processed
Example: Convert 1101 Using Double Dabble
Start: 0
(0 × 2) + 1 = 1
(1 × 2) + 1 = 3
(3 × 2) + 0 = 6
(6 × 2) + 1 = 13
Real-World Applications
Computer Programming
Binary conversion helps programmers work with low-level operations, bit manipulation, and memory addresses in languages like C, C++, and Assembly.
Network Engineering
IP address calculations and subnet masking require converting binary to decimal for proper network configuration and troubleshooting.
Digital Electronics
Engineers convert binary signals from circuits and sensors into readable decimal values for analysis and display purposes.
Data Storage
File sizes and memory capacities often require binary to decimal conversion, as computers store data in binary but display it in decimal units.
Cryptography
Security protocols and encryption algorithms frequently work with binary data that needs decimal representation for verification and analysis.
Gaming Development
Game developers use binary operations for collision detection, graphics rendering, and optimizing performance through bitwise operations.
Extended Conversion Reference
8-Bit Binary Values
| Binary (8-bit) | Decimal | Binary (8-bit) | Decimal |
|---|---|---|---|
| 00000000 | 0 | 00010000 | 16 |
| 00000001 | 1 | 00100000 | 32 |
| 00000010 | 2 | 00110000 | 48 |
| 00000100 | 4 | 01000000 | 64 |
| 00001000 | 8 | 01010000 | 80 |
| 00001111 | 15 | 01100000 | 96 |
| 00010001 | 17 | 10000000 | 128 |
| 00011111 | 31 | 11000000 | 192 |
| 00111111 | 63 | 11100000 | 224 |
| 01111111 | 127 | 11111111 | 255 |
Binary Number System Explained
The binary numeral system represents numeric values using two symbols: 0 and 1. Each digit in a binary number is called a bit (binary digit), and this base-2 system forms the foundation of all modern computing.
Why Computers Use Binary
Digital circuits operate with two distinct states – on and off, represented by high and low voltage. This natural correspondence makes binary the most efficient way for computers to process data. Every instruction, calculation, and piece of stored data ultimately exists as sequences of 0s and 1s.
Decimal vs Binary Systems
| Feature | Binary (Base-2) | Decimal (Base-10) |
|---|---|---|
| Digits Used | 0, 1 | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 |
| Position Value | Powers of 2 | Powers of 10 |
| Primary Usage | Computer systems | Human counting |
| Example | 1010 | 10 |
| Representation | Compact for machines | Intuitive for humans |
Frequently Asked Questions
Binary Powers Reference Chart
| Power | Binary | Decimal Value | Common Usage |
|---|---|---|---|
| 2⁰ | 1 | 1 | Single bit |
| 2¹ | 10 | 2 | Pairs |
| 2² | 100 | 4 | Nibble half |
| 2³ | 1000 | 8 | Byte value |
| 2⁴ | 10000 | 16 | Nibble/Hex digit |
| 2⁵ | 100000 | 32 | ASCII control |
| 2⁶ | 1000000 | 64 | Character sets |
| 2⁷ | 10000000 | 128 | ASCII range |
| 2⁸ | 100000000 | 256 | 1 Byte |
| 2¹⁰ | 10000000000 | 1,024 | 1 Kilobyte |
| 2¹⁶ | – | 65,536 | 16-bit range |
| 2²⁰ | – | 1,048,576 | 1 Megabyte |
| 2³² | – | 4,294,967,296 | 32-bit limit |
