Binary Subtraction
Enter positive binary numbers.
SOLUTION STEPS
The Last Step:
24s place:
Subtract the numbers in the 24s place.
1 – 0 = 1
Write 1 to the 24s place.
All Steps:
20s place:
Subtract the numbers in the 20s place.
1 – 0 = 1
Write 1 to the 20s place.
21s place:
0 < 1
Borrow 1 from the 22s place.
22s place:
We can't regroup from 0.
23s place:
Borrow 1 from 1
1 – 1 = 0
22s place:
Add 2 to the 22s place.
0 + 2 = 2
22s place:
Borrow 1 from 2
2 – 1 = 1
21s place:
Add 2 to the 21s place.
0 + 2 = 2
21s place:
Subtract the numbers in the 21s place.
2 – 1 = 1
Write 1 to the 21s place.
22s place:
Subtract the numbers in the 22s place.
1 – 1 = 0
Write 0 to the 22s place.
23s place:
Subtract the numbers in the 23s place.
0 – 0 = 0
Write 0 to the 23s place.
24s place:
Subtract the numbers in the 24s place.
1 – 0 = 1
Write 1 to the 24s place.
Follow the steps below in binary subtraction.
Write the numbers so that the same places are aligned in the same column.
Start subtracting numbers from the right-most digit and each time move one digit to the left.
In any digit, if the number on top is greater than or equal to the number on bottom, do the subtraction and write the result to the same place.
If the number on top is smaller than the number on bottom, move left until a non-zero number is reached on top.
Borrow 1 from the first non-zero number and reduce it by 1.
Add 2 to one digit right and move to that digit.
Continue regrouping and adding 2 to the lower digit until the digit to be subtracted is reached.
Do the subtraction and move one digit left.
The binary subtraction calculator,
You can use the binary subtraction calculator in two ways.
You can enter two positive binary numbers to the input boxes and click on the "CALCULATE" button. The result and explanations appaer below the calculator
You can click on the DIE ICON next to the input boxes. If you use this property, two random numbers are generated and entered to the calculator, automatically. You can see the result and explanations below the calculator. You can create your own examples and practice using this property.
To find the difference of some other numbers you can clear the input box by clicking on the CLEAR button under the input box.
You can copy the generated solution by clicking on the "Copy Text" link, appaers under the solution panel.
Even you can download the solution as an image file with .jpg extension if you click on the "Download Solution" link at the bottom of the solution panel. You can share the downloaded image file.
Binary Subtraction