Convert Binary to Decimal.
- Front page
- Base Converter
- Binary/Octal/Decimal/hexadecimal converter
Binary/Octal/Decimal/hexadecimal converter
How to use Base Converter
Enter the Binary value you want to convert and click the "Convert" button.
The input value will be calculated and the converted result will be displayed in Decimal.
The calculation method for conversion is also displayed.
Numerical input range
Binary:0–1
Conversion by base number
How to convert from Binary to Decimal
Method of calculation
Binary numbers start from the first digit and continue as 20, 21, 22, 23 .
Therefore, when converting a binary number to a decimal number, you can calculate it for each digit containing a "1".
- 1. Calculates 2n for each digit.
- 2. Calculate all 2ns of digits with "1".
- 3. The sum of all calculated numbers is the result of converting to decimal.
Calculation example
Example: Convert Binary "101011" to Decimal
Digit | Binary | 2n |
---|---|---|
1 | 1 | 20 = 1 |
2 | 1 | 21 = 2 |
3 | 0 | 22 = 4 |
4 | 1 | 23 = 8 |
5 | 0 | 24 = 16 |
6 | 1 | 25 = 32 |
Calculating 2n for a digit with 1 results in "20 + 21 + 23 + 25 = 1 + 2 + 8 + 32 = 43".
Therefore, converting the binary number "101011" to a decimal number becomes "43".