Step-by-Step Binary to Decimal Solver
Learn binary to decimal conversion with comprehensive step-by-step breakdowns. Every positional value, multiplication, and sum is shown — perfect for students studying computer science and digital electronics.
How to convert binary to decimal
- Write the place values over the bits, starting with 1 on the right and doubling to the left: 1, 2, 4, 8, 16, 32, 64, 128…
- Keep the place values that sit over a 1; ignore those over a 0.
- Add the kept values. The sum is the decimal number.
-
Step 1. Line up place values
Eight bits, so the leftmost place is 27 = 128.
place: 128 64 32 16 8 4 2 1 bit: 1 0 1 1 0 1 1 1 -
Step 2. Keep the places under a 1
Bits 7, 5, 4, 2, 1 and 0 are set.
128, 32, 16, 4, 2, 1 -
Step 3. Add them
128 + 32 = 160, + 16 = 176, + 4 = 180, + 2 = 182, + 1 = 183.
10110111₂ = 183₁₀ -
Step 4. Check with the doubling method
Start at 0; for each bit from the left, double the total and add the bit: 1, 2, 5, 11, 22, 45, 91, 183. Same answer, no powers of 2 needed.
More worked examples
| Binary | Place values of the 1 bits | Decimal |
|---|---|---|
| 10110111 | 128 + 32 + 16 + 4 + 2 + 1 | 183 |
| 11010001 | 128 + 64 + 16 + 1 | 209 |
| 11100000 | 128 + 64 + 32 | 224 |
| 11000000 | 128 + 64 | 192 |
| 1000 | 8 | 8 |
| 101 | 4 + 1 | 5 |
11000000 (192) and 11100000 (224) are common subnet-mask bytes: 255.255.255.192 is a /26 and 255.255.255.224 a /27. If a binary number is stored in two’s complement, its leftmost bit counts as negative; the signed binary converter handles that case.
What is Step-by-Step Binary to Decimal Solver?
The Step-by-Step Binary to Decimal Solver is an educational tool that breaks down binary-to-decimal conversion into clear, numbered steps. Rather than simply giving you the answer, it shows every positional value, every multiplication, and the final summation — so you truly understand the conversion process.
This tool exists because learning binary conversion requires more than just a result — it requires understanding the method. Students often struggle with positional notation and powers of 2. This solver walks you through each calculation using both the positional method and the double-dabble algorithm, helping you build genuine fluency in binary math.
Whether you're preparing for a computer science exam, teaching digital fundamentals, or simply want to verify your manual calculations, this solver provides the detailed breakdown that makes binary conversion click.
Step-by-Step Binary to Decimal Solver Formula
The Double Dabble method converts binary to decimal without needing to know any powers of 2. Start at 0, then for each bit (left to right): double the current result and add the bit.
Positional Value Method
The most intuitive way to convert binary to decimal: assign each bit its power-of-2 weight based on position, multiply, and sum.
The rightmost bit is position 0 (weight = 2⁰ = 1). Each position doubles: 1, 2, 4, 8, 16, 32, 64, 128.
For the binary number 11010:
1×16 + 1×8 + 0×4 + 1×2 + 0×1 = 16 + 8 + 0 + 2 + 0 = 26₁₀ Essential Binary Values
| Decimal | Binary | Significance |
|---|---|---|
| 0 | 00000000 | Zero / NULL |
| 1 | 00000001 | Boolean true |
| 10 | 00001010 | Newline (LF) in ASCII |
| 32 | 00100000 | Space character in ASCII |
| 48 | 00110000 | Character '0' in ASCII |
| 65 | 01000001 | Character 'A' in ASCII |
| 97 | 01100001 | Character 'a' in ASCII |
| 127 | 01111111 | Max signed 8-bit / DEL |
| 128 | 10000000 | MSB set / Min signed 8-bit negative |
| 255 | 11111111 | Max unsigned 8-bit / All bits set |
Related guides
Other Number System Conversions
Related numeral systems converters for number conversion between binary, decimal, hexadecimal, octal, and ASCII text.