How to Subtract Binary Numbers?

Align the two binary numbers by place value

Start subtracting from the rightmost bit

If the top bit is greater than or equal to the bottom bit, subtract directly

If the top bit is smaller, borrow 1 from the next left bit

After borrowing, continue subtracting the current column

Repeat the process for each bit moving left

If needed, borrow across multiple zeros until a 1 is found

Write the result bits in order from left to right

Remove any leading zeros from the final answer

Suggested for You

Trending Today