Binary to Decimal Converter
Convert binary (base-2) numbers to decimal (base-10) with a single click. Enter a string of 0s and 1s to see its decimal value immediately.
Common Values
| Input | Decimal |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 10 | 2 |
| 111 | 7 |
| 1000 | 8 |
| 1010 | 10 |
| 1111 | 15 |
| 10000 | 16 |
| 101010 | 42 |
| 11111111 | 255 |
| 10000000 | 128 |
| 11000000 | 192 |
How It Works
To convert binary to decimal, multiply each bit by its corresponding power of 2 and sum the results. Start from the rightmost bit (position 0). For example, binary 1101: 1×2³ + 1×2² + 0×2¹ + 1×2⁰ = 8+4+0+1 = 13. A quick shortcut: double the running total and add the next bit, starting from the left.
Worked Examples
| Binary | Decimal |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 10 | 2 |
| 111 | 7 |
| 1000 | 8 |
| 1010 | 10 |
| 1111 | 15 |
| 10000 | 16 |
| 101010 | 42 |
| 11111111 | 255 |
Related Conversions
Frequently Asked Questions
- How do I convert binary to decimal?
Assign each binary digit a place value: 1, 2, 4, 8, 16, ... from right to left. Multiply each digit by its place value and add all results together.
- What is 11111111 in decimal?
11111111 in binary equals 255 in decimal. It is the maximum value of an 8-bit unsigned integer.
- What is the binary number 10000000 in decimal?
10000000 in binary is 128 in decimal. It equals 2⁷.
- Can binary represent negative numbers?
This converter handles unsigned binary. Negative numbers in computers are typically represented using two's complement, which is a separate concept.