Binary to decimal converter with working

Convert binary to decimal with positional sum, doubling, and a signed readout.

Was this helpful?
Share Tool

101101 in binary is 45: 1×2^5 + 0×2^4 + 1×2^3 + 1×2^2 + 0×2^1 + 1×2^0. Paste bits here (spaces, underscores or 0b are fine) and read the unsigned decimal, plus a signed readout at a chosen width.

Need the reverse? Decimal to binary builds 101101 from remainders. For every base in one box, open all bases at once in the binary converter.

A second method doubles as you walk left to right (Horner): start at 0; for 101101 the running totals are 1, 2, 5, 11, 22, 45. Leading zeros do not change the unsigned value: 00101101 is still 45. 11111111 is 255 unsigned.

Signed mode at 8 bits reads the pattern with a sign-bit weight of −128. 11111011 at 8 bits is −5 signed and 251 unsigned. Short pastes are padded on the left, so 1011 at 8 bits is +11, not −5 — type the full 11111011 when you mean −5.

Binary fractions such as 1010.101 sum to 10.625 (8+2 + 1/2 + 1/8). Patterns longer than the chosen width, or digits other than 0 and 1, show a red alert. Open Step-by-step working for the place-value sum and the doubling table.

How to convert binary to decimal

  1. Paste 0s and 1s. Spaces, underscores and a 0b prefix are stripped. Any other digit is a red error.
  2. Read the unsigned decimal. For integers, also read the signed value at Auto/8/16/32/64 bits (sign bit = −2^(n−1)).
  3. Open Step-by-step working for the positional sum and the doubling (Horner) method.
  4. Fractions such as 1010.101 print 10.625. Copy the decimal card when you are done.

Key Features

  • Binary → decimal with spaces, underscores and 0b accepted
  • Unsigned value plus signed two’s complement readout at width
  • Positional sum and doubling (Horner) working
  • Binary fractions such as 1010.101 → 10.625
  • Local conversion; nothing is uploaded

Positional sum versus doubling

  • 101101 = 32+8+4+1 = 45. Write only the places where the bit is 1. 11111111 = 128+64+32+16+8+4+2+1 = 255.
  • Doubling: 0→1, ×2+0=2, ×2+1=5, ×2+1=11, ×2+0=22, ×2+1=45. Same 45, useful when you do not want to memorise 2^n.
  • 1011001 (seven bits) is 89: 64+16+8+1. Pad to 01011001 and the unsigned integer is still 89; as UTF-8 text that byte is “Y”.
  • A leading 0 never changes the unsigned integer. It only matters when you later interpret a fixed width as signed.

Signed bits and fractions

  • At 8 bits the MSB weighs −128. 11111011 = −128+64+32+16+8+0+2+1 = −5. 10000000 = −128. 01111111 = 127.
  • 1010.101 = 8+2 + 0.5+0.125 = 10.625. The integer steps and the fraction steps are listed separately in the panel.
  • If the pattern is longer than the width, this page errors instead of silently truncating from the left.
  • Digits 2–9 belong on decimal to binary. Hex letters belong on hex to binary.

Common mistakes

  • Reading 1011 at 8-bit signed as −5. Zero-padding on the left makes +11; −5 is 11111011.
  • Treating 1011001 as a letter. Seven bits are a number (89) unless you pad to 01011001 for “Y”.
  • Adding 2^n for 0-bits as well as 1-bits. Only the 1s contribute.
  • Stopping Horner one bit early. The last bit of 101101 is the +1 that turns 22 into 45.
  • Pasting UTF-8 groups here. Text decode is the binary translator.

Powers of two (2^0 through 2^16)

  • Place values used in the positional sum. 2^10 = 1024, 2^16 = 65536.
ExponentDecimalBinary
011
1210
24100
381000
41610000
532100000
6641000000
712810000000
8256100000000
95121000000000
10102410000000000
112048100000000000
1240961000000000000
13819210000000000000
1416384100000000000000
15327681000000000000000
166553610000000000000000

Frequently Asked Questions

What is 101101 in decimal?

45. 32+8+4+1, or Horner doubling that ends at 45. Hex of the same bits is 2D.

What is 11111011 as a signed 8-bit value?

−5. The sign bit weighs −128; plus 64+32+16+8+2+1 is −5. Unsigned it is 251.

Does a leading zero change the number?

Not for unsigned integers. 00101101 and 101101 are both 45. Width padding matters only for the signed readout.

What is 1010.101 in decimal?

10.625. Integer 1010 is 10; fraction 101 is 1/2 + 1/8.

Why is 1011001 not the letter Y?

Y is the byte 01011001. Seven bits are the integer 89. Pad a 0 on the left only when you meant a character.

Can I paste 0b101101?

Yes. 0b, spaces and underscores are stripped. Other characters show a red invalid-digit alert.

Expert Guide for Binary to Decimal Converter

View Blog
What Does 1011001 Mean in Binary? Binary to Decimal

What Does 1011001 Mean in Binary? Binary to Decimal

Short binary strings like 1011001 or 01011 are usually numbers, not letters. Learn to convert binary to decimal by hand, with a free converter to check.

Read Guide

Categories

Browse all FlashKit tools