Tax & Business

How to Calculate and Pay Class 2 and Class 4 NI

2 November 2025|SimpleCalc|9 min read
NI contribution calculation for self-employed worker

Self-employed in the UK? You'll deal with Class 2 and Class 4 National Insurance - contributions that are separate from income tax, have their own thresholds, and affect your state pension. For 2026/27, Class 4 is what most self-employed people actually pay, while Class 2 is treated as paid for most people and is voluntary for those with low profits. Here's how to calculate and pay them, with worked examples and the key dates you need to know.

What Are Class 2 and Class 4 National Insurance?

Class 2 and Class 4 National Insurance are self-employed NI contributions. Unlike employees, who have Class 1 NI deducted automatically from their payslip, self-employed people deal with two types:

  • Class 2 NI is a fixed weekly amount (flat-rate contribution)
  • Class 4 NI is a percentage of your profit (profit-related contribution)

For 2026/27, if your profits are £7,105 or more a year you don't pay Class 2 - it is treated as having been paid to protect your National Insurance record. If your profits are under £7,105, you don't have to pay anything, but you can choose to pay voluntary Class 2. Class 4 is due if your profits are more than £12,570. Both are separate from income tax - you'll pay both tax and Class 4 on the same profits.

This matters because getting them wrong means underpaying HMRC (and facing penalties and interest) or overpaying. A few minutes now clarifying the thresholds saves a headache in January.

Class 2 National Insurance: The Fixed Weekly Contribution

Class 2 is straightforward: it's a fixed weekly amount, and for most self-employed people it is now treated as paid rather than actually charged.

2026/27 rates:

  • Class 2 rate: £3.65 a week (£189.80 for a full 52-week year)
  • Profit level at which Class 2 is treated as paid: £7,105 a year

If your self-employed profits fall below £7,105, you don't have to pay Class 2 - but you can pay voluntarily to protect your National Insurance record and build state pension entitlement.

Who is affected? Anyone self-employed with profits under £7,105 who wants to fill their NI record can pay voluntary Class 2. If you need to send a Self Assessment return for the first time, you must tell HMRC by 5 October after the end of the tax year (for example, by 5 October 2026 for the tax year to 5 April 2026).

Payment method: Most people pay Class 2 through Self Assessment, along with Class 4 and income tax. It's one of the simplest parts of self-assessment - a fixed amount, no calculation needed.

State pension benefit: A year of Class 2 contributions (paid or treated as paid) counts towards your state pension. You usually need 35 qualifying years for the full new State Pension, which is £241.30 a week.

Class 4 National Insurance: The Profit-Based Contribution

Class 4 is percentage-based and depends on your profit. It's calculated on profit above a lower threshold, with a lower rate on profit above an upper threshold.

2026/27 rates:

  • Profit up to £12,570: 0%
  • Profit over £12,570 up to £50,270: 6%
  • Profit over £50,270: 2%

You calculate it on the same profit figure used for income tax.

Key difference from Class 2: Class 4 doesn't count towards state pension. It's purely a contribution to the NI system. Your NI record comes from Class 2 (paid, treated as paid, or paid voluntarily); Class 4 is a separate tax-like payment.

How to Calculate Your Class 2 and Class 4 Payments: Worked Examples

These examples use the 2026/27 rates for England, Wales and Northern Ireland, with the standard Personal Allowance and no other income.

Scenario 1: Freelancer earning £20,000 profit

Self-employed profit (after expenses): £20,000 Personal allowance: £12,570 Taxable income: £7,430 (taxed at 20% = £1,486 income tax)

Class 2: £0 (profit is over £7,105, so Class 2 is treated as paid) Class 4: (£20,000 - £12,570) x 6% = £445.80

Total: £1,486 income tax + £445.80 Class 4 = £1,931.80

This freelancer is well below the upper threshold for Class 4, so no 2% rate applies.


Scenario 2: Contractor earning £60,000 profit

Self-employed profit: £60,000 Personal allowance: £12,570 Income tax: £37,700 at 20% (£12,571-£50,270) = £7,540, plus £9,730 at 40% = £3,892, so £11,432 income tax

Class 2: £0 (treated as paid) Class 4:

  • Profit between £12,570 and £50,270: £37,700 x 6% = £2,262
  • Profit above £50,270: £9,730 x 2% = £194.60

Total Class 4: £2,456.60

This contractor spans both Class 4 bands, so the calculation splits across the rates.


The difference between Class 2 and Class 4 at a glance:

