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 10 new columns ({'unit_price', 'efficiency', 'annual_ved_year2_gbp', 'total_annual_gbp', 'pence_per_mile', 'annual_energy_10k_miles_gbp', 'profile', 'cost_per_100_miles_gbp', 'saving_vs_petrol_gbp', 'powertrain'}) and 14 missing columns ({'bik_40pct_2025_26_gbp', 'ev_ecs_over_50k', 'bik_40pct_2027_28_gbp', 'five_year_40pct_total_gbp', 'bik_20pct_2026_27_gbp', 'model', 'bik_20pct_2025_26_gbp', 'segment', 'bik_20pct_2029_30_gbp', 'bik_40pct_2026_27_gbp', 'bik_40pct_2029_30_gbp', 'employer_class1a_5yr_gbp', 'p11d_gbp', 'bik_40pct_2028_29_gbp'}).
This happened while the csv dataset builder was generating data using
hf://datasets/YetHow/ukevcost-open-data-2026/data/ev-vs-petrol-cost-per-mile-uk.csv (at revision fabba037d19ae5a75b26bca0e0f68ece78abe5d3), ['hf://datasets/YetHow/ukevcost-open-data-2026@fabba037d19ae5a75b26bca0e0f68ece78abe5d3/data/ev-bik-tax-jump-2025-2030.csv', 'hf://datasets/YetHow/ukevcost-open-data-2026@fabba037d19ae5a75b26bca0e0f68ece78abe5d3/data/ev-vs-petrol-cost-per-mile-uk.csv', 'hf://datasets/YetHow/ukevcost-open-data-2026@fabba037d19ae5a75b26bca0e0f68ece78abe5d3/data/octopus-agile-regional-spread-2026.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
profile: string
powertrain: string
unit_price: string
efficiency: string
pence_per_mile: double
cost_per_100_miles_gbp: double
annual_energy_10k_miles_gbp: double
annual_ved_year2_gbp: double
total_annual_gbp: double
saving_vs_petrol_gbp: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1595
to
{'model': Value('string'), 'segment': Value('string'), 'p11d_gbp': Value('int64'), 'bik_20pct_2025_26_gbp': Value('float64'), 'bik_20pct_2026_27_gbp': Value('float64'), 'bik_20pct_2029_30_gbp': Value('float64'), 'bik_40pct_2025_26_gbp': Value('float64'), 'bik_40pct_2026_27_gbp': Value('float64'), 'bik_40pct_2027_28_gbp': Value('float64'), 'bik_40pct_2028_29_gbp': Value('float64'), 'bik_40pct_2029_30_gbp': Value('float64'), 'five_year_40pct_total_gbp': Value('float64'), 'employer_class1a_5yr_gbp': Value('float64'), 'ev_ecs_over_50k': Value('string')}
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 10 new columns ({'unit_price', 'efficiency', 'annual_ved_year2_gbp', 'total_annual_gbp', 'pence_per_mile', 'annual_energy_10k_miles_gbp', 'profile', 'cost_per_100_miles_gbp', 'saving_vs_petrol_gbp', 'powertrain'}) and 14 missing columns ({'bik_40pct_2025_26_gbp', 'ev_ecs_over_50k', 'bik_40pct_2027_28_gbp', 'five_year_40pct_total_gbp', 'bik_20pct_2026_27_gbp', 'model', 'bik_20pct_2025_26_gbp', 'segment', 'bik_20pct_2029_30_gbp', 'bik_40pct_2026_27_gbp', 'bik_40pct_2029_30_gbp', 'employer_class1a_5yr_gbp', 'p11d_gbp', 'bik_40pct_2028_29_gbp'}).
This happened while the csv dataset builder was generating data using
hf://datasets/YetHow/ukevcost-open-data-2026/data/ev-vs-petrol-cost-per-mile-uk.csv (at revision fabba037d19ae5a75b26bca0e0f68ece78abe5d3), ['hf://datasets/YetHow/ukevcost-open-data-2026@fabba037d19ae5a75b26bca0e0f68ece78abe5d3/data/ev-bik-tax-jump-2025-2030.csv', 'hf://datasets/YetHow/ukevcost-open-data-2026@fabba037d19ae5a75b26bca0e0f68ece78abe5d3/data/ev-vs-petrol-cost-per-mile-uk.csv', 'hf://datasets/YetHow/ukevcost-open-data-2026@fabba037d19ae5a75b26bca0e0f68ece78abe5d3/data/octopus-agile-regional-spread-2026.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.
model string | segment string | p11d_gbp int64 | bik_20pct_2025_26_gbp float64 | bik_20pct_2026_27_gbp float64 | bik_20pct_2029_30_gbp float64 | bik_40pct_2025_26_gbp float64 | bik_40pct_2026_27_gbp float64 | bik_40pct_2027_28_gbp float64 | bik_40pct_2028_29_gbp float64 | bik_40pct_2029_30_gbp float64 | five_year_40pct_total_gbp float64 | employer_class1a_5yr_gbp float64 | ev_ecs_over_50k string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dacia Spring Expression | City EV | 14,995 | 89.97 | 119.96 | 269.91 | 179.94 | 239.92 | 299.9 | 419.86 | 539.82 | 1,679.44 | 629.79 | No |
Citroen e-C3 You | Supermini | 21,990 | 131.94 | 175.92 | 395.82 | 263.88 | 351.84 | 439.8 | 615.72 | 791.64 | 2,462.88 | 923.59 | No |
MG4 EV SE Long Range | Hatchback | 29,495 | 176.97 | 235.96 | 530.91 | 353.94 | 471.92 | 589.9 | 825.86 | 1,061.82 | 3,303.44 | 1,238.79 | No |
Renault 5 E-Tech 52kWh | Supermini | 26,995 | 161.97 | 215.96 | 485.91 | 323.94 | 431.92 | 539.9 | 755.86 | 971.82 | 3,023.44 | 1,133.79 | No |
BYD Dolphin Design | Hatchback | 30,990 | 185.94 | 247.92 | 557.82 | 371.88 | 495.84 | 619.8 | 867.72 | 1,115.64 | 3,470.88 | 1,301.59 | No |
Vauxhall Corsa Electric GS | Supermini | 32,445 | 194.67 | 259.56 | 584.01 | 389.34 | 519.12 | 648.9 | 908.46 | 1,168.02 | 3,633.84 | 1,362.69 | No |
Kia Niro EV 3 | Compact SUV | 39,995 | 239.97 | 319.96 | 719.91 | 479.94 | 639.92 | 799.9 | 1,119.86 | 1,439.82 | 4,479.44 | 1,679.79 | No |
Volvo EX30 Single Motor Extended | Compact SUV | 38,550 | 231.3 | 308.4 | 693.9 | 462.6 | 616.8 | 771 | 1,079.4 | 1,387.8 | 4,317.6 | 1,619.11 | No |
Tesla Model 3 RWD | Saloon | 39,990 | 239.94 | 319.92 | 719.82 | 479.88 | 639.84 | 799.8 | 1,119.72 | 1,439.64 | 4,478.88 | 1,679.6 | No |
Tesla Model Y Long Range RWD | Family SUV | 44,990 | 269.94 | 359.92 | 809.82 | 539.88 | 719.84 | 899.8 | 1,259.72 | 1,619.64 | 5,038.88 | 1,889.6 | No |
Skoda Enyaq 85 Edition | Family SUV | 44,540 | 267.24 | 356.32 | 801.72 | 534.48 | 712.64 | 890.8 | 1,247.12 | 1,603.44 | 4,988.48 | 1,870.68 | No |
Hyundai Ioniq 5 84kWh N Line | Family SUV | 47,400 | 284.4 | 379.2 | 853.2 | 568.8 | 758.4 | 948 | 1,327.2 | 1,706.4 | 5,308.8 | 1,990.8 | No |
BMW i4 eDrive40 M Sport | Executive | 57,890 | 347.34 | 463.12 | 1,042.02 | 694.68 | 926.24 | 1,157.8 | 1,620.92 | 2,084.04 | 6,483.68 | 2,431.4 | Yes |
Audi Q6 e-tron Performance | Premium SUV | 63,475 | 380.85 | 507.8 | 1,142.55 | 761.7 | 1,015.6 | 1,269.5 | 1,777.3 | 2,285.1 | 7,109.2 | 2,665.95 | Yes |
Porsche Taycan | Luxury EV | 86,500 | 519 | 692 | 1,557 | 1,038 | 1,384 | 1,730 | 2,422 | 3,114 | 9,688 | 3,633 | Yes |
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 |
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 |
UKEVCost Open Data (2026)
Open CSV datasets modelling the legislated UK electric company car BiK tax rise from 3% to 9% (2025/26 to 2029/30) across 15 EVs, 10,000-mile EV vs. petrol running costs including £200 VED road tax, and Octopus Agile half-hourly regional spreads across all 14 Great Britain DNO zones.
All figures are computed directly from HMRC BiK schedules, DVLA VED tables, the Ofgem Q4 2026 Price Cap, and Octopus Energy's public REST API. Interactive calculators and live tariff trackers live at ukevcost.co.uk.
Datasets in this repository
| File | Coverage | Live report & calculator |
|---|---|---|
data/ev-bik-tax-jump-2025-2030.csv |
15 popular UK EVs (£14,995 to £86,500 P11D): 20% and 40% BiK tax from 2025/26 (3%) to 2029/30 (9%), 5-year total, Employer Class 1A NI, and £50k+ ECS flag | EV BiK Tax Jump Report / BiK Calculator |
data/ev-vs-petrol-cost-per-mile-uk.csv |
8 charging & fuel profiles at 10,000 miles/year: pence/mile, energy cost, £200 Year 2+ VED, total annual cost, and saving vs. 45 MPG petrol | EV vs Petrol Cost Report / EV Charging Calculator |
data/octopus-agile-regional-spread-2026.csv |
All 14 GB DNO regions (1,440 half-hour slots each): mean, overnight (00–06), peak (16–19), best 4h window, min plunge, max peak, negative slots, and standing charge | Octopus Agile Regional Spread Report / Live Agile Tracker |
1. EV Company Car BiK Tax Triples by 2029/30 (3% → 9%)
Under HMRC's legislated BiK schedule (3% in 2025/26, 4% in 2026/27, 5% in 2027/28, 7% in 2028/29, 9% in 2029/30), every UK EV company car driver sees annual BiK tax triple over four tax years:
| EV model | P11D | 40% BiK 2025/26 (3%) | 40% BiK 2026/27 (4%) | 40% BiK 2029/30 (9%) | 5-yr 40% total | Employer Class 1A (5 yr) | Over £50k ECS |
|---|---|---|---|---|---|---|---|
| MG4 EV SE Long Range | £29,495 | £353.94 | £471.92 | £1,061.82 | £3,303.44 | £1,238.79 | No |
| Tesla Model 3 RWD | £39,990 | £479.88 | £639.84 | £1,439.64 | £4,478.88 | £1,679.60 | No |
| Tesla Model Y LR RWD | £44,990 | £539.88 | £719.84 | £1,619.64 | £5,038.88 | £1,889.60 | No |
| BMW i4 eDrive40 M Sport | £57,890 | £694.68 | £926.24 | £2,084.04 | £6,483.68 | £2,431.40 | Yes |
| Porsche Taycan | £86,500 | £1,038.00 | £1,384.00 | £3,114.00 | £9,688.00 | £3,633.00 | Yes |
2. EV vs. Petrol Cost per Mile + £200 VED (10,000 Miles/Year)
Key findings from data/ev-vs-petrol-cost-per-mile-uk.csv:
- Home off-peak (Intelligent Octopus Go, 7p/kWh): 2.20p/mile (£420/yr incl. £200 VED), saving £1,417/yr vs. a 45 MPG petrol car (16.37p/mile, £1,837/yr).
- Ofgem Q4 2026 Price Cap (26.32p/kWh): 8.27p/mile (£1,027/yr), still saving £810/yr.
- Public AC kerbside (54p/kWh): 16.97p/mile (£1,897/yr) — £60/yr more expensive than petrol.
- Public rapid DC only (79p/kWh): 23.70p/mile (£2,570/yr) — £733/yr more expensive than petrol.
3. Octopus Agile Regional Spread (14 GB DNO Regions)
Across 1,440 half-hourly Agile slots per DNO region:
- Cheapest region — London (DNO C): 35.32p/kWh mean, 26.75p/kWh best 4h daily window, 37.65p/day standing charge.
- Most expensive region — Northern Scotland (DNO P): 42.72p/kWh mean (+7.40p/kWh above London), 65.69p/kWh peak (16:00–19:00), -8.14p/kWh deepest plunge.
- All 14 GB regions recorded 31 to 32 negative-price half-hour slots in the period.
Primary Official Sources
- HMRC: Company car BiK appropriate percentages and 2028/29–2029/30 BiK rate changes
- DVLA: Vehicle tax rate tables (VED & ECS)
- Ofgem: Energy Price Cap
- Octopus Energy: Public Products & Tariffs REST API
Interactive Calculators and Embeds
- Company Car BiK calculator (2025–2030): https://ukevcost.co.uk/
- EV Salary Sacrifice calculator: https://ukevcost.co.uk/ev-salary-sacrifice/
- EV charging cost vs. petrol calculator: https://ukevcost.co.uk/ev-charging-cost-calculator/
- Live Octopus Agile & Tracker prices: https://ukevcost.co.uk/octopus-agile-prices/
- Lightweight iframe embeds (no sign-up):
https://ukevcost.co.uk/embed/bik/,https://ukevcost.co.uk/embed/ev-charging/
License and Citation
Licensed under CC-BY-4.0. Citation metadata is in CITATION.cff.
UKEVCost (2026). UKEVCost Open Data 2026: UK EV BiK Tax Schedule (2025-2030), EV vs Petrol Cost per Mile, and Octopus Agile Regional Spread [Dataset]. https://ukevcost.co.uk/reports/ (CC-BY-4.0).
- Downloads last month
- -