All figures in today's money (no inflation adjustment). Client-side only — nothing is saved or sent anywhere.
At the termination year, any remaining mortgage balance is treated as fully settled (e.g. via remortgage or sale) — otherwise the balance amortizes month to month from the repayment and interest rate.
Formulas: Target number = (desired annual spend − state pension) ÷ safe withdrawal rate. Investment balance = current savings compounded monthly at the expected return, plus monthly contributions, until retirement age. Net home equity = home value (compounding at the appreciation rate) minus the remaining mortgage balance at retirement. Total net worth = investment balance + net home equity. Gap = target number − total net worth (negative gap means a projected surplus).