Binary Calculator
Add, subtract, multiply, divide, or run bitwise ops on binary numbers.
This free online binary calculator performs arithmetic and bitwise operations on binary numbers of any size, showing the result in binary, decimal, and hexadecimal at once. Built on arbitrary-precision integers, so there's no overflow. No signup required, runs entirely in your browser.
Operation
Quick reference
- 1010 + 11
- → 1101 (10 + 3 = 13)
- 1111 - 1
- → 1110 (15 - 1 = 14)
- 101 × 11
- → 1111 (5 × 3 = 15)
How to use this binary calculator
A binary calculator performs arithmetic directly on base-2 numbers instead of converting to decimal first. Enter two binary values (digits 0 and 1 only) into Value A and Value B, pick an operation, and the result updates instantly — shown in binary, decimal, and hexadecimal so you can cross-check the math however you think about it.
Under the hood, this tool converts each input to a JavaScript BigInt, performs the operation with arbitrary precision, then converts the result back to a binary string. That means no 32-bit overflow — you can add, multiply, or bitwise-combine binary numbers hundreds of digits long and still get an exact result.
Supported operations
- Add / Subtract / Multiply — standard arithmetic. Subtraction that would go negative shows a minus sign rather than wrapping around, so the decimal readout stays intuitive.
- Divide — integer division; the remainder is shown alongside the quotient.
- AND / OR / XOR — bitwise operations, useful for masking, flag-checking, and low-level debugging.
Binary arithmetic by hand
Binary addition follows the same carry logic as decimal addition, just with only two digits: 0+0=0, 1+0=1, 1+1=10 (write 0, carry 1). For example, 1010 (10) + 11 (3) = 1101 (13). Multiplication works the same way as long multiplication in decimal, but each partial product is either the multiplicand itself (if the digit is 1) or zero (if the digit is 0).