With Americans holding over $13 trillion in mortgage debt, the decision of whether to make extra payments on your mortgage or invest that money elsewhere is one of the most significant financial choices a homeowner faces. This calculator provides a comprehensive side-by-side comparison of both strategies, helping you make an informed decision based on your specific loan terms, tax situation, and investment expectations.
Enter your mortgage details along with the extra amount you could contribute — as a lump sum, monthly extra payment, or both — to see detailed projections.
The calculator uses standard amortization formulas to compute your remaining payments and total interest under both scenarios. Each month, interest is calculated on the current balance, and extra payments are applied directly to principal, which recalculates the entire remaining schedule. For the investment comparison, the tool projects compound growth using both conservative risk-free returns and expected market returns.
A tax-adjusted break-even analysis factors in mortgage interest deductibility using your marginal tax rate, giving you the effective rate to beat with investments.
This tool is designed for homeowners weighing the prepay-versus-invest decision, financial planners advising clients on debt strategy, first-time buyers understanding the long-term cost of their mortgage, or anyone refinancing who wants to evaluate the impact of different payment strategies.
The analysis accounts for real-world factors that simplified calculators often ignore, including tax implications and the distinction between guaranteed savings from prepayment versus uncertain but potentially higher investment returns.
All calculations run entirely in your browser — your mortgage balance, interest rate, tax information, and financial details are never transmitted to any server or stored anywhere. No registration or personal data is required. Results update in real time as you adjust inputs, letting you quickly compare scenarios and find the strategy that aligns with your risk tolerance, timeline, and overall financial goals.
Enter your mortgage balance, interest rate, remaining term, and monthly payment.
Add your prepayment amounts (lump sum or monthly extra) and compare with investing that money instead.
View your savings comparison, timeline chart, and share or copy your results.
The Prepay vs. Invest Decision
The prepay-versus-invest question is one of the most debated topics in personal finance. The core concept is simple: every dollar of extra mortgage payment earns you a guaranteed, risk-free return equal to your mortgage interest rate. No stock, bond, or fund can promise the same certainty.
Historically, the S&P 500 has returned approximately 10.3% annually over the past 30 years. Against a 6.5% mortgage, that suggests investing wins by ~3.8 percentage points. But investment returns are taxed (capital gains reduce net gains), while mortgage prepayment savings are tax-free. After taxes and fees, the gap narrows considerably.
The psychological dimension is also significant. A 2019 PNAS study (Ong et al.) found that debt relief reduced anxiety symptoms from 78% to 53% among participants, and cognitive error rates dropped from 17% to 4% — improvements equivalent to recovering from sleep deprivation. The number of debts mattered more than the total amount, suggesting that eliminating a mortgage has outsized psychological benefits.
Prepayment penalties are rare on modern mortgages. Under federal Qualified Mortgage rules, penalties are capped at 2% in years 1–2 and 1% in year 3, with none allowed after year 3. Most conventional loans originated today carry no penalty at all. Always verify your loan terms before making large prepayments.
For homeowners who itemize taxes, the mortgage interest deduction lowers the effective cost of their loan. At a 24% bracket, a 6.5% rate becomes 4.94% effective. But after the 2017 Tax Cuts and Jobs Act roughly doubled the standard deduction, fewer than 10% of filers now itemize — so most borrowers don't benefit from this deduction.
Enter your mortgage balance, interest rate, remaining term, and monthly payment.
Add your prepayment amounts (lump sum or monthly extra) and compare with investing that money instead.
View your savings comparison, timeline chart, and share or copy your results.
Methodology
The calculator uses standard amortization formulas to compute remaining payments and interest. Each month, interest is calculated on the current balance (balance × rate ÷ 12), with the remainder of your payment reducing principal. Extra payments are applied directly to principal, which recalculates the entire remaining schedule — reducing both total interest and loan duration.
The investment comparison uses compound growth: FV = PV(1+r)^n, with separate projections for risk-free returns (e.g., Treasury bonds) and expected market returns. The break-even analysis adjusts for tax deductibility using the formula: effective rate = mortgage rate × (1 − marginal tax rate). This lets you compare the guaranteed savings from prepayment against the uncertain but potentially higher returns from investing.
Paying off your mortgage early provides a guaranteed return equal to your interest rate — no market investment offers that certainty. For example, prepaying a 6.5% mortgage is equivalent to earning 6.5% risk-free, which exceeds the ~4.5% 10-year Treasury yield.
Tax deductibility can change the math significantly. At a 24% tax bracket, a 6.5% mortgage has an effective rate of only 4.94% — making investing more competitive. However, fewer than 10% of taxpayers now itemize deductions after the 2017 tax law changes.
The key crossover: when mortgage rates are below ~4–5%, investing strongly favors. At rates above 7–8%, prepaying becomes compelling. The 5–7% range is a gray zone where personal factors — risk tolerance, emergency fund adequacy, and years until retirement — should guide your decision.
Practical Examples
Scenario 1 — Lump sum prepayment: You have $30,000 and a $300,000 mortgage at 6.5% with 25 years remaining. Applying it as a lump sum saves approximately $68,000 in interest and shortens the loan by ~3.5 years — a guaranteed 6.5% return on your money.
Scenario 2 — Monthly extra payments: Adding $500/month to a $300,000 mortgage at 6.5% saves roughly $130,000 in interest and pays off the loan ~10 years early. The same $500/month invested at 7% would grow to about $150,000, but with market risk and tax drag.
Scenario 3 — Tax-adjusted comparison: With a 24% tax bracket and itemized deductions, your effective mortgage rate drops to 4.94%. Investing $500/month at 7% (after-tax ~5.5%) yields a meaningful advantage over prepaying — but only if you consistently invest rather than spend the difference.
Tips for Your Prepayment Decision
1. Build an emergency fund first — financial advisors recommend 3–6 months of expenses before making extra mortgage payments. Liquidity matters more than optimization.
2. Pay off high-interest debt first — credit cards averaging 20%+ APR should be eliminated before directing extra money to a 6.5% mortgage. The math is unambiguous.
3. Compare after-tax rates — if you itemize deductions, calculate your effective mortgage rate (rate × (1 − tax bracket)) before comparing to investment returns. This is the true hurdle rate.
4. Consider your timeline — if retirement is 5+ years away, investing has historically outperformed. If retirement is near, debt elimination provides cash flow certainty.
5. Check for prepayment penalties — while rare on modern conventional loans, some mortgages charge penalties in the first 2–3 years. Read your loan agreement before making large lump sum payments.
6. Split the difference — many financial planners recommend a hybrid approach: make some extra payments for guaranteed savings while investing the rest for growth potential. This diversifies your financial strategy.
All calculations are performed locally in your browser. No data is sent to any server.
Disclaimer: This calculator is for informational purposes only. Actual results may vary based on prepayment terms, tax situation, and market conditions.
More on AmazonAs an Amazon Associate I earn from qualifying purchases.
Frequently Asked Questions
How does the calculator work?
Enter your current mortgage details (remaining balance, interest rate, term, monthly payment) and specify your prepayment options—either a one-time lump sum, recurring monthly extra payments, or both. The calculator then projects three scenarios: (1) what you'd save in interest by prepaying, (2) what you'd earn investing those same funds at a risk-free rate, and (3) what you'd earn at an expected market rate. A timeline visualization and clear verdict help you understand which option is mathematically better for your situation.
What is a lump sum prepayment?
A lump sum prepayment is a one-time extra payment applied directly to your mortgage principal. Common sources include tax refunds, work bonuses, inheritance, or savings. For example, applying a $20,000 lump sum to a $300,000 mortgage immediately reduces your balance to $280,000, which means less interest accrues going forward and your loan is paid off sooner. The calculator shows exactly how much interest you'd save and how many months you'd shorten your loan term.
What is a monthly extra payment?
A monthly extra payment is an additional amount you pay each month on top of your regular mortgage payment, applied to the principal. For example, if your payment is $1,900 and you pay $2,400, the extra $500 goes directly toward reducing your loan balance. Even modest extra payments compound significantly over time—$200/month extra on a 30-year mortgage can save tens of thousands in interest and pay off your loan years early.
What is the combined scenario?
The combined scenario shows what happens when you make both a lump sum payment AND ongoing monthly extra payments. This maximizes prepayment impact: the lump sum immediately reduces your principal, while monthly extras continue chipping away at the balance. The calculator shows all three scenarios (lump sum only, monthly only, combined) side by side so you can see the incremental benefit of each strategy and choose what fits your financial situation.
What is the risk-free rate?
The risk-free rate represents the return you can earn with virtually zero risk of losing money—typically US Treasury bonds or high-yield savings accounts. Currently around 4-5%, this rate is 'guaranteed' in the sense that the US government backs it. The calculator uses this as a baseline: if prepaying your mortgage beats the risk-free rate, you're getting a better guaranteed return by paying down debt than by putting money in a savings account.
What is the expected return rate?
The expected return rate is what you might earn by investing in the stock market over the long term. Historically, the S&P 500 has returned about 7-10% annually after inflation. However, unlike the risk-free rate, this is NOT guaranteed—markets fluctuate and you could lose money in any given year. The calculator shows this rate to help you understand the potential upside of investing versus the guaranteed return of paying down your mortgage.
What is the difference between actual and effective rate?
If your mortgage interest is tax-deductible (common in the US for those who itemize), your 'effective' interest rate is lower than the stated rate. For example, with a 6% mortgage and a 25% marginal tax bracket, your effective rate is about 4.5% (6% × 0.75) because you get 25% of your interest back as a tax deduction. The calculator lets you toggle between rates to see how tax benefits might favor investing over prepaying—since your effective mortgage cost is lower, the hurdle for investing to win is also lower.
How is interest saved calculated?
The calculator computes total interest paid over your mortgage's remaining life with and without prepayment. Interest saved = (interest without prepayment) − (interest with prepayment). Prepayments reduce your principal balance, which means future payments have less interest and more going to principal, creating a snowball effect. The sooner and larger your prepayment, the more interest you save because you're cutting off compound interest at its source.
What does the timeline visualization show?
The timeline shows your mortgage payoff under different scenarios as horizontal bars. The baseline (no prepayment) shows your full remaining term. The lump sum, monthly, and combined scenarios show shorter bars representing how many years earlier you'd pay off your mortgage. The green portion shows your active repayment period; the saved time appears as empty space. This visual makes it easy to see the time value of different prepayment strategies at a glance.
What does the verdict mean?
The verdict compares your mortgage rate against the investment return rates. 'Prepay wins' means your mortgage rate exceeds both the risk-free and expected return rates—prepaying is mathematically optimal. 'Investing wins' means even the risk-free rate beats your mortgage rate—investing is clearly better. 'It's close' or 'Depends on risk tolerance' means your rate falls between risk-free and expected returns—the choice depends on whether you prefer guaranteed savings (prepay) or potential higher gains with market risk (invest).
Should I prepay my mortgage or invest?
It depends on math AND psychology. Mathematically: if your mortgage rate exceeds expected investment returns, prepay. If investment returns exceed your mortgage rate, invest. If they're close, it's a toss-up. Psychologically: prepaying offers guaranteed, risk-free returns and the peace of mind of being debt-free sooner. Investing offers higher potential returns but with volatility and no guarantees. Many people split the difference—putting some toward the mortgage for emotional security while investing the rest for growth potential.
What if I have other high-interest debt?
Always prioritize higher-interest debt first. Credit cards (15-25% APR), personal loans, or car loans typically have much higher rates than mortgages (3-7%). Paying off a 20% credit card is a guaranteed 20% return—far better than any mortgage prepayment or typical investment. Use this calculator only after you've eliminated high-interest debt. The debt avalanche method (highest interest first) is mathematically optimal for becoming debt-free fastest.
Should I have an emergency fund first?
Yes, absolutely. Most financial advisors recommend 3-6 months of expenses in accessible savings before making extra mortgage payments or investing. Without an emergency fund, an unexpected job loss, medical bill, or major repair could force you to take on high-interest debt (credit cards) or even miss mortgage payments. The security of liquid savings outweighs the mathematical optimization of prepaying your mortgage. Build your emergency fund first, then use this calculator.
Are the investment projections guaranteed?
No. The risk-free rate is relatively stable but still changes with interest rate policy. The expected return rate is based on historical stock market averages—actual returns vary wildly year to year and could be negative. The calculator assumes constant rates for simplicity, but real markets don't work that way. Prepaying your mortgage gives you a guaranteed, known return equal to your interest rate. Investing gives you uncertain returns that historically average higher but come with significant volatility and risk of loss.
Is my financial data secure?
Absolutely. All calculations happen directly in your browser using JavaScript—your data never leaves your device. We don't collect, store, or transmit any financial information to any server. There's no account creation, no cookies tracking your inputs, and no analytics on your numbers. You can even use this tool offline once loaded. This privacy-first approach means you can safely enter real financial details without worry.
My Favorites
Drag to reorder
No favorites yet
Tap the ☆ on any tool page to bookmark it for quick access.