Free calculator

Overpay your mortgage, invest in an ISA or top up your pension: which pays off most?

If you have spare money and need to choose between paying down your mortgage, investing in a stocks and shares ISA or topping up your pension, this calculator shows which could leave you better off, after tax, by the age you choose. It uses the 2026/27 UK tax rules, your own mortgage rate and what happens when your fixed rate ends.

Built by Peter Vulchev, CFA. Tax rates checked against GOV.UK and mortgage rates against Moneyfacts in November 2026. It does not tell you what to do, and it is not financial advice.

How to use it

  1. Start simple. Enter the amount, your age, salary and mortgage. Everything else has a sensible starting value.
  2. Drag the sliders next to the chart to see how investment growth and future mortgage rates change the answer.
  3. Switch to Detailed to add employer contributions, charges, a mix of all three and what your family would inherit.

You

£
years
years
£a year

Your mortgage

£
%
years
years

Your figures are saved in this browser's own storage, not in a cookie, so you do not need to accept cookies for this to work. They are never sent to us. Untick to stop saving and remove them. Cookie policy

How much better off, after tax

% a year

2% is the Bank of England's inflation target.

Long-run returns are uncertain and can be negative in some years.
Average new two-year fix 5.97%, standard variable rate 7.13% (Moneyfacts).

    Where each result comes from

    What you put in, what tax relief adds, what growth or interest saved adds, and what goes in tax when you take it out.

    Your moneyTax relief and employerGrowth or interest savedTax when taken out

    When you can use the money

    The amounts are only part of the answer. This shows when each choice gives you access to the money.

    What your family would inherit

    If you died, how much of this money would reach the people you leave it to, after tax. It assumes the money has not been spent or taken out.

    Year by year

    Figures use today's tax rules for every year. The highlighted row is your retirement age.

    How we calculate it

    Each line answers the same question: compared with not having the money at all, how much better off are you, after tax?

    ISA

    Your amount grows at the investment growth rate, less charges. Growth and withdrawals are free of UK tax, so the value is what you could take out. The total ISA allowance is £20,000 a tax year.

    Mortgage overpayment

    Your amount reduces the balance and your monthly payment stays the same, so you pay less interest. When your current rate ends, both payments are reset at the new rate over the years left, and the lower payment is the saving. Once the mortgage is cleared, the payments you no longer make are counted as invested.

    Pension

    Tax relief, and any employer contribution, is added to what you pay in. The pot grows at the investment growth rate, less charges. To compare fairly, we show what it is worth when taken out: 25% tax-free and 75% taxed at your retirement tax rate. Higher-rate relief refunded to you is counted as invested.

    Inheritance

    ISA savings and a smaller mortgage form part of your estate. From 6 April 2027, unused pensions do too. If you die at 75 or over, whoever inherits your pension also pays Income Tax on what they take out, on the amount left after any Inheritance Tax.

    Today's money

    Ticking "Show in today's money" divides every future figure by inflation, so you can compare it with prices now.

    What is not included

    Changes to tax rules, early repayment charges, fees for remortgaging, the 25% tax-free cash limit of £268,275 and the death benefit allowance. Growth is shown as steady; real returns go up and down.

    • Income Tax 2026/27: Personal Allowance £12,570, reduced by £1 for every £2 of income over £100,000. England, Wales and Northern Ireland: 20%, 40% from £50,271, 45% over £125,140 (GOV.UK). Scotland: 19%, 20%, 21%, 42%, 45% and 48% bands (GOV.UK).
    • Employee National Insurance: 8% from £12,570 to £50,270 and 2% above. Employer: 15% above £5,000 (GOV.UK).
    • Pensions: tax relief at your highest rate of Income Tax, up to your earnings and the £60,000 annual allowance (GOV.UK). Most people cannot take money from a pension before 57 from 6 April 2028. Unused pensions count for Inheritance Tax for deaths on or after 6 April 2027 (GOV.UK).
    • Mortgage rates on 1 November 2026: average two-year fixed rate 5.97%, average standard variable rate 7.13% (Moneyfacts). Bank Rate 4% from 5 November 2026 (Bank of England).

    Common questions

    Is it better to overpay my mortgage or invest?

    It depends mostly on two things: your mortgage rate, now and after your current deal ends, and the growth you expect from investments after charges. Overpaying gives a certain return equal to your mortgage rate. Investing could do better or worse. The calculator shows where that balance sits for your figures.

    Why does the pension often come out ahead?

    Because tax relief is added when you pay in, so more money is invested from the start. The calculator takes off the tax you would pay when you take the money out, but the pension can only be reached from age 57 for most people, from 6 April 2028.

    What happens when my fixed rate ends?

    Your lender moves you to its standard variable rate unless you take a new deal. The calculator starts with the average new two-year fixed rate, 5.97%, because most people remortgage. Move the slider to 7.13% to see what staying on an average standard variable rate would mean.

    Does the calculator include inflation?

    Figures are in future pounds unless you tick "Show in today's money", which adjusts them for the inflation rate you enter. It starts at 2%, the Bank of England's target.

    Is my information saved?

    If "Remember my figures on this device" is ticked, your figures are kept in this browser's local storage so they are there when you come back. This is not a cookie and does not need cookie consent. Your figures are never sent to us. Untick the box or use "Clear my figures" to remove them.

    Is this financial advice?

    No. It shows the result of the figures you enter under the 2026/27 rules. It does not know your full situation, such as other debts, emergency savings or your plans. For free, impartial guidance, visit MoneyHelper, or speak to a regulated financial adviser.

    Important
    • This calculator is for general information only and is not financial, tax or legal advice. It does not recommend any product or course of action.
    • Investments can fall as well as rise, and you may get back less than you put in. Past performance is not a guide to future returns.
    • Tax rules can change and depend on your circumstances. Figures use the 2026/27 rules for every year shown.
    • Before overpaying a mortgage, check your lender's overpayment limit and any early repayment charge.