Got extra cash each month? Two classic uses: pay down the mortgage (a guaranteed return equal to your mortgage rate) or invest it (a higher expected return, but not guaranteed). This compares both paths with your real numbers, over the exact same period.
This is the tax on your investment gains if you invest the extra money instead of prepaying. For long-term gains (held over a year), federal rates for 2026 are: 0% if taxable income is under $49,450 (single) / $98,900 (joint); 15% for most households (up to $545,500 / $613,700); 20% above that — plus a possible 3.8% net investment income tax over $200K / $250K MAGI. Then add your state's tax on gains, if any: California taxes gains as ordinary income (up to 9.3%+), so a California investor in the 15% federal band might enter about 24% here. Gains on holdings under a year are taxed at your regular income rate instead — use that if you would trade actively.
Both paths are compared at the moment the extra payments would make you mortgage-free, and both spend exactly the same amount every month until then. The comparison counts everything at that moment: the investing path holds its after-tax portfolio minus the mortgage balance it still owes, while the payoff path holds no portfolio but owes nothing. The "interest saved" figure above is the lifetime saving across the whole original loan — useful for scale, but the verdict is decided by those net positions at the payoff date, because the investor still has a debt the payer no longer carries. After the payoff date the paths diverge again (the payer can invest the whole old mortgage payment), which is why most honest comparisons stop at the payoff date.
Read: Pay off the mortgage or invest? A framework, not a slogan
Prefer to watch? Watch the video walkthrough of this calculator — video and full transcript.
Paying extra principal earns a guaranteed return equal to your mortgage rate — no market risk, no tax on the "gain," but the money becomes illiquid home equity. Investing the same money earns whatever the market returns, with risk, but stays accessible. This calculator runs both paths on your actual balance, rate, and extra payment, and shows the net-worth difference at several horizons, so the decision rests on your numbers rather than on slogans from either camp.
As a rough band: below about 4–5%, investing has historically come out ahead on expected value; above about 6–7%, the guaranteed return of prepayment is hard for a balanced portfolio to beat after tax and risk. Between the two, liquidity, job stability, and how the choice helps you sleep matter as much as the math.
Rarely, anymore. Since the standard deduction roughly doubled in 2018, most households do not itemize at all — for them the deduction is worth $0 and the mortgage rate is the true cost. If you do itemize, only the interest above the standard deduction saves tax, and only at your marginal rate.
Capture any employer 401(k) match first (an instant 100% return beats both options), clear high-interest debt, and fill your emergency fund — extra principal is hard to get back in an emergency, and an invested taxable account can double as a backup in a way home equity cannot.