Skip to main content

Binary to Decimal Calculator

Convert binary numbers to decimal.

Reviewed for accuracy by the Math Ora X team Last updated

Result

About Binary to Decimal Calculator

Binary (base 2) uses only 0 and 1. Each position represents a power of 2, from right to left.

$$(b_n...b_1b_0)_2 = \sum b_i \times 2^i$$

How to use this calculator

  1. Enter the binary number, such as 101101.
  2. Make sure each digit is only 0 or 1.
  3. Check the result in decimal, which is the base 10 form.
  4. Use the step-by-step breakdown to see how each bit contributes to the total.

The formula explained

A binary number \((b_n...b_1b_0)_2\) is converted by adding each bit times its power of 2, so the formula computes the decimal value of the binary string. The rightmost bit is multiplied by \(2^0\), the next by \(2^1\), and so on.

  • \(b_i\) = the bit at position i, which is either 0 or 1
  • i = the position index of the bit, starting at 0 on the right
  • n = the highest bit position in the binary number

Step by step method

  1. Write the binary number and label the positions from right to left starting at 0.
  2. Multiply each bit by its power of 2.
  3. Add the results together.
  4. The sum is the decimal number.

Worked example

Problem. Convert the binary number 101101 to decimal.

  1. Label the bits from right to left: 1, 0, 1, 1, 0, 1.
  2. Compute each place value: 1×2^5 = 32, 0×2^4 = 0, 1×2^3 = 8, 1×2^2 = 4, 0×2^1 = 0, 1×2^0 = 1.
  3. Add them: 32 + 0 + 8 + 4 + 0 + 1 = 45.

Answer. 101101_2 = 45_10

Tips and common mistakes

  • Start counting powers of 2 from the rightmost digit, because that digit is always \(2^0\).
  • If a binary digit is anything other than 0 or 1, the number is not valid binary.

Frequently asked questions

How do I use a binary to decimal calculator?+

Enter the binary number, then the calculator adds each bit times its matching power of 2 and gives the decimal result. For example, 1011 in binary becomes 1×8 + 0×4 + 1×2 + 1×1 = 11.

What does the formula (b_n...b_1b_0)2 = sum b_i × 2^i mean?+

It means each binary digit is multiplied by a power of 2 based on its position, starting from 2^0 on the right. Then all those values are added to get the decimal number.

What happens if my binary number has leading zeros?+

Leading zeros do not change the value, so 00101 and 101 both equal 5 in decimal. The calculator should treat them the same way.

Can this calculator convert fractional binary numbers too?+

If it only supports whole binary numbers, it will not convert bits after a binary point. For example, 10.1 in binary includes a fractional part, so it needs a tool that handles binary fractions.

How is binary to decimal different from hexadecimal to decimal?+

Binary uses base 2, so each position counts as a power of 2. Hexadecimal uses base 16, so each position counts as a power of 16, which is why the place values and digit symbols are different.

More Mathematics Tools

Explore related calculators in this category

You Might Also Like

Popular tools from other categories

Can't Find the Right Calculator?

Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.

Try AI Solver

Browse All Categories

Home Mathematics Current Tool
Facebook Twitter WhatsApp