How we calculate

The rules our corporation tax, marginal relief, dividend tax, salary vs dividend and employer NI calculators follow, where the rates come from, and the published examples we test them against.

  • 27/27checks passing
  • 2020/21to 2026/27

A tax calculator is only useful if you can trust the number. So rather than ask you to take our word for it, this page sets out exactly what the calculators do, and shows their answers next to worked examples published by ACCA, the professional body for accountants, and the rules on gov.uk. The results below are worked out live by the same code that runs the calculators, so they can't drift apart. Both calculators share that code, so every check below applies to both.

The rules the corporation tax calculators follow

  1. Split the period by financial year. Corporation tax rates are set for financial years that run from 1 April to 31 March. If your accounting period crosses 31 March, profit is split between the two years by the number of days in each.
  2. Work out augmented profits. Taxable profit plus any dividends received from companies outside your group. Augmented profits decide the band; only taxable profit is taxed.
  3. Set the limits. The £50,000 and £250,000 limits are divided by the number of associated companies plus one. For a period shorter than 12 months they are cut in proportion to its length in days, divided by 365. For a full 12-month period they stay at the full amount, even in a leap year, and are shared between the financial years by days.
  4. Find the band. At or below the lower limit, the small profits rate applies. At or above the upper limit, the main rate applies. In between, the main rate applies less marginal relief. Before 1 April 2023 every company paid a flat 19%.
  5. Work out marginal relief. 3/200 × (upper limit − augmented profits) × (taxable profit ÷ augmented profits), for each financial year in the period.
  6. Add it up and set the dates. Tax for each part is added together. Payment is due 9 months and 1 day after the period ends, and the Company Tax Return 12 months after it ends.

Results are shown to the penny. Published examples round to whole pounds, so differences of less than £1 are expected and count as a pass.

The rules the dividend tax calculator follows

  1. Order the income. Salary, pension and other non-savings income come first, then savings interest, then dividends on top, as HMRC requires.
  2. Set the personal allowance. £12,570, reduced by £1 for every £2 of total income above £100,000. It's used against non-savings income first, then savings, then dividends.
  3. Apply the savings allowances. The starting rate for savings and the Personal Savings Allowance are taxed at 0% but still use up the bands.
  4. Apply the dividend allowance. The first £500 of dividends is taxed at 0% and also uses up the band it falls in.
  5. Tax each band. Remaining dividends are taxed at the basic, higher or additional dividend rate for the band they fall in. Tax in each band is rounded down to the penny.
  6. Scottish taxpayers. Dividend and savings tax use UK rates and bands. Tax on non-savings income uses Scottish rates, so the calculator leaves it out for Scottish taxpayers.

The rules the salary vs dividend calculator follows

  1. Employer National Insurance. 15% of salary above the £5,000 annual secondary threshold, less up to £10,500 of Employment Allowance when the company can claim it.
  2. Corporation tax. Salary and employer NI come off profit, then the corporation tax engine above works out the tax for the matching financial year.
  3. Dividends. All profit after corporation tax is paid out as dividends in the same tax year.
  4. Employee National Insurance. 8% of salary between £12,570 and £50,270 and 2% above, using the annual earnings period for directors.
  5. Income and dividend tax. The dividend tax engine above works out tax on the salary and dividends together, plus any other income.
  6. Best salary. Every salary from nil to the most the company can afford is tested, and the one with the highest take-home pay is shown. If a standard salary such as £12,570 comes within £1 of it, the standard salary is shown instead.

The rules the employer NI calculator follows

  1. Find the threshold. £5,000 a year for most employees, £50,270 for under-21s, apprentices under 25 and veterans in their first year of civilian work, and £25,000 for eligible Freeport and Investment Zone employees.
  2. Employer National Insurance. 15% of annual salary above the threshold, rounded to the penny for each employee, then multiplied by the number of employees.
  3. Employment Allowance. Up to £10,500 comes off the total employer NI, never more than the bill itself.
  4. Workplace pension. The employer rate you enter, on qualifying earnings (£6,240 to £50,270) or on the whole salary. No National Insurance is charged on it.
  5. Budget mode. The highest salary, to the penny, whose total cost per employee is no more than the budget you enter.

