Math Fundamentals18 sections · 814 units
Open in Course

Binary Subtraction

Borrowing in base-2

Subtracting binary numbers uses the same borrowing concept as decimal. When you subtract a larger digit from a smaller one, borrow from the next column.

Rules: 0−0=00 - 0 = 0, 1−0=11 - 0 = 1, 1−1=01 - 1 = 0, 0−10 - 1 requires borrowing (borrow 1 from next column, making it 10−1=110 - 1 = 1). Example: 1010−00111010 - 0011. Work right to left with borrowing as needed. Result: 01110111.

Computers rarely use subtraction directly. Instead, they add negative numbers using two's complement. This unifies addition and subtraction into one circuit, saving hardware. Let me show you how that works.