Self-employed tax calculator — methodology
The two bases a self-employed bill is charged on, Class 4 band by band, why Class 2 is a status rather than a charge, and the five things the calculation does not model.
A self-employed person owes two things on one profit figure, and they are not charged on the same amount. Income tax is charged on the profit together with every other kind of taxable income the person has; Class 4 National Insurance is charged on the profit and nothing else. Blending them into a single rate — which is what a calculator returning one number does — is wrong in both directions at once, and wrong by a different amount for anybody who also has a job.
The calculation, in order
- Start from the profit you entered: turnover less allowable expenses and capital allowances. This is an input, not a result. Nothing in this software derives it.
- Add other taxable income. That total is the income tax base.
- Deduct the personal allowance that applies to that total. Above £100,000 it tapers, so this step runs through the income tax engine rather than subtracting a constant.
- Tax the remainder band by band at the schedule for the chosen region. Income tax on this kind of income is devolved to Scotland.
- Charge Class 4 National Insurance on the profit alone, on UK-wide rates. Other income does not consume the lower profits limit and cannot push the profit past the upper one.
- Report the Class 2 status. Nothing compulsory is added.
- Subtract both from the income. That is what is left.
income tax base = profit + other income
taxable income = income tax base − personal allowance(income tax base)
income tax = schedule[region].earned applied to taxable income
class 4 base = profit (never the income tax base)
class 4 = mainRate × (min(profit, upper limit) − lower limit)
+ upperRate × max(0, profit − upper limit)
left over = profit + other income − income tax − class 4The Class 4 line is written out to show the shape of the charge, not because the page computes it: class4NI does, and the calculator renders the bands that function returns.
Rates, thresholds and allowances
| Figure | 2025/26 | 2026/27 |
|---|---|---|
| Personal allowance | £12,570 | £12,570 |
| Personal allowance taper starts at | £100,000 | £100,000 |
| Class 4 lower profits limit | £12,570 | £12,570 |
| Class 4 upper profits limit | £50,270 | £50,270 |
| Class 4 main rate | 6.00% | 6.00% |
| Class 4 rate above the upper profits limit | 2.00% | 2.00% |
| Class 2 small profits threshold | £6,845 | £7,105 |
| Class 2 weekly voluntary rate | £3.50 | £3.65 |
| Income tax — England, Wales and Northern Ireland | Basic rate 20.00% from £0; Higher rate 40.00% from £37,700; Additional rate 45.00% from £125,140 | Basic rate 20.00% from £0; Higher rate 40.00% from £37,700; Additional rate 45.00% from £125,140 |
| Income tax — Scotland | Starter rate 19.00% from £0; Basic rate 20.00% from £2,827; Intermediate rate 21.00% from £14,921; Higher rate 42.00% from £31,092; Advanced rate 45.00% from £62,430; Top rate 48.00% from £125,140 | Starter rate 19.00% from £0; Basic rate 20.00% from £3,967; Intermediate rate 21.00% from £16,956; Higher rate 42.00% from £31,092; Advanced rate 45.00% from £62,430; Top rate 48.00% from £125,140 |
Every Class 4 and Class 2 figure in this table is UK-wide. National Insurance is not devolved, so the only row a Scottish reader sees a different answer from is the income tax schedule.
Class 2, and the annual figure that does not exist
Class 2 stopped being a compulsory charge. At or above the small profits threshold a self-employed person is credited with a qualifying year towards the state pension without paying anything; below it they earn no automatic credit but may pay voluntarily to protect their record. So the compulsory Class 2 figure is zero, and the calculator shows the zero rather than dropping the line — “do I still have to pay Class 2?” is a question a blank space does not answer.
The voluntary cost is where this gets awkward, and it is worth being exact about why. HMRC publishes a weekly Class 2 rate and no annual figure at all. That is recorded in packages/tax-core/VERIFICATION.md, in the same section that documents the opposite trap for Class 1: HMRC’s published annual National Insurance thresholds are not the weekly ones multiplied by 52, the two disagree, and the annual figure is the one that governs an annual calculation. This package uses HMRC’s annual figures wherever one is published, precisely because multiplying out is unsafe.
For Class 2 there is nothing to reconcile, because there is nothing published to reconcile against. The annual voluntary cost this software reports is therefore the weekly rate times 52, computed here, not a figure anyone can check on gov.uk. The calculator shows the weekly rate, the multiplier and the product on separate lines and labels the product as its own arithmetic, which is the only honest way to present a number whose source is a multiplication rather than a publication. Contributions are due for each week of self-employment, so a part year is less than the full-year figure.
Sources
- gov.uk — Income tax rates and allowances: current and pastThe personal allowance, its taper, and the band schedules for every region — including the Scottish bands that apply to self-employed profit.
- gov.uk — Rates and allowances: National Insurance contributions
- gov.uk — Self-employed National Insurance ratesThe taxpayer-facing page, and the one that publishes the Class 2 rate weekly and never annually.
- gov.uk — Rates and thresholds for employersHMRC’s published annual National Insurance thresholds, which are deliberately not the weekly figures multiplied out.
- gov.uk — Understand your self assessment tax bill: payments on accountNot a figure this calculator uses. Cited because the bill it computes is not the demand a reader receives.
- gov.uk — Expenses if you are self-employedThe step before this calculator starts, and the one it cannot do.
The rates, thresholds and allowances used by this calculator were verified against gov.uk on . That covers the published rates, thresholds and allowances this page calculates with. It does not verify any figure the page produces for you: that is arithmetic on verified inputs. Parts of the engine behind it are checked against HMRC’s own published worked examples, which tests the method on a small number of scenarios rather than your answer, and most of the test suite derives its expected values by hand. That check was carried out automatically and no named person has signed it off yet.
| Figures covered | Verified on | Verified by | Human sign-off |
|---|---|---|---|
| 2025-26 | 2026-08-12 | Automated verification (Claude Opus 5) | not yet signed off |
| 2026-27 | 2026-08-12 | Automated verification (Claude Opus 5) | not yet signed off |
| 2020-21 to 2024-25 — pension annual allowance only | 2026-08-12 | Automated verification (Claude Opus 5) | not yet signed off |
| 2025-26 and 2026-27 — share identification window only | 2026-08-13 | Automated verification (Claude Opus 5) | not yet signed off |
| 2025-26 and 2026-27 — pension relief at source only | 2026-08-13 | Automated verification (Claude Opus 5) | not yet signed off |
| 2025-26 and 2026-27 — inheritance tax only | 2026-08-13 | Automated verification (Claude Opus 5) | not yet signed off |
| 2025-26 and 2026-27 — family tax, LISA and pension-access additions | 2026-08-13 | Automated verification (Codex) | not yet signed off |
| 2025-26 and 2026-27 — student loan deductions only | 2026-08-18 | Automated verification (Claude Opus 5) | not yet signed off |
| 2025-26 and 2026-27 — property acquisition tax only | 2026-08-18 | Automated verification (Claude Opus 5) | not yet signed off |
| 2025-26 and 2026-27 — automatic enrolment only | 2026-08-18 | Automated verification (Claude Opus 5) | not yet signed off |
| 2025-26 and 2026-27 — State Pension age and rates only | 2026-08-18 | Automated verification (Claude Opus 5) | not yet signed off |
The log covers the rules directory, not only this calculator. 8 rows are deliberately narrow — 2020-21 to 2024-25 — pension annual allowance only; 2025-26 and 2026-27 — share identification window only; 2025-26 and 2026-27 — pension relief at source only; 2025-26 and 2026-27 — inheritance tax only; 2025-26 and 2026-27 — student loan deductions only; 2025-26 and 2026-27 — property acquisition tax only; 2025-26 and 2026-27 — automatic enrolment only; 2025-26 and 2026-27 — State Pension age and rates only — and they verify the figures named there and nothing else. Those tax years are not modelled by any calculator on this site: the years this page can compute are the ones its tax-year selector offers, and no others.
A verification goes stale the moment one of its sources is updated past the date above. If a source below carries a later date than this stamp, trust the source.
Rates, thresholds and allowances on this page are taken from material published by HM Revenue & Customs and the Scottish Government. Contains public sector information licensed under the Open Government Licence v3.0.
Five things this calculation does not model, stated here rather than buried
- Student loan and postgraduate loan repayments. They are collected through self assessment with the income tax and Class 4 shown here, and nothing in this software models them — no plan types, no thresholds, no rates. The consequence is specific and one-directional: for anyone repaying, the “left over” figure is too high. That is why the calculator says so against the figure itself and not only here.
- Pension contributions. This page passes
computeTaxPositionno contribution, so its relief-at-source band extension — the mechanism by which a contribution extends the basic-rate band and shelters higher-rate income — never runs here. A self-employed person paying into a personal pension is shown more income tax than they owe, and there is no field to correct it with. The pension tax relief calculator works out the band extension. Class 4 is genuinely unaffected: pension contributions do not reduce it. - The profit. Turnover, allowable expenses, capital allowances, the trading allowance, use-of-home and vehicle claims and losses brought forward are all outside this software. A calculator cannot tell a turnover figure from a profit one, so entering the wrong one produces a confident answer with no symptom.
- Payments on account. What is computed is a tax-year liability. HMRC bills a balancing payment plus two instalments towards the following year, each half of this year’s income tax and Class 4, so a first January demand can be about one and a half times the figure here.
- Class 1 National Insurance and the annual maximum. Employment income entered in the other-income box feeds income tax only; the Class 1 an employer deducts is not computed, and neither are the annual maximum rules that can cap total National Insurance across classes in one year.