Extra Mortgage vs Retirement Calculator

Compare after-tax investments minus remaining mortgage debt at a common horizon using the same monthly household budget and entered constant assumptions.

A common budget and comparison horizon

A common budget and comparison horizon

Both strategies use the same monthly after-tax household budget: normal principal and interest plus the entered extra amount. Strategy A pays the mortgage first, then invests unused cash. Strategy B makes the normal mortgage payment and contributes the stated extra before income tax, with assumed employer funding and reinvested income-tax savings. After payoff, unused normal payments are invested. There is no contribution-frequency input or optimized pretax gross-up.

The comparison is after-tax investments minus remaining mortgage debt at the selected common horizon. Assumed gains tax applies only to positive taxable gains; assumed withdrawal tax applies to the whole pretax retirement balance. Common home value is omitted and interest saved is informational, not added again. Investments grow before month-end deposits. Return and tax rates are entered constant assumptions, not forecasts or verified eligibility. Contribution limits, vesting, penalties, escrow, fees, inflation and annual brokerage tax drag are excluded.

Mortgage Details

$
$50,000$1,000,000
%
0%12%
years
5 years30 years
$
$500$10,000

Extra Monthly Amount

$
$0$3,000

Income & Tax Details

$
$30,000$300,000
%
0%37%
%
0%50%
%
0%23.8%

Retirement Assumptions

%
-50%15%
%
0%100%
%
0%10%

Monthly contribution eligible for the assumed incremental match: $425.00; employer contribution: $212.50. The salary-based cap rounds to cents before the match rate is applied.

Both strategies use the same $2,700.00 monthly household cash budget and 300-month horizon. The comparison is after-tax investment assets minus remaining mortgage debt; common home value is omitted. Interest savings are informational and are not added to investments. This is an illustrative comparison, not a guaranteed investment outcome.

Better Strategy
Invest the extra amount for retirement
$211,828.79 modeled difference over 25 years (300 months), using the stated assumptions.

A: mortgage first

Mortgage interest saved within horizon
$86,177.96
A: mortgage payoff
14 years 3 months
6 years 6 months sooner than B's actual modeled payoff.
A: brokerage balance before tax
$543,386.97
A: assumed brokerage gains tax
$29,051.94
A: investments after tax
$514,335.03
Investments after tax minus mortgage debt
$514,335.03

B: retirement saving

B: pretax retirement balance
$647,656.06
Pretax employee contributions plus assumed employer match; withdrawal tax is shown separately.
B: assumed employer match contributions
$63,750.00
B: income-tax benefits reinvested
$33,000.00
Cash contributions from the assumed monthly income-tax benefit; growth and freed P&I are included in B's brokerage account.
Investments after tax minus mortgage debt
$726,163.82

Mortgage debt and investments after tax

After-tax investments and remaining debt

The positive bar is after-tax investments; the negative bar is remaining mortgage debt. Their sum equals the modeled net value. Legend buttons toggle display only.

Costs and balances at the common horizon

MeasureA: mortgage firstB: retirement saving
Mortgage payoff within horizon14 years 3 months20 years 9 months
Total P&I paid$460,292.64$546,470.60
Mortgage interest paid$160,292.64$246,470.60
Brokerage cash contributions$349,707.36$146,529.40
Brokerage balance before tax$543,386.97$234,132.57
B: pretax retirement balance$0.00$647,656.06
Assumed retirement withdrawal tax$0.00$142,484.33
Assumed brokerage gains tax$29,051.94$13,140.48
Investments after tax$514,335.03$726,163.82
Remaining mortgage debt$0.00$0.00
Investments after tax minus mortgage debt$514,335.03$726,163.82

After-tax comparison checkpoints

Checkpoints include the start, each complete year and the actual final month. All chart points use the same monthly ledger.

Elapsed monthA: mortgage first: Remaining mortgage debtB: retirement saving: Remaining mortgage debtA: mortgage first: Investments after taxB: retirement saving: Investments after taxA: mortgage first: Investments after tax minus mortgage debtB: retirement saving: Investments after tax minus mortgage debt
0$300,000.00$300,000.00$0.00$0.00$-300,000.00$-300,000.00
12$286,708.66$292,890.69$0.00$8,270.70$-286,708.66$-284,619.99
24$272,527.18$285,305.26$0.00$17,187.22$-272,527.18$-268,118.04
36$257,395.94$277,211.80$0.00$26,801.22$-257,395.94$-250,410.58
48$241,251.33$268,576.32$0.00$37,168.49$-241,251.33$-231,407.83
60$224,025.50$259,362.49$0.00$48,349.31$-224,025.50$-211,013.18
72$205,645.99$249,531.60$0.00$60,408.76$-205,645.99$-189,122.84
84$186,035.59$239,042.30$0.00$73,417.12$-186,035.59$-165,625.18
96$165,111.83$227,850.53$0.00$87,450.32$-165,111.83$-140,400.21
108$142,786.78$215,909.22$0.00$102,590.31$-142,786.78$-113,318.91
120$118,966.58$203,168.19$0.00$118,925.68$-118,966.58$-84,242.51
132$93,551.08$189,573.86$0.00$136,552.04$-93,551.08$-53,021.82
144$66,433.49$175,069.08$0.00$155,572.67$-66,433.49$-19,496.41
156$37,499.78$159,592.90$0.00$176,099.10$-37,499.78$16,506.20
168$6,628.31$143,080.26$0.00$198,251.81$-6,628.31$55,171.55
180$0.00$125,461.74$26,318.08$222,160.89$26,318.08$96,699.15
192$0.00$106,663.27$61,510.80$247,966.87$61,510.80$141,303.60
204$0.00$86,605.83$99,130.15$275,821.47$99,130.15$189,215.64
216$0.00$65,205.10$139,370.24$305,888.62$139,370.24$240,683.52
228$0.00$42,371.11$182,440.75$338,345.28$182,440.75$295,974.17
240$0.00$18,007.93$228,568.08$373,382.65$228,568.08$355,374.72
252$0.00$0.00$277,996.81$419,194.69$277,996.81$419,194.69
264$0.00$0.00$330,991.04$487,784.53$330,991.04$487,784.53
276$0.00$0.00$387,836.00$561,528.92$387,836.00$561,528.92
288$0.00$0.00$448,839.77$640,840.23$448,839.77$640,840.23
300$0.00$0.00$514,335.03$726,163.82$514,335.03$726,163.82

