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.
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 |
|---|---|---|---|
| 0 | 0 | 0 | 1-bit |
| 1 | 1 | 1 | 1-bit |
| 101 | 5 | 5 | 3-bit |
| 1010 | 10 | A | 4-bit |
| 1111 | 15 | F | 4-bit |
| 101101 | 45 | 2D | 6-bit |
| 11111111 | 255 | FF | 8-bit (1 Byte) |
| 100000000 | 256 | 100 | 9-bit |
| 1111111111 | 1023 | 3FF | 10-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 (
0or1) 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?
What is 11111111 in decimal?
11111111) equals 255 in decimal, which is the maximum value of an unsigned 1-byte integer.What is 100 in binary converted to decimal?
100 equals 4 in decimal (1×2² + 0×2¹ + 0×2⁰ = 4).What is 1111 in decimal?
1111 (one nibble) equals 15 in decimal and F in hexadecimal.Do leading zeros change the decimal value of a binary number?
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?
1010 1101 or 1010_1101) are ignored automatically during conversion.What happens if I enter digits other than 0 and 1?
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?
0–9 or A–F).