BinaryCon Binary Converter

Binary Subtractor

Result

Binary Subtractor

Subtract binary numbers with borrow visualization.

Example: 1010, 0011

Definition: Subtracts the second binary operand from the first and returns the difference in binary, showing borrow where appropriate.

Operation

Binary subtraction: perform bitwise subtraction with borrow, or use two's complement addition for signed values.
Example (unsigned): 1010 - 0011 = 0111