The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 9 new columns ({'gross_annual_gbp', 'scotland_income_tax_gbp', 'england_income_tax_gbp', 'england_marginal_income_tax_pct', 'scotland_minus_england_monthly_gbp', 'scotland_net_annual_gbp', 'england_net_annual_gbp', 'scotland_marginal_income_tax_pct', 'scotland_minus_england_annual_gbp'}) and 9 missing columns ({'inside_ir35_retention_pct', 'outside_ir35_retention_pct', 'annual_contract_billing_220d_gbp', 'outside_advantage_annual_gbp', 'day_rate_gbp', 'inside_ir35_umbrella_net_gbp', 'equivalent_perm_paye_for_inside_gbp', 'outside_ir35_ltd_net_gbp', 'equivalent_perm_paye_for_outside_gbp'}).
This happened while the csv dataset builder was generating data using
hf://datasets/YetHow/ukpayclear-open-data-2026/data/scotland-vs-england-tax-gap.csv (at revision c37aff839af49bbc0b5e4d0f83c495313d7bd02c), ['hf://datasets/YetHow/ukpayclear-open-data-2026@c37aff839af49bbc0b5e4d0f83c495313d7bd02c/data/inside-vs-outside-ir35-day-rates.csv', 'hf://datasets/YetHow/ukpayclear-open-data-2026@c37aff839af49bbc0b5e4d0f83c495313d7bd02c/data/scotland-vs-england-tax-gap.csv', 'hf://datasets/YetHow/ukpayclear-open-data-2026@c37aff839af49bbc0b5e4d0f83c495313d7bd02c/data/uk-60-percent-tax-trap-2026-2027.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
gross_annual_gbp: int64
england_income_tax_gbp: int64
scotland_income_tax_gbp: int64
scotland_minus_england_annual_gbp: int64
scotland_minus_england_monthly_gbp: int64
england_net_annual_gbp: int64
scotland_net_annual_gbp: int64
england_marginal_income_tax_pct: double
scotland_marginal_income_tax_pct: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1631
to
{'day_rate_gbp': Value('int64'), 'annual_contract_billing_220d_gbp': Value('int64'), 'inside_ir35_umbrella_net_gbp': Value('int64'), 'inside_ir35_retention_pct': Value('float64'), 'outside_ir35_ltd_net_gbp': Value('int64'), 'outside_ir35_retention_pct': Value('float64'), 'outside_advantage_annual_gbp': Value('int64'), 'equivalent_perm_paye_for_inside_gbp': Value('int64'), 'equivalent_perm_paye_for_outside_gbp': Value('int64')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 9 new columns ({'gross_annual_gbp', 'scotland_income_tax_gbp', 'england_income_tax_gbp', 'england_marginal_income_tax_pct', 'scotland_minus_england_monthly_gbp', 'scotland_net_annual_gbp', 'england_net_annual_gbp', 'scotland_marginal_income_tax_pct', 'scotland_minus_england_annual_gbp'}) and 9 missing columns ({'inside_ir35_retention_pct', 'outside_ir35_retention_pct', 'annual_contract_billing_220d_gbp', 'outside_advantage_annual_gbp', 'day_rate_gbp', 'inside_ir35_umbrella_net_gbp', 'equivalent_perm_paye_for_inside_gbp', 'outside_ir35_ltd_net_gbp', 'equivalent_perm_paye_for_outside_gbp'}).
This happened while the csv dataset builder was generating data using
hf://datasets/YetHow/ukpayclear-open-data-2026/data/scotland-vs-england-tax-gap.csv (at revision c37aff839af49bbc0b5e4d0f83c495313d7bd02c), ['hf://datasets/YetHow/ukpayclear-open-data-2026@c37aff839af49bbc0b5e4d0f83c495313d7bd02c/data/inside-vs-outside-ir35-day-rates.csv', 'hf://datasets/YetHow/ukpayclear-open-data-2026@c37aff839af49bbc0b5e4d0f83c495313d7bd02c/data/scotland-vs-england-tax-gap.csv', 'hf://datasets/YetHow/ukpayclear-open-data-2026@c37aff839af49bbc0b5e4d0f83c495313d7bd02c/data/uk-60-percent-tax-trap-2026-2027.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
day_rate_gbp int64 | annual_contract_billing_220d_gbp int64 | inside_ir35_umbrella_net_gbp int64 | inside_ir35_retention_pct float64 | outside_ir35_ltd_net_gbp int64 | outside_ir35_retention_pct float64 | outside_advantage_annual_gbp int64 | equivalent_perm_paye_for_inside_gbp int64 | equivalent_perm_paye_for_outside_gbp int64 |
|---|---|---|---|---|---|---|---|---|
350 | 77,000 | 49,048 | 63.7 | 53,215 | 69.1 | 4,166 | 66,364 | 73,547 |
400 | 88,000 | 54,572 | 62 | 58,409 | 66.4 | 3,837 | 75,887 | 82,503 |
450 | 99,000 | 60,096 | 60.7 | 63,604 | 64.2 | 3,508 | 85,411 | 91,460 |
500 | 110,000 | 65,620 | 59.7 | 68,799 | 62.5 | 3,179 | 94,935 | 100,634 |
550 | 121,000 | 70,252 | 58.1 | 73,993 | 61.2 | 3,741 | 104,459 | 114,305 |
600 | 132,000 | 73,871 | 56 | 78,850 | 59.7 | 4,979 | 113,983 | 126,535 |
650 | 143,000 | 77,490 | 54.2 | 82,226 | 57.5 | 4,736 | 123,506 | 132,904 |
700 | 154,000 | 82,292 | 53.4 | 85,601 | 55.6 | 3,308 | 133,030 | 139,273 |
750 | 165,000 | 87,340 | 52.9 | 89,093 | 54 | 1,753 | 142,554 | 145,861 |
800 | 176,000 | 92,388 | 52.5 | 93,997 | 53.4 | 1,609 | 152,078 | 155,113 |
850 | 187,000 | 97,435 | 52.1 | 98,900 | 52.9 | 1,465 | 161,602 | 164,365 |
900 | 198,000 | 102,483 | 51.8 | 103,804 | 52.4 | 1,321 | 171,126 | 173,617 |
950 | 209,000 | 107,531 | 51.5 | 108,707 | 52 | 1,177 | 180,649 | 182,869 |
1,000 | 220,000 | 112,578 | 51.2 | 113,611 | 51.6 | 1,033 | 190,173 | 192,121 |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null |
UKPayClear Open Data (2026/27)
Open CSV datasets modelling 2026/27 HMRC and Scottish Government tax rules: the £100,000–£125,140 60% tax trap (England vs. Scotland), the Scotland vs. England income tax gap from £25,000 to £200,000, and Inside IR35 (umbrella) vs. Outside IR35 (Ltd) contractor take-home from £350 to £1,000/day.
All figures are computed directly from finalised 2026/27 HMRC and Scottish Parliament rates. Interactive calculators and methodology live at ukpayclear.co.uk.
Datasets in this repository
| File | Coverage | Live report & calculator |
|---|---|---|
data/uk-60-percent-tax-trap-2026-2027.csv |
13 salary points (£90,000 to £150,000): Personal Allowance taper, England (62%) vs. Scotland (69.5%) marginal tax+NI rate, and net cost of salary sacrifice back to £100k | UK 60% Tax Trap Report / Salary Sacrifice Calculator |
data/scotland-vs-england-tax-gap.csv |
15 salary points (£25,000 to £200,000): annual and monthly income tax difference, net pay, and marginal rates | Scotland vs England Tax Gap Report / Take-Home Calculator |
data/inside-vs-outside-ir35-day-rates.csv |
14 day rates (£350 to £1,000/day, 220 billing days): umbrella vs. Ltd net pay, retention %, annual Outside advantage, and permanent PAYE equivalent | Inside vs Outside IR35 Report / IR35 Calculator |
1. The £100,000–£125,140 Tax Trap (England vs. Scotland)
Losing £1 of Personal Allowance (£12,570) for every £2 earned above £100,000 pushes the combined marginal Income Tax + Employee NI rate to 62.0% in England and 69.5% in Scotland:
- Earning £125,140 instead of £100,000 adds only £9,554 net in England (£7,668 in Scotland).
- Putting the entire £25,140 into a pension via salary sacrifice costs just £9,553 of net take-home in England (£7,668 in Scotland).
| Gross annual | Personal Allowance | England net | England marginal | Scotland net | Scotland marginal | Sacrifice to £100k | Net cost (England) | Net cost (Scotland) |
|---|---|---|---|---|---|---|---|---|
| £100,000 | £12,570 | £68,557 | 62.0% | £65,257 | 69.5% | £0 | £0 | £0 |
| £110,000 | £7,570 | £72,357 | 62.0% | £68,307 | 69.5% | £10,000 | £3,800 | £3,050 |
| £120,000 | £2,570 | £76,157 | 62.0% | £71,357 | 69.5% | £20,000 | £7,600 | £6,100 |
| £125,140 | £0 | £78,111 | 47.0% | £72,925 | 50.0% | £25,140 | £9,553 | £7,668 |
| £150,000 | £0 | £91,286 | 47.0% | £85,355 | 50.0% | £50,000 | £22,729 | £20,098 |
2. Scotland vs. England Income Tax Divergence (2026/27)
- Earners on £25,000–£30,000 pay £35–£40 less income tax in Scotland.
- Above £43,662, Scotland's 42% Higher Rate opens a steep gap: +£1,496/yr (£125/mo) more tax at £50,000, +£1,750/yr at £60,000, +£3,300/yr at £100,000, +£5,175/yr at £125,000, and +£7,431/yr (£619/mo) at £200,000.
3. Inside vs. Outside IR35 Contractor Retention (2026/27)
With 2026/27 higher dividend tax rates and Corporation Tax marginal relief (19% to 25%):
- The Outside IR35 Ltd advantage peaks at £600/day (+£4,979/yr, 59.7% vs. 56.0% retention; equivalent to £126,535 vs. £113,983 perm PAYE) and £650/day (+£4,736/yr).
- Above £750/day, the gap narrows sharply down to +£1,033/yr at £1,000/day (51.6% vs. 51.2% retention) when full profits are extracted annually.
Primary Official Sources
- HMRC: Income Tax rates, Income over £100,000, Tax on dividends
- HMRC: National Insurance rates, Corporation Tax, Off-payroll working (IR35)
- Scottish Government: Scottish Income Tax 2026/27
Interactive Calculators and Embeds
- UK Take-Home Pay calculator: https://ukpayclear.co.uk/
- Salary Sacrifice & £100k Tax Trap calculator: https://ukpayclear.co.uk/salary-sacrifice-calculator/
- £100k Tax Trap guide: https://ukpayclear.co.uk/100k-tax-trap-explained/
- Inside vs. Outside IR35 calculator: https://ukpayclear.co.uk/ir35-calculator/
- Dividend tax & Corporation Tax calculators: https://ukpayclear.co.uk/dividend-tax-calculator/
- Lightweight iframe embeds (no sign-up):
https://ukpayclear.co.uk/embed/take-home/,https://ukpayclear.co.uk/embed/dividend/,https://ukpayclear.co.uk/embed/ir35/
License and Citation
Licensed under CC-BY-4.0. Citation metadata is in CITATION.cff.
UKPayClear (2026). UKPayClear Open Data 2026/27: UK 60% Tax Trap, Scotland vs England Income Tax Gap, and Inside vs Outside IR35 Day Rates [Dataset]. https://ukpayclear.co.uk/reports/ (CC-BY-4.0).
- Downloads last month
- -