Binary calculator

Add, subtract, multiply or divide two binary numbers. The answer is shown in binary with a decimal check, so you can mark homework or debug bitwise code quickly.

Operation
Result (binary)

Binary addition rules

SumResultCarry
0 + 000
0 + 110
1 + 101
1 + 1 + 1 (with carry)11

Example: 1011 + 0110 = 10001 (11 + 6 = 17).

Binary subtraction with borrowing

0 − 0 = 0, 1 − 0 = 1, 1 − 1 = 0, and 0 − 1 = 1 borrow 1 from the next column (the borrowed 1 is worth 2 in the current column).

Example: 1100 − 0101 = 0111 (12 − 5 = 7). Computers actually subtract by adding the two’s complement.

Binary multiplication

Multiplying by 1 copies the number; by 0 gives 0. Shift and add, exactly like long multiplication: 101 × 11 = 101 + 1010 = 1111 (5 × 3 = 15). Multiplying by 102 is just a left shift.

Full walk-throughs are in binary arithmetic explained.

Frequently asked questions

What is 1 + 1 in binary?

10 — that is, 0 with a carry of 1 (one 2 and no 1s).

How does binary division show remainders?

The calculator shows the whole-number quotient and the remainder, both in binary, e.g. 1101 ÷ 100 = 11 remainder 1 (13 ÷ 4 = 3 r 1).

Keep going

Last reviewed 28 November 2026. Conversions run entirely in your browser.