ToolNimba
๐Ÿ“ Unit Converters

How to Convert Binary to Decimal (Step by Step)

Shihab Mia By Shihab Mia July 10, 2026 6 min read

Colorful illustration of binary digits transforming into a decimal number using place values

Quick answer

To convert binary to decimal, multiply each bit by 2 raised to the power of its position, then add all the results. Positions count from 0 starting at the rightmost bit. Example: binary 1010 = 1x2^3 + 0x2^2 + 1x2^1 + 0x2^0 = 8 + 0 + 2 + 0 = 10.

Binary looks intimidating because it is just ones and zeros, but the conversion to a normal decimal number follows one simple rule you can do by hand. In this guide you will learn exactly why the method works, walk through a clear worked example, get a place value chart you can reuse, and see the mistakes that trip most people up. If you just want the answer fast, the binary to decimal converter does it instantly.

What binary and decimal actually mean

Decimal is the number system you use every day. It is base 10, which means it has ten digits (0 through 9) and each position is worth ten times the one to its right: ones, tens, hundreds, thousands, and so on.

Binary is base 2. It has only two digits, 0 and 1, and each position is worth two times the one to its right instead of ten. Those single digits are called bits. Computers use binary because a circuit is easy to build with two states, on and off, which map perfectly to 1 and 0. Converting between the two systems is just a matter of translating those base 2 place values back into the base 10 values you already understand.

The rule: multiply each bit by a power of 2

Every position in a binary number represents a power of 2. Starting from the rightmost bit, the positions are numbered 0, 1, 2, 3, and upward as you move left. The value of each position is 2 raised to that position number.

  • Position 0 (rightmost) is worth 2^0 = 1
  • Position 1 is worth 2^1 = 2
  • Position 2 is worth 2^2 = 4
  • Position 3 is worth 2^3 = 8
  • Position 4 is worth 2^4 = 16, and the pattern keeps doubling

To convert, you multiply each bit (1 or 0) by its position value, then add everything up. Because a bit is only ever 0 or 1, this really means: add up the place values wherever there is a 1, and ignore every 0. That shortcut alone makes most conversions fast enough to do in your head.

Worked example: convert 1010 to decimal

Let us convert the binary number 1010 step by step. Read it from right to left and give each bit its position value.

  1. Write the binary number and number the positions from the right: the rightmost 0 is position 0, then 1 is position 1, then 0 is position 2, then the leftmost 1 is position 3.
  2. Multiply each bit by its power of 2: leftmost bit is 1x2^3 = 8.
  3. Next bit: 0x2^2 = 0.
  4. Next bit: 1x2^1 = 2.
  5. Rightmost bit: 0x2^0 = 0.
  6. Add the results: 8 + 0 + 2 + 0 = 10. So binary 1010 equals decimal 10.

Notice how only the positions that hold a 1 contributed anything. The two zeros added nothing, so the whole answer came from 8 + 2. Once that clicks, you can convert most short binary numbers by scanning for the ones and summing their place values.

Binary to decimal reference chart

Keep this chart handy while you practice. It shows the place value of each position and a few common binary numbers with their decimal equivalents.

Powers of 2 and sample binary to decimal conversions

BinaryExpanded formDecimal
11x2^01
101x2^1 + 0x2^02
1001x2^24
1011x2^2 + 0x2^1 + 1x2^05
10101x2^3 + 0 + 1x2^1 + 010
11118 + 4 + 2 + 115
100001x2^416
11111111128 + 64 + 32 + 16 + 8 + 4 + 2 + 1255

That last row is worth remembering: eight ones in a row (11111111) equals 255, which is the largest value a single byte can hold. It is why color codes and many settings top out at 255. If you like this kind of base conversion, our note on hex vs rgb and the hex to rgb walkthrough cover the same idea for base 16.

A faster mental method: doubling

There is a second method that avoids powers entirely and works well for longer numbers. Read the binary from left to right, keeping a running total.

  1. Start your total at 0.
  2. For each bit, double your current total, then add the bit (0 or 1).
  3. Move to the next bit on the right and repeat until you run out of digits.

For 1010: start at 0, double to 0 and add 1 to get 1, double to 2 and add 0 to get 2, double to 4 and add 1 to get 5, double to 10 and add 0 to get 10. Same answer, and it never asks you to remember which power of 2 you are on. Pick whichever method feels natural.

Common mistakes to avoid

  • Counting positions from the left. Positions always start at 0 on the far right. Numbering from the left gives the wrong powers.
  • Starting the exponent at 1. The rightmost position is 2^0, which equals 1, not 2^1. It is easy to be off by a factor of two here.
  • Forgetting that 2^0 = 1. Any number to the power of 0 is 1, so the rightmost bit is worth exactly 1.
  • Adding the zeros as if they matter. A 0 bit contributes nothing. Only sum the place values where a 1 appears.
  • Misreading the digit order. Binary, like decimal, is written most significant bit first (left) to least significant (right). Do not reverse the number before converting.

Where binary to decimal conversion shows up

This is not just a classroom exercise. The moment you work close to how computers store data, binary to decimal conversion becomes a real, practical skill. A few places it appears every day:

  • IP addresses. An address like 192.168.1.1 is really four 8 bit binary numbers. Each group converts to a decimal from 0 to 255, which is exactly the byte range you saw in the chart above.
  • Color codes. Every red, green, or blue channel is one byte, so its value runs from 0 (binary 00000000) to 255 (binary 11111111). That is why RGB and hex color values never go past 255.
  • File permissions. Unix permissions such as 755 come from reading three groups of bits as small numbers, then adding their place values.
  • Data sizes. Knowing that 8 bits make a byte, and that each extra bit doubles the range, helps you reason about memory limits, address spaces, and why storage sizes climb in powers of 2.

In each case the underlying move is identical: take a group of bits, give each one its power of 2, and add. Once the method is second nature, all of these suddenly read like plain numbers instead of cryptic strings of ones and zeros.

Good to know

The same place value logic runs in reverse to go from decimal back to binary: repeatedly divide by 2 and record the remainders. Binary is also the foundation for hexadecimal, where each hex digit packs exactly four bits, which is why programmers switch between the two so often. Understanding binary makes those other systems far easier, in the same way that getting comfortable with how to calculate a percentage makes a lot of everyday math click into place.

For anything longer than a few bits, doing it by hand invites arithmetic slips. The tool below converts instantly and shows the result cleanly, so use it to check your work while you learn the method.

๐Ÿ”Ÿ Try the free tool Binary to Decimal Converter Free binary to decimal converter: type any binary number to get the decimal value instantly, plus a positional breakdown, bit count, and the hex and octal equivalents.

Converting binary to decimal comes down to one habit: give each bit its power of 2, then add the ones. Practice with the chart above, try the doubling method on a longer number, and lean on the converter whenever you need a fast, error free answer.

Frequently asked questions

Tools used in this guide

Keep reading