Binary/Octal/Decimal/hexadecimal converter

Convert Binary to Decimal.

Binary → Decimal
Before conversion:

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

DigitBinary2n
1120 = 1
2121 = 2
3022 = 4
4123 = 8
5024 = 16
6125 = 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".

Base ConverterBase Converter

CalculatorSimple Calculator

Save results in a temporary