A little clarity, calculated.

culators

Math / Binary

Binary Calculator

Perform addition, subtraction, multiplication, or division on two binary integers and show the result in base 2 and base 10. Inputs are parsed as bit strings, so leading zeros are allowed and do not change the represented value. Each binary string is converted to an integer, the selected arithmetic operation is applied, and the result is converted back to base 2. Division is integer quotient with remainder.

Your inputs

Make it your own
Calculator settings

Your result
10000
Result in base 2
Decimal value
16

Example inputs shown. Adjust them to explore.

A familiar situation

Check a small binary addition or division while studying digital logic and base conversion.

How to use this calculator

  1. Enter first integer, operation, second integer.
  2. Select Calculate to see the answer and its breakdown.
  3. Keep a scenario, change an input and compare the results.

Use consistent units and check the assumptions below before applying the result.

How binary is calculated

Each binary string is converted to an integer, the selected arithmetic operation is applied, and the result is converted back to base 2. Division is integer quotient with remainder. 1011₂ is 11₁₀; adding 101₂ (5) gives 10000₂ (16).

Parse base-2 integers, perform the selected integer operation, convert result to base 2.
A worked example

1011₂ is 11₁₀; adding 101₂ (5) gives 10000₂ (16).

Assumptions & useful context

The result depends on the values you enter and the method described above. Displayed numbers may be rounded; calculations use the unrounded values. Check that this model matches your situation before relying on it.

Frequently asked questions

Can I use digits 2 through 9?

No. Binary notation contains only 0 and 1.

How is division represented?

The result includes the whole-number quotient and the remainder.

Find a calculator