Base 2 → Base 10 • Powers of 2 Breakdown
Binary to Decimal Converter
Convert binary numbers into exact decimal integers with a powers-of-2 place value table, hexadecimal and octal outputs, and arbitrary-precision BigInt support.
Decimal Result (Base 10)
255
Hexadecimal (Base 16)
FF
Octal (Base 8)
377
Bit Metrics
8 bits (8 set)
Powers-of-2 Place Value Table
| Bit | Power of 2 | Place Value | Contribution |
|---|
Binary to Decimal Formula
Every bit at position i (counting from 0 on the right) adds 2ⁱ when the bit is 1, or 0 when the bit is 0. Summing the place values of all 1-bits produces the decimal integer.
Example: 101010₂
(1 × 2⁵) + (0 × 2⁴) + (1 × 2³) + (0 × 2²) + (1 × 2¹) + (0 × 2⁰) = 32 + 8 + 2 = 42₁₀.