About the Binary Calculator
Computer science courses and low-level programming need binary arithmetic. Enter two binary numbers and choose an operation: add, subtract, multiply, integer divide, AND, OR or XOR.
The result is shown in binary, decimal and hexadecimal. Big integers are used, so long binary numbers are handled exactly.
How to use the Binary Calculator
- Enter the first binary number.
- Choose the operation and enter the second number.
- Read the result in binary, decimal and hex.
Features
- Share as image: a 1200×630 card of your result to post or send, plus a QR code to open the same values on your phone
- Arithmetic and bitwise ops
- Binary, decimal and hex output
- Exact for long numbers
- Remainder for division
Supported formats
- Numbers
Frequently asked questions
Can I enter negative numbers?
You can prefix a minus sign. Results of subtraction can be negative and are shown with a minus sign, not two’s complement.
Are my numbers saved?
No. Calculations happen in your browser and nothing you enter is sent anywhere or stored.