calculate_car_tax
Calculate annual UK vehicle tax (VED / road tax) for any car. Handles all three UK systems: cars registered before March 2001 (taxed on engine size), March 2001 to March 2017 (CO2 bands, £20–£790), and April 2017 onward (flat standard rate). Also works out the Expensive Car Supplement: over £40,000 list price when new for petrol, diesel and alternative fuel; over £50,000 for a zero-emission car first registered on or after 1 April 2025; and no supplement at all for a zero-emission car first registered before 1 April 2025, whatever it listed for. Pass registration_date as well as registration_year when you have it — the boundaries are dates, and the year alone cannot separate a March 2025 registration from an April one. Use this for any question about UK car tax, road tax, VED, or how much it costs to tax a specific car.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| co2 | No | CO2 emissions in g/km. Required for cars registered March 2001–March 2017; ignored for pre-2001 cars. | |
| fuel | Yes | Fuel type. Use "alternative" for hybrid/LPG, "diesel-rde2" only for diesels meeting RDE2. | |
| engine_size_cc | No | Engine size in cc. Only used for cars registered before March 2001. | |
| registration_date | No | Full date of FIRST registration as YYYY-MM-DD, from the V5C. Optional but strongly preferred: every UK VED boundary is a date (1 March 2001, 1 April 2017, 1 April 2025), so the year alone cannot tell a zero-emission car registered 1 March 2025 (no Expensive Car Supplement) from one registered 1 April 2025 (supplement). Without it, an ambiguous case is answered with a caveat in notes rather than a figure. | |
| registration_year | Yes | Year the car was FIRST registered (not the year it was bought). This decides which tax system applies and is the single most important input. | |
| list_price_when_new | No | Original list price in GBP when the car was new. Needed only to work out the Expensive Car Supplement — based on the price when NEW, not what you pay for it used. |