Binary Calculator
Do arithmetic and bitwise operations on binary numbers. Results are shown in binary, decimal and hex.
Result 10001.
Result (binary)1 0001
Decimal17
Hex11
Step by step
- Add column by column from the right: 0 + 0 = 0, 0 + 1 = 1, 1 + 1 = 10 (write 0, carry 1), 1 + 1 + 1 = 11 (write 1, carry 1).
- Check in decimal: 11 + 6 = 17
Binary addition rules
- 0 + 0 = 0
- 0 + 1 = 1
- 1 + 1 = 10 (write 0, carry 1)
- 1 + 1 + 1 = 11 (write 1, carry 1)
1011 + 110 = 10001 (11 + 6 = 17).
Bitwise operations
AND keeps bits set in both numbers (used for masks), OR combines them, XOR flips the bits that differ (used in checksums and simple ciphers). 1011 XOR 0110 = 1101.
Frequently asked questions
What is 1 + 1 in binary?
10.
What is 1011 + 110 in binary?
10001.
What is XOR?
Exclusive or: 1 where exactly one of the bits is 1.