Test results

Each row is calculated live by the calculator's code every time this page loads. If a rule or rate ever broke one of these checks, it would show here.

CheckExpectedOur calculatorResult
£200,000 profit, 12 months, no associated companies Source: ACCA, associated companies examples (opens in new tab)£49,250 tax (£750 relief)£49,250 tax (£750 relief)Pass
£150,000 profit plus £25,000 dividends received, year to 31 December 2024 (366 days, two financial years) Source: ACCA, associated companies examples (opens in new tab)£36,535 tax (£965 relief)£36,535.71 tax (£964.29 relief)Pass
Effective rate on profit between £50,000 and £250,000 Source: ACCA, associated companies examples (opens in new tab)26.5%26.5%Pass
Limits with two associated companies Source: ACCA, associated companies examples (opens in new tab)£16,667 and £83,333£16,667 and £83,333Pass
Limits for a 9-month period with one associated company Source: ACCA, associated companies examples (opens in new tab) ACCA rounds to 9/12 of a year. We pro-rate by days, as HMRC's own manual does (273/365 in example CTM03654), so this 275-day period gets slightly higher limits.£18,750 and £93,750 (9/12 of a year)£18,835.62 and £94,178.08 (275/365 days)Pass
£40,000 profit, 2026/27 Source: gov.uk, Corporation Tax rates (opens in new tab)£7,600 (19% small profits rate)£7,600Pass
£100,000 profit, 2026/27 Source: gov.uk, Marginal Relief (opens in new tab)£25,000 − 3/200 × (£250,000 − £100,000) = £22,750£22,750Pass
Marginal relief on £50,001 profit, 2026/27 (close to the most a company can get) Source: gov.uk, Marginal Relief (opens in new tab)3/200 × (£250,000 − £50,001) = £2,999.99£2,999.98Pass
Marginal relief on £80,000 profit plus £20,000 dividends received, 2026/27 Source: gov.uk, Marginal Relief (opens in new tab)3/200 × (£250,000 − £100,000) × £80,000 ÷ £100,000 = £1,800£1,800Pass
Marginal relief on £100,000 profit with one associated company, 2026/27 Source: gov.uk, Marginal Relief (opens in new tab)3/200 × (£125,000 − £100,000) = £375£375Pass
£100,000 profit, 2022/23 Source: gov.uk, Corporation Tax rates (opens in new tab)£19,000 (flat 19% before 1 April 2023)£19,000Pass
12-month period including 29 February (1 April 2023 to 31 March 2024) Source: ACCA, associated companies examples (opens in new tab)Full £50,000 and £250,000 limits, £22,750 on £100,000£50,000 and £250,000, £22,750Pass
Payment and filing dates for a year ending 31 March 2027 Source: gov.uk, paying Corporation Tax (opens in new tab)Pay by 1 January 2028, file by 31 March 2028Pay by 1 January 2028, file by 31 March 2028Pass
Dividend tax: £29,570 wages and £3,000 dividends, 2026/27 Source: gov.uk, Tax on dividends (opens in new tab)£2,500 × 10.75% = £268.75£268.75Pass
Dividend tax: £40,650 earnings and £10,000 dividends, crossing into the higher rate, 2026/27 Source: LITRG, Tax on dividends (opens in new tab)£980.40 + £135.85 = £1,116.25£1,116.25Pass
Income tax: £15,000 earnings, £4,000 savings interest and £32,000 dividends, 2026/27 Source: LITRG, Tax on dividends (opens in new tab)£4,240.74 total (£186 on savings, £3,568.74 on dividends)£4,240.74 total (£186 on savings, £3,568.74 on dividends)Pass
Dividend tax: £20,000 pension and £500 dividends, within the allowance Source: LITRG, Tax on dividends (opens in new tab)£0£0Pass
Personal allowance with £112,570 total income Source: gov.uk, Income Tax rates and Personal Allowances (opens in new tab)£12,570 − (£12,570 ÷ 2) = £6,285£6,285Pass
Dividend tax: £29,570 wages and £3,000 dividends at 2025/26 rates Source: gov.uk, Tax on dividends (opens in new tab) The 2025/26 dividend ordinary rate was 8.75%, from the Budget 2025 rates annex.£2,500 × 8.75% = £218.75£218.75Pass
Salary vs dividend: £60,000 profit, £5,000 salary, 2026/27 Source: 1st Formations, director salary and dividends 2026/27 (opens in new tab)Corporation tax £10,825, dividends £44,175, dividend tax £3,881, take-home £45,294Corporation tax £10,825, dividends £44,175, dividend tax £3,881.28, take-home £45,293.72Pass
Salary vs dividend: £80,000 profit, £12,570 salary, 2026/27 Source: 1st Formations, director salary and dividends 2026/27 (opens in new tab) The source also gives a take-home figure that deducts the company's employer NI from the director's pay. We don't, because employer NI is paid by the company.Employer NI £1,135, corporation tax £13,818, dividends £52,477, dividend tax £9,282Employer NI £1,135.50, corporation tax £13,818.04, dividends £52,476.46, dividend tax £9,281.58Pass
Employee National Insurance on a £50,270 salary Source: gov.uk, Rates and thresholds for employers 2026 to 2027 (opens in new tab)8% × (£50,270 − £12,570) = £3,016£3,016Pass
Employer NI on a £30,000 salary, 2026/27 Source: gov.uk, Rates and thresholds for employers 2026 to 2027 (opens in new tab)15% × (£30,000 − £5,000) = £3,750£3,750Pass
Employer NI for an employee under 21 earning £60,000 Source: gov.uk, Rates and thresholds for employers 2026 to 2027 (opens in new tab)15% × (£60,000 − £50,270) = £1,459.50£1,459.50Pass
Employer NI for a Freeport employee earning £30,000 Source: gov.uk, Rates and thresholds for employers 2026 to 2027 (opens in new tab)15% × (£30,000 − £25,000) = £750£750Pass
Three employees on £30,000 with the Employment Allowance Source: gov.uk, Claim Employment Allowance (opens in new tab)£11,250 − £10,500 = £750£750Pass
Minimum employer pension on a £30,000 salary Source: The Pensions Regulator, earnings thresholds (opens in new tab)3% × (£30,000 − £6,240) = £712.80£712.80Pass