Class 2 Class 4
Type Fixed weekly amount Percentage of profit
Calculation No math needed Lower threshold, upper threshold, two rates
Counts to state pension? Yes No
Payment due 31 January (self-assessment) 31 January (self-assessment)

How Self-Employed NI Compares to Other Business Structures

If you're self-employed as a sole trader, Class 2 and Class 4 are your NI. But if you run a limited company, you pay different contributions as a director-employee (Class 1 NI through payroll). Corporation tax replaces income tax on company profit. The NI picture changes entirely, which is why sole trader vs. limited company involves both tax and NI calculations.

For now, if you're self-employed: Class 4 (plus any voluntary Class 2) is what you owe.

State Pension and National Insurance: Why Class 2 Matters

The state pension is based on your NI record. You usually need 35 qualifying years to get the full new State Pension. Class 2 contributions count; Class 4 contributions do not.

If your profits are under £7,105 and you don't pay voluntary Class 2:

  • You won't get a qualifying year from self-employment for that year
  • Unless you pay voluntary contributions or get credits another way

Many self-employed people with low income choose to pay Class 2 anyway, just for the pension record. At £3.65 a week it is much cheaper than voluntary Class 3, which is £18.40 a week for 2026/27.

Payment Deadlines and Payment Methods

Self-assessment tax return deadline: 31 January (following the tax year end on 5 April)

That is also when your balancing payment, including Class 2 and Class 4, is due. You can pay via:

  • HMRC online payment - a one-off payment, or a payment plan if you agree one with HMRC
  • Bank transfer - use your UTR (Unique Taxpayer Reference) as the reference
  • Other methods listed on your HMRC statement

Payment on account: Unless the tax you owed last year was less than £1,000 (or more than 80% was already paid outside Self Assessment), HMRC asks for two payments on account - by 31 January and 31 July. Payments on account include Class 4 National Insurance, so Class 4 is partly paid in advance. Class 2 is not included and is paid with the 31 January balancing payment.

Late payment penalties: If you pay late:

  • 30 days late: 5% of the unpaid tax
  • 6 months late: another 5%
  • 12 months late: another 5%

You'll also be charged interest on the amount owed. Set a calendar reminder for mid-January to check your self-assessment is filed and payment arranged.

Frequently Asked Questions

Q: Do I have to pay both Class 2 and Class 4?

A: For 2026/27, if your profit is over £12,570 you pay Class 4; you can't opt out of it. If your profit is £7,105 or more, Class 2 is treated as paid, so there is nothing extra to pay. If your profit is under £7,105, you can choose whether to pay voluntary Class 2.

Q: What if I have a mix of employment and self-employment income?

A: If you're employed and self-employed in the same tax year, you pay Class 1 NI on employment income and Class 4 (and any voluntary Class 2) on self-employed profit. The self-employment thresholds are separate from employment, so you could owe both.

Q: Can I claim Class 2 and Class 4 on my tax return to reduce my income tax?

A: No. Class 2 and Class 4 are not tax-deductible. However, business expenses are deducted before calculating both tax and Class 4 - so claiming all your allowable business expenses reduces both.

Q: Does Class 4 help with state pension?

A: No. Only Class 2 (and Class 1, if employed) count towards state pension. Class 4 is a pure contribution to the NI system. If building state pension is your goal and your profits are under £7,105, consider voluntary Class 2 - it's much cheaper than Class 3 voluntary contributions.

Q: What if my profit is negative one year?

A: If you make a loss, you won't owe Class 4 for that year. You may be able to use losses against other years' profits; an accountant can confirm how this works for your situation.

Q: When should I register as self-employed, and how does that affect Class 2?

A: If you need to send a Self Assessment return for the first time, tell HMRC by 5 October after the end of the tax year. Once registered, HMRC works out any Class 2 and Class 4 through your return.

Q: What happens if I miss a Class 2 or Class 4 payment?

A: Late payment penalties apply (5% of the unpaid tax at 30 days, 6 months and 12 months), and interest is charged on the amount owed. It's cheaper to pay late than not pay, but best to pay on time. If you're struggling, contact HMRC about a payment plan early.

Q: Is there a calculator for Class 2 and Class 4?

A: You can calculate Class 4 manually (profit x rate), but most self-employed people use tax software or an accountant for their self-assessment return, which calculates Class 2 and Class 4 automatically.


Final tip: Self-employed? Keep careful records of all business income and expenses from day one. Class 4 is calculated on profit, so claiming every allowable expense reduces both NI and income tax - that's where the real savings are. You must keep your records for at least 5 years after the 31 January submission deadline of the relevant tax year, so document everything.

class 2 NIclass 4 NIself employed NI