Petrol vs diesel vs hybrid vs electric: cost calculator
Total cost of ownership with your mileage and today’s prices. Shows when a pricier car pays back.
Buying a new car in Spain? Enter the price and the official CO₂ emissions to see the registration tax (impuesto de matriculación) you will pay at the official rates.
Article 70 of Spain’s Excise Duties Law 38/1992 classifies passenger cars by their official CO₂ emissions:
| Bracket | CO₂ emissions | Mainland and Balearics | Canary Islands |
|---|---|---|---|
| 1 | Up to 120 g/km, or a single non-combustion motor | 0 % | 0 % |
| 2 | Over 120 and under 160 g/km | 4.75 % | 3.75 % |
| 3 | 160 to under 200 g/km | 9.75 % | 8.75 % |
| 4 | 200 g/km or more, or emissions not certified | 14.75 % | 13.75 % |
Ceuta and Melilla apply 0 %. Spanish regions may set their own rates; if yours has, type it in the regional rate field.
Tax = tax base × rate. For a new car, the tax base is the VAT base of the purchase (art. 69). If you enter a VAT-inclusive price, the tool divides it by 1.21.
Example: a €30,000 car including VAT with 135 g/km of CO₂ on the mainland has a base of €24,793.39 and pays 4.75 %: €1,177.69.
All formulas are covered by automated tests. To compare total costs between cars, try the EV vs gas cost calculator.
Total cost of ownership with your mileage and today’s prices. Shows when a pricier car pays back.
Which one is cheaper for your mileage, and from how many km a year diesel pays off.
Total cost of an electric car against a hybrid with your charging situation.
When a plug-in pays off: it depends on how often you charge it.
Leasing against buying with cash or a loan: total cost, monthly and per km.
Official averages by province, updated every night, plus the cheapest hours to charge.