To convert binary to decimal, multiply each binary digit by its corresponding power of 2 (…8, 4, 2, 1) starting from the right, then add the results together — for example, the binary number 1010 equals (1×8) + (0×4) + (1×2) + (0×1) = 10 in decimal. This is the positional-value method, and it works for any whole binary number of any length, no matter how many digits it contains. The only twist is that binary has just two legal digits, 0 and 1, so any other symbol would be a mistake. When the binary string is short — say four digits — you can do the math in your head. When it gets longer, the same logic still applies, but the arithmetic grows tedious, which is exactly where a free Number Base Converter saves time by doing the multiplication and sum automatically and showing the result across all four common bases at once.

binary to decimal
Binary to Decimal Conversion: Place Value to Final Number

What "Binary to Decimal" Actually Means

Converting binary to decimal means rewriting a number that is written in base 2 using only the digits 0 and 1 into the same value written in base 10 using the digits 0 through 9. The two strings look completely different, but they represent the exact same quantity. The number ten, for example, is written "1010" in binary and "10" in decimal. The number two hundred fifty-five is written "11111111" in binary and "255" in decimal.

A "base" is just two related ideas: how many distinct digits the system uses, and what each position is worth. Decimal (base 10) uses ten digits (0–9) and each place is a power of ten — ones, tens, hundreds, thousands. Binary (base 2) uses two digits (0 and 1) and each place is a power of two — ones, twos, fours, eights, sixteens, and so on. Same idea, different multiplier. That is the entire story behind every base-conversion problem.

Binary matters because it is the native language of every digital circuit. A transistor is either off (0) or on (1), and a bit — short for binary digit — is the smallest unit of information a computer can store. Bytes (eight bits), kilobytes, megabytes, IP addresses, subnet masks, and machine instructions are all layers of 1s and 0s underneath. Programmers read binary for network masks, debug bit flags, and inspect raw memory dumps. That is why being able to flip between binary and decimal quickly is a routine task rather than a niche one.

The Place-Value Formula for Binary to Decimal

The standard way to convert binary to decimal is called positional expansion. You take every digit, multiply it by the power of 2 that corresponds to its position counting from the right (where the rightmost digit is the 1s place, the next is the 2s place, then 4s, 8s, 16s, and so on), then add all those products together. That sum is the decimal value of the binary string.

Working through the binary number 1010 step by step:

  • Rightmost digit 0 sits in the 1s place → 0 × 1 = 0
  • Next digit 1 sits in the 2s place → 1 × 2 = 2
  • Next digit 0 sits in the 4s place → 0 × 4 = 0
  • Leftmost digit 1 sits in the 8s place → 1 × 8 = 8
  • Sum: 0 + 2 + 0 + 8 = 10

So 1010 (binary) = 10 (decimal). The digits themselves did not change; only the meaning of each position changed.

The same logic scales without limit. For a number with n binary digits, the leftmost position is worth 2n−1. For an eight-digit binary string of all 1s, that gives 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255, which is why 11111111 (binary) = 255 (decimal). To write the formula in full:

decimal value = d₀ × 2⁰ + d₁ × 2¹ + d₂ × 2² + … + dₙ × 2ⁿ

where each dᵢ is either 0 or 1. Any base-N positional system follows the same pattern with the 2 replaced by N.

Convert Binary to Decimal in Three Steps

The Number Base Converter applies the positional-value formula for you, validates every character as you type, and prints the result in all four common bases simultaneously so you do not have to convert twice. The full operating sequence is short.

  1. Type the binary number into the value field. Only the digits 0 and 1 are legal in binary, and a leading minus sign is allowed for negative values. Letters are accepted but only the ones your chosen base actually defines.
  2. Set the "from base" to Binary (2) and the "to base" to Decimal (10). The same input interpreted in a different base would give a completely different answer, so these two settings are the ones that matter.
  3. Read the converted result. The decimal answer appears immediately, and the same value is also shown in binary, octal, and hexadecimal so you can copy whichever representation you need next.

The converter is bidirectional and handles the reverse path as well — decimal to binary, hex to decimal, octal to hex, and any base from 2 through 36. For readers who want to apply the same logic from a different starting or ending base, a focused walkthrough of how to convert between number bases in any direction covers the same reasoning across other pairs.

What a Reliable Binary-to-Decimal Converter Verifies

Binary to decimal looks harmless until you mistype a digit. The two failure modes that cause the most confusion are typing a digit that does not belong in the base and trusting a converter that silently rounds or truncates. The Number Base Converter handles both correctly.

Illegal digits are flagged, not hidden. If you set binary as the source base and then type "102", the "2" is flagged with a clear error rather than being silently dropped or used as if it were valid. A converter that quietly accepts invalid input is dangerous, because it returns a numerically consistent but semantically wrong answer. The tool points to the exact bad character so you can fix it. The same logic applies to hex (only 0–9 and A–F), octal (only 0–7), and every other base. Letters are case-insensitive, so "FF" and "ff" both equal 255.

Whole numbers of any size convert exactly. Under the hood, the converter uses arbitrary-precision integer arithmetic instead of a fixed-width integer, so it does not overflow on long binary strings and does not lose precision the way a normal 32-bit or 64-bit integer would. For most practical inputs this is invisible, but if you ever paste in a binary string hundreds of digits long — say an RSA modulus or a SHA-256 hash — the conversion stays exact. Fractions and decimal points are intentionally not supported, because base conversion of fractional values is a more complex operation and the tool focuses on integers.

Leading minus signs are accepted. You can type "-1010" and the result will be "-10", with no special toggle. Combined with arbitrary-precision arithmetic, this means negative whole numbers in any supported base convert the same way positive ones do, and the result remains exact.

Binary-Decimal Quick Reference

The table below collects the binary-to-decimal equivalents that come up most often in computing work — the byte values programmers see as bit flags, color channels, subnet octets, and ASCII codes. These are the standard values used across computer hardware and software; the converter will produce these and many more.

Binary (base 2)Decimal (base 10)Where it shows up
00000Off bit, null byte
00011On bit, true flag
00102Bit 1 set
01004Bit 2 set
10008Bit 3 set
111115Single hex digit F
11111111255One byte all bits set; white in RGB
100000000256One byte + 1; range of unsigned 8-bit
1000000000000000065 536Unsigned 16-bit maximum
1100100100Common benchmark value

The relationships in this table stay the same regardless of how you arrive at them. If you need a value that is not on the chart, paste the binary form into the Number Base Converter with "from base = Binary" and "to base = Decimal" and read the answer directly. For the other direction — say a decimal byte value you need in binary for a register mask — the same tool flips the settings and shows the answer instantly.

If you're weighing options, Paper Weight Conversion by Grade: GSM vs lb Explained covers this in detail.