Binary Arithmetic Calculator

Binary digits only; optional sign, no 0b prefix.
Binary digits only; optional sign, no 0b prefix.
Enter operation.
Math

Binary Arithmetic with stated conventions, validation and a worked example.

Formula

Perform exact binary integer arithmetic. Division truncates toward zero.

Example Calculation

Example inputs
  • First binary integer: 1011
  • Second binary integer: 10
  • Operation: Add

1011₂+10₂=1101₂, or 11+2=13.

Frequently asked questions

How do I use this calculator?

Enter first binary integer, second binary integer, operation. The result updates automatically. Use Reset to restore the example values.

What method does it use?

Perform exact binary integer arithmetic. Division truncates toward zero.. Exact signed arithmetic; up to 512 binary digits per input. Division returns quotient and remainder, not a binary fraction.

Why might a rounded result differ?

The calculation keeps full numeric precision internally, then rounds the displayed result. Rounding intermediate steps by hand can produce a slightly different answer.

Are my inputs saved online?

No. This calculator processes your inputs in your browser. A recently used list stores only calculator names on this device, not your entered values.

Check the assumptions and units before using this result. Read about calculation methods.