Binary Calculator

Perform arithmetic on two binary numbers — addition, subtraction, multiplication, or division — with the answer shown in binary and decimal. This free online developer calculator runs entirely in your browser — no signup, no data sent anywhere.

· Reviewed by the CalculatorHive editorial team

Inputs

Results

Result (Binary)
Result (Decimal)

How It Works (Formula & Method)

Each binary input is parsed to a decimal integer, the chosen operation is applied, and the result is converted back to binary. Addition carries when two 1s meet (1 + 1 = 10); division here returns the integer quotient, discarding any remainder.

Worked Example

Below is a worked example using the calculator's default values. The same numbers are pre-filled in the form above so you can press Calculate and see the result without typing anything.

Inputs used:

  • Binary Number A: 1010
  • Operation: add
  • Binary Number B: 110

With these inputs, the calculator computes the metrics shown in the Results panel. Change any value and press Calculate again to see how the result responds — the live widget and the chart both update instantly.

About the Binary Calculator

Binary arithmetic follows the same rules as decimal arithmetic, but with only two digits — 0 and 1. It is the foundation of every operation a CPU performs. This calculator lets you add, subtract, multiply, or divide two binary numbers without converting to decimal in your head.

Tips & Considerations

  • Enter only 0s and 1s — any other character makes the input invalid.
  • Binary addition has just four rules: 0+0=0, 0+1=1, 1+0=1, and 1+1=10 (write 0, carry 1).
  • Subtraction can produce a negative result, shown here with a leading minus sign.

Frequently Asked Questions

How does binary addition carry work?

When two 1 bits add, the result is 10 in binary — you write 0 and carry 1 to the next column, exactly like carrying 10 in decimal addition.

Why is division integer-only?

Binary fractions need a fixed-point or floating-point format to represent cleanly. This tool returns the whole-number quotient so the result stays an exact binary integer.

What is the decimal result for?

It lets you sanity-check the binary answer against familiar base-10 arithmetic.

What does the Binary Calculator compute?

The Binary Calculator takes 3 input values and returns 2 results. Add, subtract, multiply, or divide two binary numbers and see the result in both binary and decimal.

Ad placement