Binary to Decimal Converter
Free binary to decimal converter for unsigned and signed Two’s Complement numbers with interactive positional bit weights, hex/octal readouts, and export.
Binary to Decimal Powers of Two Reference
Base 2 → Base 10| Power | Binary (Base 2) | Decimal (Base 10) | Hexadecimal |
|---|---|---|---|
| 2⁰ | 1 | 1 | 0x1 |
| 2¹ | 10 | 2 | 0x2 |
| 2² | 100 | 4 | 0x4 |
| 2³ | 1000 | 8 | 0x8 |
| 2⁴ | 10000 | 16 | 0x10 |
| 2⁵ | 100000 | 32 | 0x20 |
| 2⁶ | 1000000 | 64 | 0x40 |
| 2⁷ | 10000000 | 128 | 0x80 |
| 2⁸ − 1 | 11111111 | 255 | 0xFF |
| 2⁸ | 100000000 | 256 | 0x100 |
| 2¹⁰ | 10000000000 | 1,024 | 0x400 |
| 2¹⁶ − 1 | 1111111111111111 | 65,535 | 0xFFFF |
Click any row to load that binary value directly into the interactive binary to decimal calculator above.
Signal & Number Converters
7 toolsBinary to Decimal Positional Notation & Signed Arithmetic
Every binary to decimal conversion evaluates the positional polynomial N = Σ b_i × 2^i where bit b_0 is the rightmost Least Significant Bit (weight 1) and each leftward shift doubles the place value. For fixed-width signed computer registers (8, 16, 32, or 64 bits), the highest bit carries weight −2^(w−1) under Two’s Complement encoding.
Need to translate 8-bit binary sequences back into ASCII/UTF-8 text or expand base-16 register dumps into decimal? Switch straight to our Binary Code Translator or Hex to Decimal tool.
“In a pure binary numeration system, the fixed radix is two and each digit position carries an integral power of two as its positional weight.”
— Standard reference: ISO/IEC 2382 — Information Technology Vocabulary (Binary Numeration)
Binary to Decimal Notes
- How do you convert a binary number to decimal by hand?
- Multiply each binary digit (0 or 1) from right to left by increasing powers of two (2⁰ = 1, 2¹ = 2, 2² = 4, 2³ = 8, ...) and sum the non-zero terms. For example, 101010 = 1×32 + 0×16 + 1×8 + 0×4 + 1×2 + 0×1 = 42.
- How does signed Two’s Complement change a binary to decimal result?
- In a fixed-width signed integer (such as 8-bit int8), the leftmost Most Significant Bit carries a negative weight (−2⁷ = −128). Thus 10000000 equals +128 when unsigned, but −128 in signed 8-bit Two’s Complement.
- Does this converter lose precision on 64-bit or larger binary numbers?
- No. Standard JavaScript floating-point numbers lose integer accuracy above 2⁵³, whereas our workbench uses native BigInt arithmetic so 64-bit, 128-bit, and arbitrary-length bitstreams stay 100% exact.
- How is binary to decimal different from binary to text?
- Binary to decimal treats the entire bit sequence as a single base-2 integer value. Binary to text splits bits into 8-bit UTF-8 bytes and maps each byte to characters—use our main Binary Code Translator for text decoding.