To convert binary to decimal, multiply each bit by its power of 2 and add them up. For example, 1101 in binary = (1 times 8) + (1 times 4) + (0 times 2) + (1 times 1) = 13 in decimal. Or just paste your binary number into our converter for instant results.
Whether you are learning computer science, debugging network configurations, or just curious about how computers think, understanding binary-to-decimal conversion is a foundational skill. This guide gives you the method, a reference chart you can bookmark, and a free calculator that handles the math instantly.
Here are the most commonly referenced binary-to-decimal-to-hex conversions. Bookmark this table — you will use it more than you think.
| Binary | Decimal | Hex |
|---|---|---|
| 0000 | 0 | 0 |
| 0001 | 1 | 1 |
| 0010 | 2 | 2 |
| 0011 | 3 | 3 |
| 0100 | 4 | 4 |
| 0101 | 5 | 5 |
| 0110 | 6 | 6 |
| 0111 | 7 | 7 |
| 1000 | 8 | 8 |
| 1001 | 9 | 9 |
| 1010 | 10 | A |
| 1011 | 11 | B |
| 1100 | 12 | C |
| 1101 | 13 | D |
| 1110 | 14 | E |
| 1111 | 15 | F |
| 100000 | 32 | 20 |
| 1000000 | 64 | 40 |
| 10000000 | 128 | 80 |
| 11111111 | 255 | FF |
| 100000000 | 256 | 100 |
| 1000000000 | 512 | 200 |
| 10000000000 | 1024 | 400 |
| 1111111111111111 | 65535 | FFFF |
Every binary digit represents a power of 2. Memorize the first 10 and you can convert most values in your head.
| Power | Value | Common Use |
|---|---|---|
| 2^0 | 1 | Least significant bit |
| 2^1 | 2 | — |
| 2^2 | 4 | — |
| 2^3 | 8 | Octal digit range (0-7) |
| 2^4 | 16 | Hex digit range (0-F) |
| 2^5 | 32 | — |
| 2^6 | 64 | — |
| 2^7 | 128 | Signed byte range (-128 to 127) |
| 2^8 | 256 | One byte (0-255), RGB color values |
| 2^9 | 512 | — |
| 2^10 | 1,024 | 1 KB (kilobyte) |
| 2^11 | 2,048 | — |
| 2^12 | 4,096 | Memory page size |
| 2^13 | 8,192 | — |
| 2^14 | 16,384 | — |
| 2^15 | 32,768 | Signed 16-bit max (32,767) |
| 2^16 | 65,536 | Unsigned 16-bit max (65,535) |
Binary to decimal conversion is straightforward once you see the pattern. Each bit position has a value that doubles as you move left.
Positions (right to left): bit 0 = 1, bit 1 = 0, bit 2 = 1, bit 3 = 1
8 + 4 + 0 + 1 = 13. Binary 1101 = decimal 13.
16 + 0 + 4 + 2 + 0 = 22. Binary 10110 = decimal 22.
All eight bits are 1, so add all powers of 2 from 2^0 through 2^7:
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255. This is the maximum value for one byte.
Digital computers are built from billions of transistors. Each transistor is a tiny switch that is either on or off — there is no "half on." This two-state nature maps perfectly to binary: on = 1, off = 0.
Engineers tried building computers with more states (ternary computers use three states), but two-state circuits are dramatically simpler, cheaper, and more reliable. When you have billions of components on a chip, simplicity wins. That is why every modern computer, phone, tablet, and smart device uses binary at the hardware level.
Everything you see on your screen right now — this text, the colors, the layout — is stored and processed as binary numbers deep down. A letter "A" is stored as 01000001. The color white is stored as 11111111 11111111 11111111 (255, 255, 255 in RGB).
To convert decimal back to binary, repeatedly divide by 2 and track the remainders:
Example: Convert 25 to binary
Reading bottom to top: 11001. Decimal 25 = binary 11001.
Binary is not just an academic concept. You encounter it in practical computing every day:
Skip the math — paste any binary number and get the decimal, hex, and octal values instantly.
Open Number Base Converter