UK Tax Back Calculator for Leaving the UK
Enter the figures for the tax year you left the UK. The result is an estimate using the standard personal allowance, not HMRC’s own calculation.
The UK tax back calculator estimates your refund from three entries: the tax year you left, your gross pay and the income tax you paid, both shown on your P45. It compares the tax taken with the tax due for the whole year, and the difference is your likely refund.
Here’s the twist: you can have tax taken from your wages in a year when you don’t owe a penny. Payroll hands out your allowance a slice at a time on each pay day, so leaving early means some slices never arrive.
A groundsman who earns £12,400 over one English cricket season stays under the allowance, yet he’s had just over £1,000 of tax taken through his payslips.
To see how much UK tax back you’re due, pick the tax year you left, then copy the pay and tax totals from your P45 into the calculator below. The sums use the rates for England, Wales and Northern Ireland. Scottish rates, other income or pay reaching the 40% band can each move the real figure.
What the UK tax back calculator compares
The calculator asks for three things: the tax year, your gross pay for that year and the income tax you paid on it. It works out the tax due on that pay for the full year, using the standard £12,570 personal tax allowance, and takes that away from what you paid. Whatever’s left is the estimate.
While you’re still employed, payroll only works on the year so far. On a normal cumulative tax code, each pay day releases another slice of your allowance and rate bands, with earlier pay and tax in the year taken into account.
The calculator is free to use, and the figures you type in aren’t stored.
Each run covers a single tax year. HMRC accepts refund claims for up to four years after the end of the tax year concerned, so the oldest year worth checking moves on every 6 April.
Two numbers to calculate UK tax back
Your P45 is the document to reach for. Your employer should give you one when you leave. It shows your leaving date, your tax code, and your running pay and tax totals from 6 April to your last day.
Those last two figures go straight into the calculator:
- Gross pay is the total pay figure, before any tax came off.
- Tax paid is the total tax figure for the same stretch of the year.
- The tax year is the one your P45 covers, running from 6 April to the following 5 April.
A P60 is a different animal. An employer you’re still working for on 5 April must give you one, so it goes with a job you held at the end of the tax year. For a job you left part way through, the P45 is the record.
Two jobs in the same tax year? Add the pay from both, and the tax from both, before entering anything. Your bill depends on the share of your total income above the allowance, so the estimate needs every job in it.
No P45? Where the same figures are kept
A lost P45 can’t be replaced, so there’s no point waiting for a duplicate.
The figures haven’t gone anywhere. Five recent tax years of pay and tax figures sit in your personal tax account and the HMRC app, as GOV.UK’s P45 guidance sets out.
Open the year you left, note the pay and tax figures shown, and use them exactly as you would the ones on a paper P45.
Paying tax in a year you owe none
Take that groundsman, over for one English cricket season. He’s on a normal cumulative code from his first pay day in April to his last in October, and overtime makes every month different.
By his first pay day he’d earned £1,450 against one month’s slice of allowance, £1,047.50, so £80.50 came off. Here’s how the season went:
Pay day | Pay | Tax taken so far |
April | £1,450 | £80.50 |
May | £1,900 | £251.00 |
June | £2,150 | £471.50 |
July | £2,150 | £692.00 |
August | £1,950 | £872.50 |
September | £1,700 | £1,003.00 |
October | £1,100 | £1,013.50 |
October’s smaller pay packet added just £10.50, taking the season’s total to £1,013.50.
Now look at the year as a whole. His £12,400 sits £170 under the £12,570 allowance, so he owes no tax for the year. Every penny of the £1,013.50 is repayable.
Those are the two numbers he’d type in: £12,400 of gross pay and £1,013.50 of tax.
His seven slices came to £7,332.50. Those unreached five were worth more than the rest of his pay, which is why the full year looks nothing like the payslips.
HMRC’s payroll tables round slightly, so a real payslip can differ a little from figures worked out by hand like these.
Both examples here use the £12,570 allowance and 20% basic rate for England, Wales and Northern Ireland. The allowance is due to stay at £12,570 until 2030/31.
Checking your UK tax back estimate by hand
Once your pay for the year reaches the allowance, the sum can shrink to a rule of thumb you could do on a phone.
A hospital pharmacist on a fixed-term contract is paid £2,700 a month, gets an £800 bonus in December and leaves after her tenth pay day. She’s earned £27,800. Payroll has taken £3,465, while the tax due on £27,800 for the full year is £3,046, leaving £419 to come back.
Here’s the shortcut: allow about £209.50 for every month of the tax year left after your last pay day. That’s 20% of the £12,570 allowance, split twelve ways. She left two months early, and two lots of £209.50 make £419 again. The bonus made no difference: without it, the refund would still be £419.
The shortcut holds when all of these apply:
- Your pay for the year came to at least the £12,570 allowance.
- Payroll never taxed any of it at 40%.
- You were on a normal cumulative code the whole time.
- You were paid monthly.
- You paid at England, Wales and Northern Ireland rates.
Earned less than the allowance? In that case the groundsman’s example applies, and the answer is everything you paid.
Once a condition fails, the shortcut stops matching. An emergency tax code ignores earlier pay and tax in the year, which can push the real refund above what the shortcut predicts.
Pay high enough for payroll to use the 40% rate can do the same. Scottish taxpayers pay under different bands (the Income Tax rates page on GOV.UK flags the split), so the flat 20% in the shortcut may not fit.
What a UK tax back estimate can’t see
Two numbers can only carry so much. A few things sit outside them:
- Other income in the same tax year, such as a UK pension or rental profit, uses up the same allowance. That can push a wages-only estimate too high or too low.
- Earlier tax years need their own run of the calculator, one year at a time.
- National Insurance isn’t part of the sum, because the calculator deals with income tax only. Claiming National Insurance back when you leave the UK follows separate rules.
An estimate doesn’t claim anything by itself either. For the year you leave, HMRC’s route is form P85, or your Self Assessment return if you usually send one. There’s one exception: a full-time job abroad with a UK-based employer, lasting a whole tax year or more, needs both.
The P85 form guide walks through those routes and what happens after HMRC receives the form.
Timing matters. Under HMRC’s P85 guidance, the online claim is only for people who’ve already left, and anyone still in the UK prints the form and posts it.
Before you rely on the UK tax back calculator
The UK tax back calculator needs two figures from your P45, or from your personal tax account if the P45 has gone missing. It gives back the gap between the tax taken from your pay and the tax due for the year.
Check that answer before you act on it. Under the allowance, it should match everything you paid. At or above it, on a normal code at 20%, it should sit close to £209.50 for each month you didn’t work.
Anything else going on in the year, from a second income to Scottish rates, makes the figure a starting point rather than a finished sum.
The leaving the UK tax refund guide covers why the refund arises and what the claim involves.
Key Takeaways
Five things to take from this page:
- The UK tax back calculator compares the tax taken from your pay since 6 April with the tax due for the full year. The gap is your likely refund.
- Your P45 holds both figures you need, and your personal tax account or the HMRC app holds them too if the P45 is lost.
- Pay under the £12,570 allowance for the year means no tax is due, so the estimate should equal everything you paid.
- At or above the allowance, the refund comes to about £209.50 for each month of the tax year left after your last pay day. That holds on a normal code, at 20%, paid monthly.
- Emergency codes, pay reaching 40%, Scottish rates and other income are among the things that move the real figure away from the estimate.

