conversion
Binary to Decimal Converter
Convert binary numbers to decimal instantly. See the positional breakdown showing each bit\'s power-of-2 contribution.
Click to show tips
Try an Example
Pick a scenario to see how the calculator works, then adjust the values
ASCII Letter A
Convert the ASCII code for uppercase A (65) across all bases.
Key values: Decimal 65 · Binary 1000001 · Hex 41
Byte Maximum
The largest value a single byte can hold (255).
Key values: Decimal 255 · Binary 11111111 · Hex FF
Hex Color Code
Convert a common hex color code (deep sky blue) to other bases.
Key values: Hex 00BFFF · Decimal 49151 · Binary nibbles
The Binary Number System
Binary (base-2) uses only two digits: 0 and 1. Each position represents a power of 2, just as each position in decimal represents a power of 10:
Conversion Method
Multiply each binary digit by its positional power of 2, then sum:
Worked Example
Convert to decimal:
Powers of 2 Reference
| Position | ||||||||
|---|---|---|---|---|---|---|---|---|
| Value | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 |
An 8-bit byte can represent values (0 to 255). A 16-bit value reaches 65,535. A 32-bit value reaches approximately 4.3 billion.
Why Computers Use Binary
Electronic circuits have two stable states: on (high voltage) and off (low voltage). Binary maps directly to these states, making it naturally resistant to electrical noise. A circuit doesn't need to distinguish between 10 voltage levels (as base-10 would require) — just two. This simplicity enables reliable computation at billions of operations per second.
Common Binary Patterns
| Binary | Decimal | Significance |
|---|---|---|
11111111 | 255 | Maximum 8-bit unsigned value; max RGB channel |
10000000 | 128 | Highest bit set (sign bit in signed integers) |
01111111 | 127 | Maximum signed 8-bit value |
00000001 | 1 | Least significant bit (LSB) |
Frequently Asked Questions
How do you convert binary to decimal?
Multiply each binary digit by its positional power of 2 and sum the results. For example, 1011 in binary = in decimal.
Why do computers use binary instead of decimal?
Electronic circuits have two stable states: on (high voltage) and off (low voltage). Binary maps directly to these states, making it naturally resistant to electrical noise. A circuit only needs to distinguish between two voltage levels, not ten.
What is the largest number an 8-bit byte can represent?
An unsigned 8-bit byte can represent values from 0 to 255. With all bits set to 1 (11111111), the value is 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255.
What are common binary patterns I should memorize?
11111111 = 255 (max byte), 10000000 = 128 (sign bit), 01111111 = 127 (max signed byte), 00000001 = 1 (LSB). Knowing these makes working with binary data much faster.
How many binary digits are needed for a given decimal number?
A decimal number N requires approximately binary digits. For example, 255 needs 8 bits, 256 needs 9 bits, and 1024 needs 11 bits.
Related conversion Variants
Explore more conversion options
Decimal to Binary
Decimal to Binary Converter
Hex to Decimal
Hex to Decimal Converter
Decimal to Hex
Decimal to Hexadecimal Converter
Binary to Hex
Binary to Hexadecimal Converter
Octal to Decimal
Octal to Decimal Converter
More Math Calculators
Explore the category