Methodology & Official Data Sources
Every calculator and CSV report on UKEVCost runs deterministic TypeScript models verified by automated unit tests against published HMRC, Scottish Government, DVLA, Ofgem, and Octopus Energy figures.
1. HMRC Company Car BiK & Salary Sacrifice (2025/26 – 2029/30)
- Appropriate percentage: Follows HMRC 480 Appendix 2 and Finance Act 2028/29–2029/30 rates (EV 3%→4%→5%→7%→9%; PHEV range tiers shifting to flat 18%/19% from April 2028; >50 g/km +1%/yr up to 37%/38%/39% cap; non-RDE2 diesel +4% within cap).
- Taxable benefit:
(P11D - min(capital contribution, £5,000)) × BiK%. Employer Class 1A NI is calculated at 15% of total taxable benefit. - Car fuel benefit: £28,200 (2025/26) and £29,200 (2026/27 baseline) × BiK%. Always £0 for 0 g/km electric vehicles.
- Salary sacrifice income tax & NI: Models full 2026/27 rUK bands (20%/40%/45%) and Scottish 6 bands (19%/20%/21%/42%/45%/48%), the £12,570 Personal Allowance tapered £1 per £2 between £100,000 and £125,140, Employee Class 1 NI (8% £12,570–£50,270; 2% above), and Employer NI (15% above £5,000).
2. DVLA VED Road Tax (2026/27)
- Applies to cars first registered on or after 1 April 2017.
- Year 1 follows 2026/27 CO2 bands (£10 for 0 g/km EVs up to £5,690 over 255 g/km, with non-RDE2 diesel uplift).
- Year 2+ standard rate is £200/year (single payment). Expensive Car Supplement adds £440/year for Years 2–6 when original list price exceeds £50,000 (EV) or £40,000 (petrol/diesel/hybrid).
3. Ofgem Q4 2026 Price Cap & EV Charging Math
- Ofgem Q4 2026 (1 Oct – 31 Dec 2026): £1,723/yr typical dual-fuel Direct Debit cap; electricity 26.32p/kWh & 54.83p/day (0% domestic electricity VAT until 31 March 2027); gas 7.97p/kWh & 29.68p/day (5% VAT).
- EV pence per mile:
(unit_rate_p / miles_per_kWh) × (1 + charging_loss%). - Petrol/diesel pence per mile:
(pence_per_litre × 4.54609) / UK_MPG. - HMRC Advisory Electric Rate: 7p/mile home and 15p/mile public.
4. Live Octopus Energy REST API Telemetry
Both live tariff pages query https://api.octopus.energy directly from your browser with no backend proxy. Product discovery checks active AGILE-* and SILVER-* tariffs with verified fallbacks (AGILE-24-10-01 and SILVER-26-04-01), caches responses for 15 minutes in sessionStorage, and falls back gracefully to a static snapshot if the API is unreachable.