📐 Math

Binary Calculator

Perform basic arithmetic operations (addition, subtraction, multiplication, division) directly on binary numbers (base-2). Useful for computer science, networking, and digital logic design.

⏳

Formula

Base-2 Arithmetic Rules
0 + 0 = 0
0 + 1 = 1
1 + 1 = 10
(0, carry 1)

Example

Adding Two Binary Numbers

Add 1011 (binary) and 1101 (binary).

  1. Align the numbers by place value, starting from the right (1s column).
  2. Rightmost column: 1 + 1 = 10. Write 0, carry 1.
  3. Next column (2s): 1 + 0 + 1 (carry) = 10. Write 0, carry 1.
  4. Next column (4s): 0 + 1 + 1 (carry) = 10. Write 0, carry 1.
  5. Leftmost column (8s): 1 + 1 + 1 (carry) = 11.
  6. Result: 11000 (which is 24 in decimal).

Frequently Asked Questions

This calculator performs unsigned arithmetic. To calculate negative binary numbers or perform binary subtraction via addition, you would manually apply two's complement.

Related Calculators