Subtraction Setup
Pick direction and enter binary numbers
Which subtraction?
Binary subtraction uses borrowing: 0−0=0, 1−0=1, 1−1=0, 0−1=1 (borrow 1 from next column). Minuend must be ≥ subtrahend.
Result
Enter values to see result
Enter binary numbers to see the subtraction result.
The minuend must be ≥ subtrahend. Binary subtraction cannot produce negative results — use two's complement for negative numbers.
How to Use
- Select direction :- Choose A − B (A is minuend) or B − A (B is minuend)
- Enter binary A :- Type a binary number (0s and 1s only)
- Enter binary B :- Type a second binary number (0s and 1s only)
- Click Calculate :- View the difference with step-by-step borrow operations
Note: The minuend must be ≥ subtrahend. Binary subtraction cannot produce negative results directly.