To convert binary to decimal, multiply each binary digit (\(0\) or \(1\)) by \(2\) raised to the power of its position index—counting from right to left starting at \(0\)—and sum all the resulting values. For example, the binary number \(1011_2\) equals \(11_{10}\) in decimal:
While an online binary to decimal converter computes large values instantaneously, understanding the manual positional method and doubling method is essential for computer science, networking, and digital electronics.
Understanding the Binary and Decimal Number Systems
Before performing conversions, compare how both base systems assign value to digits:
| Feature | Binary System (Base-2) | Decimal System (Base-10) |
|---|---|---|
| Available Digits | $0, 1$ (Bits) | $0, 1, 2, 3, 4, 5, 6, 7, 8, 9$ |
| Positional Multiplier | Powers of $2$ ($2^0, 2^1, 2^2, 2^3 \dots$) | Powers of $10$ ($10^0, 10^1, 10^2, 10^3 \dots$) |
| Primary Application | Digital circuits, machine code, IP addressing | Human arithmetic, currency, daily measurements |
Method 1: Positional Notation Method (Standard Formula)
The positional notation method works for any binary integer and forms the mathematical foundation of every binary to decimal converter.
The Conversion Formula
Where \(d_i\) represents each binary digit (0 or 1), and \(i\) represents its zero-indexed position from the right, starting at 0. The highest position is \(n\).
Step-by-Step Instructions
Write down the binary number:
List all digits clearly from left to right.
Assign position indices from right to left:
Start at \(0\) for the rightmost digit (Least Significant Bit) and increase by \(1\) for each digit moving left (\(0, 1, 2, 3, \dots\)).
Calculate the power of 2 for each position:
Compute \(2^{\text{position}}\) for each column (\(1, 2, 4, 8, 16, 32, 64, 128, \dots\)).
Multiply each binary digit by its positional weight:
Any position containing a \(0\) evaluates to \(0\), while positions containing a \(1\) keep their positional value.
Sum all results:
Add the non-zero values together to obtain the final base-10 decimal integer.
Worked Example: Convert 110101₂ to Decimal
Convert the 6-bit binary number \(110101_2\) using the positional table below:
| Feature | 1 | 1 | 0 | 1 | 0 | 1 |
|---|---|---|---|---|---|---|
| Position Index (\(n\)) | \(5\) | \(4\) | \(3\) | \(2\) | \(1\) | \(0\) |
| Power of 2 (\(2^n\)) | \(2^5 = 32\) | \(2^4 = 16\) | \(2^3 = 8\) | \(2^2 = 4\) | \(2^1 = 2\) | \(2^0 = 1\) |
| Multiplication | \(1 \times 32\) | \(1 \times 16\) | \(0 \times 8\) | \(1 \times 4\) | \(0 \times 2\) | \(1 \times 1\) |
| Column Value | 32 | 16 | 0 | 4 | 0 | 1 |
Final Addition:
Therefore, \(110101_2 = 53_{10}\).
Method 2: The Doubling Method (No Exponents Required)
The doubling method converts binary to decimal from left to right without calculating powers of \(2\). This technique is faster for mental math on long binary strings.
Step-by-Step Instructions
Start with a running total of \(0\):
Begin at the leftmost binary digit (Most Significant Bit).
Double the current total and add the next digit:
Use the rule:
Repeat for every remaining bit:
Continue moving one digit to the right until you process the final rightmost digit.
Worked Example: Convert \(10110_2\) to Decimal
Therefore, \(10110_2 = 22_{10}\).
How to Convert Fractional Binary Numbers to Decimal
When a binary number includes a radix point (binary point), digits to the right of the point represent negative powers of \(2\):
First digit after the point:
\(2^{-1} = \frac{1}{2} = 0.5\)
Second digit after the point:
\(2^{-2} = \frac{1}{4} = 0.25\)
Third digit after the point:
\(2^{-3} = \frac{1}{8} = 0.125\)
Worked Example: Convert \(101.11_2\) to Decimal
Convert the integer part (\(101_2\)):
Convert the fractional part (\(.11_2\)):
Combine both parts:
Therefore, \(101.11_2 = 5.75_{10}\).
Quick Binary to Decimal Conversion Reference Table
Use this lookup table for fast verification of common 4-bit binary numbers (nibbles):
| Binary (Base-2) | Decimal (Base-10) | Binary (Base-2) | Decimal (Base-10) |
|---|---|---|---|
| \(0000\) | \(0\) | \(1000\) | \(8\) |
| \(0001\) | \(1\) | \(1001\) | \(9\) |
| \(0010\) | \(2\) | \(1010\) | \(10\) |
| \(0011\) | \(3\) | \(1011\) | \(11\) |
| \(0100\) | \(4\) | \(1100\) | \(12\) |
| \(0101\) | \(5\) | \(1101\) | \(13\) |
| \(0110\) | \(6\) | \(1110\) | \(14\) |
| \(0111\) | \(7\) | \(1111\) | \(15\) |
Frequently Asked Questions
What is \(11111111_2\) in decimal?
An 8-bit byte consisting entirely of ones (\(11111111_2\)) equals \(255_{10}\) (\(128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255\)). This represents the maximum value of an unsigned 8-bit integer and a single octet in an IPv4 address.
How can you quickly tell if a binary number is odd or even?
Look at the rightmost bit (the \(2^0\) position). If the rightmost digit is \(1\), the decimal value is odd. If the rightmost digit is \(0\), the decimal value is even.
When should I use a binary to decimal converter versus manual calculation?
Use manual conversion when learning subnetting, debugging bitwise operations, or taking technical exams. Use an automated binary to decimal converter when translating 32-bit or 64-bit memory addresses, long machine-code strings, or large network masks to eliminate arithmetic errors.
Attend our in-person Robotics & Math












