CalcuClubCalcuClub Logo

Binary to Decimal Converter

Convert from:
Convert to:
The result will be displayed here.
Calculation Steps:
Calculation steps will be displayed here.

Table of Contents

How does binary to decimal conversion work?

Binary to decimal conversion involves interpreting the value of a binary number (composed only of zeros and ones) as a decimal number. The binary system is base 2, while the decimal system is base 10. To perform this conversion, each digit in the binary number is multiplied by a power of 2, starting from the right (power zero) to the left.

Binary to decimal conversion formula

For a binary number with n digits, the formula for conversion to decimal is:

This formula represents the conversion of a binary number to decimal, where each binary digit is multiplied by 2 raised to the power of its position.
Decimal Number=bn×2n+bn1×2n1++b1×21+b0×20\text{Decimal Number} = \color{#B91C1C}b_n \color{#111827}\times 2^n + \color{#B91C1C}b_{n-1} \color{#111827}\times 2^{n-1} + \ldots + \color{#B91C1C}b_1 \color{#111827}\times 2^1 + \color{#B91C1C}b_0 \color{#111827}\times 2^0

where bn represents each binary digit (0 or 1) at position n.

Conversion process

  1. Write down the binary number and assign powers of 2 to each digit, starting with 2⁰ from the right.
  2. Multiply each binary digit by its respective power of 2.
  3. Add all the multiplication results to obtain the decimal value.

Example #1

Convert the binary number 1011 to decimal:

  1. Assign the powers:

    (1 × 23), (0 × 22), (1 × 21), (1 × 20)

  2. Multiplications:

    (1 × 8) = 8, (0 × 4) = 0, (1 × 2) = 2, (1 × 1) = 1

  3. Addition:

    8 + 0 + 2 + 1 = 11

Result: 1011 in binary is 11 in decimal.

Example #2

Convert the binary number 11010 to decimal:

  1. Assign the powers:

    (1 × 24), (1 × 23), (0 × 22), (1 × 21), (0 × 20)

  2. Multiplications:

    (1 × 16) = 16, (1 × 8) = 8, (0 × 4) = 0, (1 × 2) = 2, (0 × 1) = 0

  3. Addition:

    16 + 8 + 0 + 2 + 0 = 26

Result: 11010 in binary is 26 in decimal.

Binary to decimal conversion table

BinaryDecimal
00
11
102
113
1004
1015
1106
1117
10008
10019
101010
111115
1000016
1010020
1100125
1111030
10000032
11001050
100000064
1100100100
10000000128
11111111255
100000000256

How was this page? Share feedback.