How to Calculate and Pay Class 2 and Class 4 NI

Self-employed in the UK? You'll pay Class 2 and Class 4 National Insurance — contributions that are separate from income tax, have their own thresholds, and directly affect your state pension. Here's exactly 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 pay 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)
Both are mandatory once you're registered as self-employed, and both count towards your state pension entitlement. They're separate from income tax — you'll pay both tax and NI on the same profits.
This matters because getting them wrong means underpaying HMRC (and facing arrears plus penalties) or overpaying (and missing a refund). 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 amount you pay per week once you're self-employed.
2025/26 rates:
- Standard Class 2 rate: [STAT NEEDED: Class 2 weekly rate for 2025/26]
- Small Earnings Exception threshold: [STAT NEEDED: SEE threshold for 2025/26]
If your self-employed profits fall below the Small Earnings Exception threshold, you don't have to pay Class 2 — but you can pay voluntarily to build state pension entitlement.
Who pays Class 2? Anyone registered as self-employed, age 16–State Pension age, with profit above the threshold. You must register as self-employed with HMRC within 3 months of starting.
Payment method: You pay Class 2 via self-assessment either as a one-off payment on 31 January or via monthly payments if you set up a payment plan. It's one of the simplest parts of self-assessment — a fixed amount, no calculation needed.
State pension benefit: Each week of Class 2 contributions counts as a week towards your state pension. You need 30 years (1,560 weeks) of contributions to qualify for the full state pension.
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 and below an upper threshold, with different rates at each band.
2025/26 rates (typical structure):
- Profit up to lower threshold: 0%
- Profit between [STAT NEEDED: lower threshold] and [STAT NEEDED: upper threshold]: [STAT NEEDED: rate A]%
- Profit above [STAT NEEDED: upper threshold]: [STAT NEEDED: rate B]%
Class 4 is typically 8% on profits between the thresholds, then 2% on profits above the upper threshold. 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. So if you're trying to build state pension entitlement, Class 2 is what matters; Class 4 is a separate tax-like payment.
How to Calculate Your Class 2 and Class 4 Payments: Worked Examples
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: [STAT NEEDED: weekly rate] × 52 weeks = [STAT NEEDED: annual Class 2] Class 4: (£20,000 − [STAT NEEDED: lower threshold]) × 8% = [STAT NEEDED: Class 4 amount]
Total self-employed tax: Income tax + Class 2 + Class 4
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 Taxable income: £47,430 (£12,570−£50,270 range = 20% basic rate = £9,486 income tax)
Class 2: [STAT NEEDED: weekly rate] × 52 weeks = [STAT NEEDED: annual Class 2] Class 4:
- Profit between [STAT NEEDED: lower threshold] and [STAT NEEDED: upper threshold]: [STAT NEEDED: amount] × 8%
- Profit above [STAT NEEDED: upper threshold]: [STAT NEEDED: amount] × 2%
Total Class 4: [STAT NEEDED: total]
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 2 + Class 4 is what you owe.
State Pension and National Insurance: Why Class 2 Matters
The state pension is based on your NI record. You need 30 years of qualifying contributions to get the full amount. Class 2 contributions count; Class 4 contributions do not.
If you earn below the Small Earnings Exception threshold and skip Class 2 voluntarily:
- You still build state pension entitlement (if you pay voluntary contributions)
- But you won't get credit for that year unless you pay
Many self-employed people with low income choose to pay Class 2 anyway, just for the pension credit. It's relatively cheap insurance for state pension entitlement.
Payment Deadlines and Payment Methods
Self-assessment tax return deadline: 31 January (following the tax year end on 5 April)
On that date, both Class 2 and Class 4 are due. You pay via:
- HMRC Online Payment Scheme — one-off payment or monthly direct debit (if you set up a payment plan with HMRC)
- Bank transfer — use your UTR (Unique Taxpayer Reference) as the reference
- Cheque — less common now, but still accepted (address on the HMRC notice)
Payment on account: If you owe more than £1,000 tax, HMRC may require you to make two payments on account — one by 31 January, one by 31 July. Class 2 and Class 4 don't have payments on account; they're calculated once annually and due 31 January.
Late payment penalties: If you pay late:
- 30 days late: 5% of tax owed
- 6 months late: another 5% (10% total)
- 12 months late: another 5% (15% total)
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: If you're self-employed with profit above the thresholds, yes. Class 2 is a fixed weekly contribution; Class 4 is profit-based. You can't opt out of either. However, if your profit is below the Class 2 Small Earnings Exception threshold, you can choose whether to pay Class 2 (you'd still pay Class 4 if profit is high enough).
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 2 and Class 4 on self-employed profit. The self-employment threshold is 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. You pay them from after-tax profit. However, business expenses are deductible before calculating both tax and NI — so optimizing business expenses reduces all three (income tax, Class 2, and Class 4).
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, make sure you pay Class 2 — it's cheap compared to voluntary contributions.
Q: What if my profit is negative one year?
A: If you make a loss, you owe £0 for Class 2 and Class 4. You don't pay National Insurance on losses. However, you can carry losses forward to reduce future years' profits and NI, or carry them back to reclaim against previous years' profit.
Q: When should I register as self-employed, and how does that affect Class 2?
A: Register with HMRC within 3 months of starting self-employment. Class 2 becomes due from the date you start; you'll pay a proportion of the annual amount for your first partial year, then full years afterward. HMRC calculates the exact amount.
Q: What happens if I miss a Class 2 or Class 4 payment?
A: HMRC will contact you about arrears. Late payment penalties apply (5% at 30 days, 10% at 6 months, 15% at 12 months). Interest also accrues daily. 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 × 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 2 and Class 4 are calculated on profit, so lowering your taxable profit reduces both NI amounts and income tax — that's where the real savings are. HMRC can enquire up to 4 years back, so document everything.