Binary math looks intimidating at first because it only has two digits to work with, but addition and subtraction in binary follow rules that are actually simpler than their decimal equivalents, once you know the four basic cases.
Binary Addition Rules
Binary addition has only four possible combinations: 0+0=0, 0+1=1, 1+0=1, and 1+1=10 (which is binary for “carry a 1 to the next column, write down 0”). That last case, the carry, is the only part that trips people up, and it works exactly like carrying a 1 in decimal addition when a column adds up to 10 or more.
A Worked Addition Example
Adding 0101 (5) and 0011 (3): starting from the rightmost column, 1+1=10, so write 0 and carry 1. Next column: 0+1+the carried 1=10, so write 0 and carry 1 again. Next column: 1+0+the carried 1=10, write 0, carry 1. Final column: 0+0+the carried 1=1. Reading the result left to right gives 1000, which is 8 in decimal — matching 5+3=8 exactly.
Binary Subtraction Rules
Binary subtraction also has four cases: 0-0=0, 1-0=1, 1-1=0, and 0-1=1 with a borrow from the next column to the left, exactly like borrowing in decimal subtraction when the top digit is smaller than the bottom one.
A Worked Subtraction Example
Subtracting 0011 (3) from 0101 (5): rightmost column, 1-1=0. Next column, 0-1 requires borrowing, so it becomes 10-1=1, and the borrow reduces the next column. Continuing this through all four columns gives 0010, which is 2 in decimal — matching 5-3=2.
Why Computers Use This Instead of Decimal
A computer’s circuits are built from switches that are either on or off, which naturally represent exactly two states — 1 and 0 — so binary arithmetic maps directly onto real hardware in a way decimal arithmetic never could. Every calculation a computer performs, no matter how complex, ultimately breaks down into these same simple binary addition and subtraction steps repeated at enormous speed.
Check Your Work
Working through binary addition and subtraction by hand is the best way to actually understand the carry and borrow rules, but double-checking the result against decimal math is a good habit while you’re learning. Our binary translator can convert your binary answer back to see if it matches, and our guide on how to read binary covers the decimal conversion step in more detail. For the multiplication and division side of binary math, see our guide on binary multiplication and division.
