CyberCodeLab logo — neon green lab flask with terminal symbolCyberCodeLab

Binary Calculator

Free online binary calculator. Perform addition, subtraction, multiplication and division on binary numbers with results shown in binary, decimal and hexadecimal.

binary-calc.run

How does binary arithmetic work?

Binary is base-2: each digit is a power of two, so 1011 = 8+2+1 = 11. Addition works like decimal but carries at 2: 1+1 = 10 (write 0, carry 1). All computer arithmetic reduces to these operations in silicon.

This calculator uses arbitrary-precision integers (BigInt), so results stay exact at any size — no 53-bit floating-point ceiling — and every answer is shown in binary, decimal and hexadecimal simultaneously.

How to use

  1. 01Enter the first binary number (0s and 1s only).
  2. 02Choose the operation: add, subtract, multiply or divide.
  3. 03Enter the second binary number and click Calculate.
  4. 04The result is shown in binary, decimal and hexadecimal.

Frequently asked questions

How does binary addition work?
Just like decimal addition but carrying at 2 instead of 10: 0+0=0, 0+1=1, 1+1=10 (write 0, carry 1). For example 1011 + 110 = 10001 (11 + 6 = 17).
What happens with division remainders?
Division is integer division — the quotient is shown in binary, decimal and hex, and the remainder is shown separately in binary.
Is there a size limit on the numbers?
No practical limit — the calculator uses arbitrary-precision arithmetic (BigInt), so even numbers with hundreds of bits compute exactly.

Related tools