Binary Subtraction
Enter positive binary numbers.
SOLUTION STEPS
The Last Step:
2^{4}s place:
Subtract the numbers in the 2^{4}s place.
1 – 0 = 1
Write 1 to the 2^{4}s place.
All Steps:
2^{0}s place:
Subtract the numbers in the 2^{0}s place.
1 – 0 = 1
Write 1 to the 2^{0}s place.
2^{1}s place:
0 < 1
Borrow 1 from the 2^{2}s place.
2^{2}s place:
We can't regroup from 0.
2^{3}s place:
Borrow 1 from 1
1 – 1 = 0
2^{2}s place:
Add 2 to the 2^{2}s place.
0 + 2 = 2
2^{2}s place:
Borrow 1 from 2
2 – 1 = 1
2^{1}s place:
Add 2 to the 2^{1}s place.
0 + 2 = 2
2^{1}s place:
Subtract the numbers in the 2^{1}s place.
2 – 1 = 1
Write 1 to the 2^{1}s place.
2^{2}s place:
Subtract the numbers in the 2^{2}s place.
1 – 1 = 0
Write 0 to the 2^{2}s place.
2^{3}s place:
Subtract the numbers in the 2^{3}s place.
0 – 0 = 0
Write 0 to the 2^{3}s place.
2^{4}s place:
Subtract the numbers in the 2^{4}s place.
1 – 0 = 1
Write 1 to the 2^{4}s 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