Binary to Decimal Converter
Convert binary to decimal instantly. Free online bin to dec calculator—sum powers of 2. For programming and digital systems.
How to Convert Binary to Decimal
To convert binary to decimal, multiply each binary digit by its corresponding power of 2 and sum the results. Start from the rightmost digit (position 0) and move left, increasing the power of 2 for each position. This binary to decimal conversion is essential for understanding how computers store and process data.
Binary to decimal: multiply each bit by 2^position and add (rightmost bit is 2⁰). Reverse of decimal→binary.
1011₂ = 8+2+1 = 11₁₀.
Reading register values and flags. The table and FAQ on this page walk through the factor if you need it.
Conversion Examples
Example: 1010 to decimal
- 1×8 + 0×4 + 1×2 + 0×1 = 10
1010 binary = 10 decimal
Matches dec→bin example.
Example: 11111111 to decimal
- Sum of 2⁰…2⁷ = 255
11111111 binary = 255 decimal
Maximum 8-bit unsigned.
Common Use Cases
- Reading register values and flags.
- CS and EE coursework.
- Debugging low-level code.
- Understanding IP addresses in binary.
Frequently Asked Questions
How do I convert binary to decimal?
Add each digit × 2^position from right (starting at 0).
What is 101 binary in decimal?
4+1 = 5.
Does leading zero matter?
No—00101 and 101 are the same value.