Skip to content
Omnikalc

Tax code calculator: what should your PAYE tax code be?

Enter your allowance, benefits, other income and any underpaid tax to see your tax code, your tax-free pay and the tax on your salary.

Updated on
Your inputs
£

Value out of range

£

Value out of range

£

Value out of range

£

Value out of range

£

Value out of range

%

Value out of range

£

Value out of range

Results

Your tax code number (followed by a letter such as L)

1,257

Tax-free pay per year that the code gives

£12,579

Estimated income tax on your salary

£5,484

Allowance after adjustments
£12,570
Tax-free pay per month
£1,048.25
Average tax rate on your salary
13.7%

A tax code tells your employer or pension provider how much tax-free pay to give you in each pay period under PAYE. The code is built from your personal allowance (£12,570 for most people), with adjustments for taxable benefits, untaxed income, underpaid tax and the Marriage Allowance. To read it, take the number, multiply by 10 and add 9: 1257L means £12,579 of tax-free pay for the year. The letter adds meaning: L is the standard allowance, M and N mean the Marriage Allowance is received or given, and K means you owe more than your allowance. This calculator builds the code, the tax-free pay and the tax on your salary.

How the calculation works

  • Allowance = personal allowance ± Marriage Allowance (£1,260)
  • Less taxable benefits, untaxed income and underpaid tax ÷ the rate used to collect it
  • Tax code number = allowance ÷ 10, rounded down
  • Tax-free pay = code number × 10 + 9
  • Tax on salary = 20 % of the taxable pay up to the basic-rate band, then 40 % above it

Example

You earn £40,000 and have no adjustments. The allowance is £12,570, so your code is 1,257L. It gives £12,579 of tax-free pay a year, or £1,048.25 a month. The taxable pay is the rest of the salary, and the estimated tax is £5,484, an average rate of 13.7 %. If you had £600 of underpaid tax collected at 20 %, the allowance would fall by £3,000 for the year and the code would be lower.

Why it matters

A wrong code means you pay too much or too little tax during the year, and HMRC corrects it later with a refund or a bill. A code with a lower number can come from a company car, a second job or untaxed savings interest, and a higher number can come from the Marriage Allowance or a claim for work expenses. Checking the code against your payslip is the quickest way to catch an error.

Good to know

A T letter means other items are included in the calculation of your allowance. BR taxes all pay at the basic rate, D0 at the higher rate and 0T gives no allowance, and they are often used for a second job. Scottish codes start with an S and Welsh codes with a C. The estimate here uses the English rates, so a Scottish taxpayer’s tax will differ, and the 45 % rate and the taper above £100,000 are not modelled. National Insurance is separate.

In practice

Find your code on your payslip, your P45 or your personal tax account, and tell HMRC if your circumstances change. This tool is educational and is not tax advice.

Frequently asked questions

What does the tax code 1257L mean?

It means you get £12,579 of tax-free pay in the year. The L shows the standard personal allowance.

Why has my tax code changed?

Common reasons are a new taxable benefit, other income, underpaid tax from an earlier year or a change to the Marriage Allowance.

What do the letters M and N mean?

M means you receive the Marriage Allowance from your partner and N means you give part of your allowance to them.

Can the code collect underpaid tax?

Yes. HMRC can cut your allowance so that tax owed from an earlier year is collected through your pay over the year.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.