How we check our figures

The rates the calculators use come from official sources such as gov.uk and HMRC, and the sums are tested against official examples where there are any. Here is how, and what happens when something changes or is wrong.

Last updated:

Where the figures come from

Every rate, threshold and allowance the calculators use is kept in one place in the site's code, organised by tax year. The calculations and the text on each page both read from there, so the figure a guide quotes cannot differ from the one the calculator uses.

The figures come from:

  • gov.uk, for tax rates, thresholds and allowances, the minimum wage, statutory pay and student loans
  • HMRC's internal manuals, for detail gov.uk's guides leave out, such as how mileage relief and shared ownership are worked out
  • HMRC's technical specification for payroll software, for how a tax code becomes tax-free pay on each pay day
  • the Scottish Government, for Scottish income tax
  • The Pensions Regulator, for the automatic enrolment earnings limits on each pay day and the charge cap on default pension funds
  • nidirect, for the redundancy pay limits in Northern Ireland
  • Budget documents and HM Treasury, for changes that have been announced but have not started yet
  • the FCA and the Bank of England, for the quick picks on the compound interest and pension calculators

The mortgage overpayment calculator uses no official rates. It works from the figures you enter, and what it says about overpayments and offset accounts comes from MoneyHelper.

Each calculator and guide links to the pages its figures come from.

Checked against official examples

gov.uk and HMRC publish worked examples for many rules, such as how much student loan comes off a monthly payslip, or how mileage relief is worked out. Those examples are built into the site's tests: the calculator is given the same figures and has to reach the same answer.

Where gov.uk or HMRC has a calculator of its own, the same figures go into both. The redundancy pay calculator is checked against gov.uk's redundancy pay calculator and gives the same answer to the penny, the maternity and paternity pay calculator against gov.uk's calculator for employers, and the shared ownership results of the stamp duty calculator against HMRC's Stamp Duty Land Tax calculator.

Each calculation test records where its expected answer came from: an example or a calculator result from gov.uk or HMRC, a figure the Scottish Government or The Pensions Regulator publishes, or a sum worked out by hand. The hand-worked tests cover the places where mistakes tend to hide: each threshold, zero, blank or negative entries, and very large amounts.

Some calculators have no official example to compare with. gov.uk has no mortgage calculator, so every mortgage result is also worked out a second way, from the standard loan formulas, and the two have to agree. The savings interest tax calculator is checked against a separate calculation of the whole tax bill, and the pay rise calculator has to match the take-home pay calculator for every salary it is tested with. The compound interest calculator is checked the same way, against the standard formulas. The workplace pension calculator has to match the compound interest calculator for the pot, and the take-home pay calculator for what each contribution costs.

Tested before anything goes live

There are more than 350 automated tests, and more than 80 of them check against something gov.uk or HMRC publishes. Every time the site is built, all the tests run first. If any of them fails, the build stops and the change cannot go live. Each change is also checked on a preview copy of the site first.

How we worked this out

Every calculator shows its working under the result. The first table adds up to the figure in the result. The tables after it show where each line came from, such as a rate and the amount it was applied to. A test checks that every calculator's working adds up to the answer it shows, so you can follow each step and check it by hand.

The results are estimates for common situations. Payroll software rounds some figures in ways the calculators do not, so a payslip can differ by a few pence.

When the figures are checked again

  • At the start of each tax year on 6 April, when most rates and allowances change. The minimum wage changes on 1 April, and Scotland sets its income tax rates on its own timetable.
  • After each Budget. Changes that have been announced but have not started yet are shown with the date they start.
  • When the detailed rules for an announced change are published.

Each calculator and guide shows the date it was last updated.

If something is wrong

If you spot a mistake, or a figure that looks out of date, email hello@ukmoneycalculators.co.uk or see the contact page. It is checked against the official source and fixed as soon as reasonably possible, with a test so the same mistake would be caught if it came back, and the date on the page is updated.