Key Assumptions

Mortgage interest, cash contributions, match and taxes round half-up to cents. Investment growth compounds between deposits using the assumed effective annual return; deposits occur at month-end and earn no same-month return. Market losses and zero returns can be tested; actual returns vary.

A applies regular P&I plus extra to the mortgage, then invests every unused cent in taxable brokerage, including the partial payoff month. B contributes the stated extra as pretax retirement saving, reinvests the assumed income-tax benefit monthly, and invests every unused regular P&I cent in brokerage. The tax benefit offsets part of the contribution's take-home cost, so reinvesting it preserves the same cash budget. This does not gross up the pretax contribution.

Brokerage tax applies only to positive gain above cash contributions; no tax credit is assumed for losses. Retirement tax applies to the full pretax balance at the separately entered withdrawal rate. Charts and results show hypothetical liquidation taxes at each checkpoint; those taxes are not withdrawn during compounding. Retirement balances may not be accessible at the horizon without penalties or restrictions.

Regular payment means P&I only: escrow, property taxes, insurance and fees are excluded. Salary, tax rates and returns stay constant. This model assumes the incremental match cap is unused and matching is fully vested. It does not validate contribution limits, existing plan contributions, eligibility, vesting schedules, deductions, state/FICA tax effects, annual brokerage tax drag, early-withdrawal or prepayment penalties, fees or inflation.

A common budget and comparison horizon

Both strategies use the same monthly after-tax household budget: normal principal and interest plus the entered extra amount. Strategy A pays the mortgage first, then invests unused cash. Strategy B makes the normal mortgage payment and contributes the stated extra before income tax, with assumed employer funding and reinvested income-tax savings. After payoff, unused normal payments are invested. There is no contribution-frequency input or optimized pretax gross-up.

1

A common budget and comparison horizon (1)

Both strategies use the same monthly after-tax household budget: normal principal and interest plus the entered extra amount. Strategy A pays the mortgage first, then invests unused cash. Strategy B makes the normal mortgage payment and contributes the stated extra before income tax, with assumed employer funding and reinvested income-tax savings. After payoff, unused normal payments are invested. There is no contribution-frequency input or optimized pretax gross-up.

2

A common budget and comparison horizon (2)

The comparison is after-tax investments minus remaining mortgage debt at the selected common horizon. Assumed gains tax applies only to positive taxable gains; assumed withdrawal tax applies to the whole pretax retirement balance. Common home value is omitted and interest saved is informational, not added again. Investments grow before month-end deposits. Return and tax rates are entered constant assumptions, not forecasts or verified eligibility. Contribution limits, vesting, penalties, escrow, fees, inflation and annual brokerage tax drag are excluded.

A common budget and comparison horizon

The comparison is after-tax investments minus remaining mortgage debt at the selected common horizon. Assumed gains tax applies only to positive taxable gains; assumed withdrawal tax applies to the whole pretax retirement balance. Common home value is omitted and interest saved is informational, not added again. Investments grow before month-end deposits. Return and tax rates are entered constant assumptions, not forecasts or verified eligibility. Contribution limits, vesting, penalties, escrow, fees, inflation and annual brokerage tax drag are excluded.

A common budget and comparison horizon (1)

Both strategies use the same monthly after-tax household budget: normal principal and interest plus the entered extra amount. Strategy A pays the mortgage first, then invests unused cash. Strategy B makes the normal mortgage payment and contributes the stated extra before income tax, with assumed employer funding and reinvested income-tax savings. After payoff, unused normal payments are invested. There is no contribution-frequency input or optimized pretax gross-up.

A common budget and comparison horizon (2)

The comparison is after-tax investments minus remaining mortgage debt at the selected common horizon. Assumed gains tax applies only to positive taxable gains; assumed withdrawal tax applies to the whole pretax retirement balance. Common home value is omitted and interest saved is informational, not added again. Investments grow before month-end deposits. Return and tax rates are entered constant assumptions, not forecasts or verified eligibility. Contribution limits, vesting, penalties, escrow, fees, inflation and annual brokerage tax drag are excluded.

Open the related calculator

A common budget and comparison horizon

Both strategies use the same monthly after-tax household budget: normal principal and interest plus the entered extra amount. Strategy A pays the mortgage first, then invests unused cash. Strategy B makes the normal mortgage payment and contributes the stated extra before income tax, with assumed employer funding and reinvested income-tax savings. After payoff, unused normal payments are invested. There is no contribution-frequency input or optimized pretax gross-up.

The comparison is after-tax investments minus remaining mortgage debt at the selected common horizon. Assumed gains tax applies only to positive taxable gains; assumed withdrawal tax applies to the whole pretax retirement balance. Common home value is omitted and interest saved is informational, not added again. Investments grow before month-end deposits. Return and tax rates are entered constant assumptions, not forecasts or verified eligibility. Contribution limits, vesting, penalties, escrow, fees, inflation and annual brokerage tax drag are excluded.

Frequently Asked Questions