Math
Binary Subtraction Calculator
Subtract two numbers and show the binary result.
Did this calculator solve your problem today?
✓ Thank you for your feedback!
Report issue to loopingon.com
Sponsored
Subtract binary numbers; here you enter decimals and read the binary difference.
The math behind it
Subtraction in binary follows the same borrowing rules as decimal, but in base 2. Computers usually use two's complement to subtract.
Worked Example
13 − 5 = 8 = 1000 in binary.
Frequently Asked Questions
How do computers subtract?
They add the two's complement of the subtrahend.
Advertisement