Convertitore Binario-Decimale — Formula
## Binary to Decimal Converter
### How It Works
Each binary digit (bit) represents a power of 2. From right to left:
- Bit 0 = 2^0 = 1
- Bit 1 = 2^1 = 2
- Bit 2 = 2^2 = 4
- Bit 3 = 2^3 = 8
- Bit 4 = 2^4 = 16
- Bit 5 = 2^5 = 32
- Bit 6 = 2^6 = 64
- Bit 7 = 2^7 = 128
Multiply each bit by its place value and sum all the results.
### How It Works
Each binary digit (bit) represents a power of 2. From right to left:
- Bit 0 = 2^0 = 1
- Bit 1 = 2^1 = 2
- Bit 2 = 2^2 = 4
- Bit 3 = 2^3 = 8
- Bit 4 = 2^4 = 16
- Bit 5 = 2^5 = 32
- Bit 6 = 2^6 = 64
- Bit 7 = 2^7 = 128
Multiply each bit by its place value and sum all the results.
Esempio Risolto
Convert binary 00010101 to decimal.
- 0×128 + 0×64 + 0×32 + 1×16 + 0×8 + 1×4 + 0×2 + 1×1
- = 0 + 0 + 0 + 16 + 0 + 4 + 0 + 1
- = 21 in decimal