Self Assessment deadline: 31 January 2027What to do →

Methodology: where every number comes from

Each constant in the calculator is stored with the GOV.UK page it came from and the date it was read.

Rates checked against GOV.UK on 2026-11-27

The sources

How the calculation runs

  1. Taxable profit is turnover minus allowable expenses, or minus the £1,000 trading allowance if that is selected.
  2. Total income adds salary and other income. Adjusted net income subtracts relief-at-source pension contributions.
  3. The Personal Allowance is £12,570, reduced by £1 for every £2 of adjusted net income over £100,000.
  4. Income tax is charged on taxable income using the bands for England, Wales, Northern Ireland or Scotland.
  5. Class 4 National Insurance is 6% of profit between £12,570 and £50,270, then 2%.
  6. Class 2 is £0 at or above £7,105 of profit; below that, £189.80 if you opt to pay voluntarily.
  7. Student loan repayments are 9% (6% for postgraduate) of total income over the plan threshold.
  8. Payments on account are half of last year's bill, twice, unless the bill was under £1,000 or more than 80% was collected at source.

Rounding and what is excluded

The engine works in pounds and pence and rounds each component to the penny. HMRC calculates the return to the penny and rounds the final bill down to whole pounds, so a total can differ by up to 99p from the return. Savings interest, dividends, the High Income Child Benefit Charge, capital gains, Gift Aid, marriage allowance and benefits in kind are outside the model.

How the two implementations are tested

The JavaScript that runs in the browser and an independent Python implementation are executed on the same grid of inputs, including boundary values at £7,105, £12,570, £50,270, £100,000 and £125,140, and must agree to within one penny. A separate set of hand-worked examples is pinned so that a shared misreading of the rules cannot pass both.

When it is updated

Rates are re-checked after each Budget and before the 31 January peak. The checked date on every page is the date of the last verification, not the date the page was written.

Estimate only, not tax advice. The figures are worked out from the rates published by HMRC at the checked date and do not take account of your full circumstances. Not MTD filing software — nothing here sends a return or a quarterly update to HMRC.