Subtracting hexadecimal numbers by hand looks unfamiliar at first because of the letters A through F standing in for 10 through 15, but the underlying process is identical to subtracting decimal numbers column by column, borrowing included.
Hex Digit Values Worth Knowing First
Before subtracting, it helps to have the hex-to-decimal values memorized: A=10, B=11, C=12, D=13, E=14, F=15. Every hex digit below 10 keeps its normal decimal value, so only the six letter digits need translating in your head while working through a problem.
Subtracting Without Borrowing
When the top digit in a column is larger than or equal to the bottom digit, hex subtraction works exactly like decimal: convert both digits to decimal if needed, subtract normally, and convert the result back to hex if it lands on 10 or above. Subtracting 8 from D (13), for example, gives 5 directly, since 13-8=5.
Subtracting With Borrowing
When the top digit is smaller than the bottom digit, you borrow 16 from the next column to the left instead of 10, because hexadecimal is base 16 rather than base 10. Subtracting 9 from 3 requires borrowing: 3 becomes 3+16=19, and 19-9=10, which converts to A in hex — with the column to the left reduced by 1 to account for the borrow.
A Full Worked Example
Subtracting 1A (26) from 4C (76): the rightmost column subtracts A (10) from C (12), giving 2, no borrow needed. The next column subtracts 1 from 4, giving 3. The result is 32 in hex, which is 50 in decimal — matching 76-26=50.
Why Base 16 Borrowing Feels Different at First
The core confusion usually isn’t the math itself but the base — decimal subtraction borrowing is second nature because it’s been practiced since childhood, while borrowing 16 instead of 10 requires consciously overriding that instinct until enough practice makes the base-16 version feel just as automatic.
Double-Checking Your Work
Because the letters make hex subtraction easy to slip up on, it’s worth converting both original numbers to decimal, subtracting normally, and converting the result back to hex to confirm your column-by-column answer matches.
More Worked Examples
3F - 1A = 25 (63 - 26 = 37). F minus A is 5, and 3 minus 1 is 2.A0 - 2B = 75 (160 - 43 = 117). Here the rightmost column needs a borrow: 0 becomes 16, and 16 minus B (11) is 5. The next column is A minus 1 for the borrow, which is 9, then minus 2, which is 7.FF - F0 = F (255 - 240 = 15). The right digit is F minus 0 and the left digit is F minus F, so the answer is 0F, usually written F.1000 - 1 = FFF (4096 - 1 = 4095). A long chain of borrows turns the zeros into Fs.
Borrowing Across Several Zeros
In 1000 minus 1, the rightmost column has 0 minus 1, so you borrow from the next column. That column is also 0, so the borrow keeps moving left until it reaches the 1. Each zero it passes becomes F, since after lending 1 it holds 16 minus 1, which is 15. That is why the answer is FFF.
Using Binary as a Check
Because each hex digit equals four bits, you can verify a result by converting to binary. For example, F is 1111 and 5 is 0101, so F minus 5 is 1111 minus 0101, which gives 1010, the hex digit A. This connects directly to binary subtraction.
Where Hex Subtraction Is Used
Programmers subtract hex numbers to find the size of a memory range (end address minus start address), to measure offsets in files and to adjust color values. If you work with hex codes for web design, learn the basics in hexadecimal explained.
A Short Practice Set
Try these, then check them with a hex converter: 5C – 2E, B4 – 7, and 200 – 1. The answers are 2E, AD and 1FF.
Practice With a Tool on Hand
Our hex converter converts any hex value to decimal and back instantly, which makes checking hex subtraction fast while you’re still getting comfortable with doing it by hand. For the conversion method these subtraction examples build on, see our guide on binary to hexadecimal.
