📐 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 Rules0 + 0 = 00 + 1 = 11 + 1 = 10- (0, carry 1)
Example
Adding Two Binary Numbers
Add 1011 (binary) and 1101 (binary).
- Align the numbers by place value, starting from the right (1s column).
- Rightmost column: 1 + 1 = 10. Write 0, carry 1.
- Next column (2s): 1 + 0 + 1 (carry) = 10. Write 0, carry 1.
- Next column (4s): 0 + 1 + 1 (carry) = 10. Write 0, carry 1.
- Leftmost column (8s): 1 + 1 + 1 (carry) = 11.
- 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.