Binary to Decimal Converter – Step-by-Step Guide & Table | BinaryCalc

Home / Binary to Decimal Converter

Binary to Decimal Converter

Convert any binary number (base 2) into decimal (base 10) instantly with step-by-step place-value calculation (2ⁿ) and hex/octal equivalents.

Decimal Result (Base 10)
45
Hexadecimal (Base 16)
2D
Octal (Base 8)
55
Step-by-Step Calculation: (1 × 2⁵) + (0 × 2⁴) + (1 × 2³) + (1 × 2²) + (0 × 2¹) + (1 × 2⁰) = 32 + 0 + 8 + 4 + 0 + 1 = 45

Common Binary to Decimal Examples

Quick reference for standard binary values and their decimal equivalents across common bit lengths.

Binary (Base 2) Decimal (Base 10) Hex Bits
0001-bit
1111-bit
101553-bit
101010A4-bit
111115F4-bit
101101452D6-bit
11111111255FF8-bit (1 Byte)
1000000002561009-bit
111111111110233FF10-bit

Complete Guide: How to Convert Binary to Decimal

Converting a binary number (Base 2) to a decimal number (Base 10) is one of the foundational skills in computer science, digital electronics, programming, and competitive exams. While decimal uses ten digits (0–9), binary uses only two digits—0 and 1—called bits.

Step-by-Step Binary to Decimal Formula

Each bit position in a binary number carries a weight equal to 2ⁿ, where n starts at 0 from the rightmost bit (Least Significant Bit) and increases by 1 as you move left toward the Most Significant Bit.

  • Step 1: Write down the binary number and label bit positions from right to left starting at 0 (2⁰, 2¹, 2², 2³…).
  • Step 2: Multiply each binary digit (0 or 1) by its corresponding power of two.
  • Step 3: Add all the resulting products together to get the exact decimal value.

Worked Example: Binary 101101 to Decimal

Take the 6-bit binary number 101101: (1 × 2⁵) + (0 × 2⁴) + (1 × 2³) + (1 × 2²) + (0 × 2¹) + (1 × 2⁰) = 32 + 0 + 8 + 4 + 0 + 1 = 45 in decimal. Notice that whenever a bit is 0, its contribution is 0, so adding only the weights of the 1 bits (32 + 8 + 4 + 1) gives the same result faster.

Powers of 2 Cheat Sheet for Quick Mental Conversion

Memorizing powers of two up to 2¹⁰ makes manual binary-to-decimal conversion much faster: 2⁰ = 1, 2¹ = 2, 2² = 4, 2³ = 8, 2⁴ = 16, 2⁵ = 32, 2⁶ = 64, 2⁷ = 128, 2⁸ = 256, 2⁹ = 512, and 2¹⁰ = 1024.

Why Binary to Decimal Matters in Computing & Networking

Processors, memory addresses, permissions, and network masks operate in binary internally, while humans read decimal values more easily. Understanding base-2 to base-10 conversion helps when debugging bitwise operations, reading IPv4 octets (each an 8-bit value from 0 to 255), or studying digital logic circuits.

Binary to Decimal Frequently Asked Questions (FAQs)

What is 1010 in decimal?
1010 in binary equals 10 in decimal (1×8 + 0×4 + 1×2 + 0×1 = 10).
What is 11111111 in decimal?
An 8-bit string of all ones (11111111) equals 255 in decimal, which is the maximum value of an unsigned 1-byte integer.
What is 100 in binary converted to decimal?
Binary 100 equals 4 in decimal (1×2² + 0×2¹ + 0×2⁰ = 4).
What is 1111 in decimal?
Binary 1111 (one nibble) equals 15 in decimal and F in hexadecimal.
Do leading zeros change the decimal value of a binary number?
No. Leading zeros on the left (such as 00001010 vs 1010) do not change the numeric value, though they show fixed bit width (such as 8-bit or 16-bit).
Can spaces or underscores be used in the input?
Yes, spaces and underscores (such as 1010 1101 or 1010_1101) are ignored automatically during conversion.
What happens if I enter digits other than 0 and 1?
Valid binary numbers only contain 0 and 1. If you enter another character or digit, the converter displays a validation message so you can fix the input.
How is binary to decimal different from binary to hex?
Binary to decimal converts base-2 to base-10 (powers of 2 summed together), whereas binary to hexadecimal groups bits into 4-bit nibbles and maps each group to a hex digit (0–9 or A–F).

More Tools on BinaryCalc