Binary to Decimal Conversion
Binary (base 2) uses only digits 0 and 1. To convert to decimal, multiply each bit by 2 raised to its position power and sum the results. Example: 10110 = 16+4+2 = 22.
Select Conversion to translate between number bases, or Arithmetic to perform binary operations.
Type a number and select its base (binary, decimal, hex, or octal).
See the converted value in all bases, or the arithmetic result with step-by-step binary working.
To convert binary to decimal, multiply each bit by 2 raised to its position and sum the results. For example, 1011 = 1x8 + 0x4 + 1x2 + 1x1 = 11.
Value = sum(digit * base^position)
Each hex digit maps to exactly 4 binary bits, making hex-to-binary conversion straightforward
Two's complement flips all bits and adds 1 to represent negative numbers
Binary addition follows the same column rules as decimal: 1+1 = 10 (carry the 1)
Use bit widths (8/16/32) to see how numbers are stored in actual computer memory
AND, OR, XOR operate bit-by-bit and are fundamental to digital logic design
Convert numbers between binary, decimal, hexadecimal, and octal instantly. Perform binary addition, subtraction, multiplication, division, and bitwise operations with full step-by-step explanations. Supports unsigned and two's complement signed representation in 8, 16, and 32-bit widths.
Binary (base 2) uses only digits 0 and 1. To convert to decimal, multiply each bit by 2 raised to its position power and sum the results. Example: 10110 = 16+4+2 = 22.
Binary addition, subtraction, multiplication, and division follow the same principles as decimal arithmetic but with only two digits. This calculator shows carries, borrows, and partial products step by step.
Bitwise AND, OR, XOR, and NOT operate on individual bits and are fundamental to computing. Two's complement representation allows negative numbers in binary, with the most significant bit indicating the sign.
Data sourced from trusted institutions
All formulas verified against official standards.