Binary to Decimal Converter

Convert binary numbers to decimal instantly with step-by-step explanation

0 bits

Try an example:

Enter a binary number and click convert to see the step-by-step calculation.

Tip: Each bit position represents a power of 2, starting from 2^0 on the far right. The rightmost bit is the least significant.

How to Convert Binary to Decimal

Converting a binary number to decimal is straightforward once you understand positional notation. Each digit in a binary number represents a power of 2, with the rightmost digit being 2^0, the next being 2^1, and so on. To get the decimal value, you simply add up all the powers of 2 wherever there is a 1 in the binary sequence.

Take 1010 as an example. Reading right to left: 0 × 2^0 = 0, 1 × 2^1 = 2, 0 × 2^2 = 0, 1 × 2^3 = 8. Add them up: 8 + 2 = 10. That's why 1010 in binary equals 10 in decimal. I've been doing this long enough that I can convert common patterns like 11111111 (which is 255 — the maximum value of a single byte) almost instantly, but when I'm dealing with 16-bit or 32-bit numbers, I always reach for a tool like this one. It's not about being unable to do the math; it's about not wasting mental energy on something a machine does flawlessly.

Step-by-Step Conversion Method

  1. Write the binary number — e.g., 1101.
  2. Assign powers of 2 — Starting from the rightmost digit, assign 2^0, 2^1, 2^2, 2^3 from right to left.
  3. Multiply and sum — Multiply each bit (0 or 1) by its corresponding power, then add all results.
  4. Get the decimal — The sum is the decimal equivalent.

For example, 1101 = (1 × 2^3) + (1 × 2^2) + (0 × 2^1) + (1 × 2^0) = 8 + 4 + 0 + 1 = 13.

Common Binary to Decimal Conversions

  • 0000 = 0 — All bits off.
  • 0001 = 1 — The minimum non-zero value in a 4-bit system.
  • 1111 = 15 — Maximum 4-bit value (F in hex).
  • 11111111 = 255 — Maximum 8-bit value (FF in hex), the limit of a single byte.
  • 100000000 = 256 — The first 9-bit value; this is why a byte overflows at 256.

Why Binary to Decimal Conversion Matters

If you work anywhere near computer hardware, networking, or systems programming, the ability to translate binary to decimal is more than a party trick. Subnet masks in networking are binary numbers expressed in dotted decimal notation. When you see 255.255.255.0, that's four bytes of binary ones and zeros. Memory addresses, RGB color values, and even Unicode code points all trace back to binary representations.

I remember being a junior developer and staring at a memory dump, completely lost. My senior engineer took two seconds to glance at a hex dump and said "stack overflow on line 47." I thought it was magic. It wasn't — he just had enough practice converting binary and hex in his head that patterns jumped out at him. Tools like this are how you build that kind of fluency: convert enough numbers and you start recognizing that 10101010 is 170, or that 00111111 is 63, without thinking twice.

Related Tools

Decimal to Binary → Binary to Hex → Binary to Octal → Hex to Binary → Binary Calculator → Binary Translator Home →