Binary calculator

Add, subtract, multiply and divide two binary numbers — every step is spelled out in decimal so you can see what the bits are doing.

Inputs
Type binary digits or tap the keypads (max 16 bits).

Decimal: 11

Binary keypad

Decimal: 6

Binary keypad

Answer
1011 + 110 — in decimal 11 + 6

10001

Decimal: 17

Step by step
Each step of the binary work, explained in decimal.
  1. 1. Column 0 (place value 1)

    1

    1 + 0 + carry 0 = 1 → write 1, carry 0

  2. 2. Column 1 (place value 2)

    01

    1 + 1 + carry 0 = 2 → write 0, carry 1

  3. 3. Column 2 (place value 4)

    001

    0 + 1 + carry 1 = 2 → write 0, carry 1

  4. 4. Column 3 (place value 8)

    0001

    1 + 0 + carry 1 = 2 → write 0, carry 1

  5. 5. Final carry

    10001

    A carry of 1 is left over, so it becomes a new leading bit (place value 16 in decimal).

  6. 6. Result

    10001

    11 + 6 = 17 in decimal.