Should I sell stock to pay off car loan or mortgage?
Trying to decide whether I should sell stock to pay off car loan or mortgage and I'm getting tangled up in the tax side of it. Here's my situation: I have a brokerage account with shares I've held for about 3 years, so long-term. My car loan is at 7.2% and my mortgage is at 3.1%. The stock has appreciated a lot — probably tripling from what I paid. I know selling triggers capital gains but I don't know how to compare the after-tax proceeds against what I'd actually save in interest. I tried a rough spreadsheet but I realized I don't actually know my effective rate on the gains. Is the mortgage interest deduction still a thing that changes the math here? And does it matter which loan I pay off first from a tax standpoint?