Pay Off Debt vs Invest Calculator
Should you pay off debt early or invest the difference? Calculate based on interest rate, tax treatment, and expected investment returns.
Debt vs Invest Decision Guide
The Basic Framework
Compare the AFTER-TAX cost of debt vs the AFTER-TAX return of investing. Debt's effective cost = APR × (1 - tax benefit factor). Mortgage interest may be deductible if itemizing (most people don't itemize anymore post-TCJA), reducing effective cost. Student loan interest deductible up to $2,500/year (phases out at higher incomes). Credit cards, auto loans, personal loans: no tax benefit, full APR is the cost. Investment after-tax return = expected return × (1 - tax rate on returns). 401(k)/Tradi
ALWAYS Get the 401(k) Match First
Even at 25%+ credit card APR, the 401(k) match is mathematically better than paying off debt. Why: 50% match = 50% INSTANT return vs 25% APR. Math: contribute $1,000 → $500 match → $1,500 invested. At 7% return for 30 years = $11,400 value. Net cost of contribution after tax savings (22% bracket): $780. Effective annual return on $780 over 30 years to reach $11,400 = 9.2% guaranteed. NO debt has a guaranteed cost that high. Rule: ALWAYS contribute enough to get full employer match BEFORE any ext
The Hierarchy of Money Moves
Optimal order of cash deployment for most US households: (1) Build $1,000-$2,000 starter emergency fund. (2) 401(k) up to full employer match. (3) Pay off all debt above 7-8% APR (credit cards, payday loans, personal loans). (4) Max HSA if eligible. (5) Max Roth IRA. (6) Build 3-6 month emergency fund. (7) Max 401(k) to limit. (8) Pay off all debt above 4-5% APR. (9) Pay off mortgage early OR invest in taxable brokerage. (10) 529 for kids. Steps 8-10 vary by personal preference. The math says in
When Paying Off Beats Investing (The Behavioral Case)
Even when the math favors investing, paying off debt sometimes wins because: (1) projected return — debt payoff is risk-free; investing might return 7% or might return -20% next year. (2) Cash flow improvement — eliminating $500/mo payment IS a $6,000/year raise to your budget. (3) Emotional peace — many wealthy retirees report debt-free as the single biggest life-quality improvement. (4) Sequence of returns risk in retirement — paid-off mortgage protects against being forced to sell investments
Recommended for this calculator