Binary ↔ Decimal
Type a decimal or binary value to see the conversion and how each bit contributes to the total.
Converter
Change either field to update the other instantly.
Decimal keypad
Binary keypad
Breakdown
Each binary digit is multiplied by a power of two, then summed.
| Bit | Power of 2 | Value |
|---|---|---|
| 1 | 23 | 1 × 8 = 8 |
| 1 | 22 | 1 × 4 = 4 |
| 0 | 21 | 0 × 2 = 0 |
| 1 | 20 | 1 × 1 = 1 |
Sum: 8 + 4 + 0 + 1 = 13