A familiar situation
Check a small binary addition or division while studying digital logic and base conversion.
How to use this calculator
- Enter first integer, operation, second integer.
- Select Calculate to see the answer and its breakdown.
- 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.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.