Binary Calculator
Enter two binary numbers and choose an operation.
AND, OR and XOR compare the numbers digit by digit.
Only the digits 0 and 1; a leading minus sign is allowed.
Only the digits 0 and 1; a leading minus sign is allowed.
Result
You entered
Decimal
Hex
Show the work
Binary addition with carries
Add the columns from the right. In binary , and , so a column that reaches 2 writes and carries into the next column on the left. The small marks each carry.
Check in decimal
Converting both numbers to decimal, adding, and converting back should give the same result.
Result
So .
Worked examples
Binary addition with carries, Check in decimal
Binary to decimal, Subtraction in decimal
Binary to decimal, Subtraction in decimal
Binary to decimal, Multiplication in decimal
Binary to decimal, Division with a remainder
Binary to decimal, Bitwise AND
Binary to decimal, Bitwise OR
Binary to decimal, Bitwise XOR