Binary to Decimal Converter - Free Online Calculator

ZixTool December 03, 2026 1 min read

Convert binary to decimal. Type one number, or paste a list with one number per line.

Spaces, underscores and a leading 0b are ignored. Use only 0 and 1 (and one point for fractions).

Try an example

Your result will appear here as you type.

Reference: small values and powers of two

Binary values 0 to 15

Powers of two, 2^0 to 2^16

The math runs in your browser with exact big-integer arithmetic. Nothing is sent anywhere. Limits: 4096 bits per number and 200 lines per batch.

Binary to decimal converter for single numbers and whole lists

A string like 01100110 turns up in a datasheet, a debugger window or a homework sheet, and you just want the number behind it. Type or paste the bits above and the decimal value appears as you go. Paste a list with one number per line and you get a row for each. Hex and octal show up next to the answer, so you can check one value three ways.

What it handles, and where another tool fits better

Plain whole numbers are the main job, but fractions such as 101.101 work too, and so do numbers up to 4,096 bits long. The math uses exact big-integer arithmetic, so a very long value isn't rounded the way it would be in a spreadsheet cell.

Some jobs belong elsewhere. If you're going the other way, use a decimal to binary converter. If the bits are really letters, the binary to ASCII converter will read them as text. And when you want to flip a value to its negative step by step, the two's complement calculator shows each move.

Using it, step by step

  1. Click the box and type or paste your number. Spaces, underscores and a leading 0b are ignored, so 0b1010_1101 works.
  2. Keep the reading on Unsigned unless the bits are meant to be negative. For that, pick two's complement or sign and magnitude.
  3. Read the decimal value. Below it you'll see hex, octal, the bit counts and the working.
  4. Press Copy decimal to take the answer with you, or Clear to start fresh.

A worked example you can check by hand

Take 1101. Reading from the right, the places are worth 1, 2, 4 and 8. The 1s sit in the 1, 4 and 8 places, so the sum is 1 + 4 + 8 = 13. Zeros add nothing, which is why 0001101 gives the same 13. Leading zeros only show the width.

There's a shortcut that skips powers of two. Start at 0, read the bits from left to right, and for each one double your total and add the bit. For 1101 that goes 1, 3, 6, 13. Try it on 01100110: 0, 1, 3, 6, 12, 25, 51, 102.

The same idea works after a binary point. Each place there is worth half of the one before it, so 101.101 is 4 + 1 + 0.5 + 0.125, or 5.625.

Good to know about signed numbers

The same eight bits can mean different things. 11111111 is 255 as a plain number and -1 as an 8-bit two's complement number. The page can't guess which one you mean, so use the reading menu. In both signed modes the width is simply how many digits you typed, which means 11111111 and 0000000011111111 give different answers.

Common questions FAQs

What is 1010 in decimal?

It's 10. The 1s are in the 8 and 2 places, and 8 + 2 makes 10.

What are 1001, 1100 and 1101 in decimal?

They're 9, 12 and 13. Paste all three on separate lines to see them together.

What are 10101 and 111001 in decimal?

10101 is 16 + 4 + 1, which is 21. 111001 is 32 + 16 + 8 + 1, which is 57.

How do I calculate a long binary number?

Paste it in. By hand it gets slow past eight bits, and an ordinary calculator may round it. Here the answer stays exact up to 4,096 bits.

Is anything uploaded?

No. The page does the work in your browser and loads no outside script. The limits are 4,096 bits per number and 200 lines per batch.

Comments