Behind these, the code has its own automated tests covering every band, associated companies, short periods, straddling periods, dividends received, payment dates, the personal allowance taper, savings interest, Scottish taxpayers, National Insurance reliefs, the Employment Allowance and pension contributions. We run them whenever a rule or rate changes.

Where the rates come from

Rates and limits for each financial year are stored in one place and taken from HMRC's published figures on gov.uk. We check them again after every Budget, before each new financial year starts on 1 April and before each tax year starts on 6 April. They were last checked on 1 November 2026.

What we don't do

The calculators work out tax on the profit you enter. They don't work out that profit for you, so they don't apply capital allowances, disallowed expenses, losses, group relief or special reliefs such as R&D. They also don't cover ring fence profits or quarterly instalment payments. Close investment-holding companies and non-UK resident companies can't claim marginal relief: the marginal relief calculator lets you mark these and applies the main rate, while the corporation tax calculator assumes neither applies.

Every result is an estimate to help you plan. It isn't tax advice, and your Company Tax Return needs a full computation from your final accounts.

Found a mistake?

If a result doesn't match your accountant's figure or HMRC's guidance, please tell us with the figures you entered. We check every report, fix confirmed errors as a priority, and update the "last updated" date on the page when we do.

Syed Aqeeq Abbas

Written by Syed Aqeeq Abbas

Software engineer with 10 years of experience, including building loan management software for a UK alternative lender.

Last updated 2 November 2026 · Rates checked against gov.uk on 1 November 2026 · LinkedIn (opens in new tab)

Calculators covered

More calculators will be added to this page as they launch, each with its own checks.