HaveKarUS
HomeCarsAboutBlogContact
Add announcement
HaveKar

The meeting place for people buying and selling cars across Morocco.

Explore

All carsFresh arrivalsRoad notes

HaveKar

AboutContactCreate account

Legal

Privacy policyTerms of use

© 2026 HaveKar. All rights reserved.

Made for roads worth taking.

HaveKar/All guides
Ownership costsElectric carsPetrol

Electric vs petrol: calculate the cost of 100 km before you buy

Use a transparent example to compare electric charging and petrol costs per 100 km, then add insurance, maintenance and depreciation to your budget.

Electric vs petrol costs per 100 km
Electric vs petrol: calculate the cost of 100 km before you buy
HaveKar editorial teamPublished: September 10, 2026Updated: September 13, 2026

Quick answer

Compare energy costs using consumption multiplied by the price of electricity or fuel. Then calculate total ownership costs separately. Cheap charging alone does not prove that an electric car is the cheaper purchase.

Calculate with your prices in MAD

Enter the consumption shown by the exact cars you are comparing and the prices you actually pay.

Electric

—

Petrol

—

Estimated difference

—

Illustrative calculator. It excludes purchase price, finance, insurance, maintenance, taxes, charging fees and depreciation.

In this guide

  1. The calculation you can reuse
  2. An illustrative example, not current tariffs
  3. Public charging can change the result
  4. What belongs in the full budget?

The calculation you can reuse

Electricity cost per 100 km = electricity drawn from the charger in kWh per 100 km × price per kWh. Petrol cost per 100 km = litres per 100 km × price per litre. Using charger energy includes charging losses; an in-car consumption display may not. Use matching currencies and comparable driving conditions.

An illustrative example, not current tariffs

Assume 18 kWh drawn per 100 km and an electricity price of €0.25/kWh. That is €4.50/100 km. Assume the petrol alternative uses 6 litres at €1.80/litre: €10.80/100 km. The difference is €6.30 per 100 km, or €945 across 15,000 km. These are invented inputs for the calculation, not measured vehicle results or local price quotes.

Public charging can change the result

With the same 18 kWh but a price of €0.65/kWh, the electric result becomes €11.70/100 km. For mixed charging, weight prices by energy purchased at each tariff. Include session, parking or subscription fees separately. Repeat the calculation with your electricity bill, local fuel price and realistic consumption.

What belongs in the full budget?

Add purchase price, financing charges, insurance, maintenance, tyres, taxes and any charger installation, then subtract the expected resale value. Keep resale as an assumption rather than a guaranteed return. Compare two HaveKar listings with the same intended ownership period and annual distance. The linked DOE calculator offers another framework; replace its assumptions with values relevant to your market.

Sources

Sources checked: September 13, 2026

  • U.S. DOE AFDC — Vehicle Cost Calculator
Editorial policy
EnglishfrançaisالعربيةespañolDeutschitaliano

Related guides

Is an electric car right for you? Pros, cons and a reality checkElectric cars to compare in 2026: Renault 5 and Kia EV3Used car checklist: what to ask before you travel to see itElectric car market in 2026: three numbers, and what they meanBMW iX3 40 in 2026: what the Neue Klasse numbers meanElectric Mercedes-Benz CLA: range, charging and safety explainedThe safest cars Euro NCAP tested in 2025—and how to use the listEuro 7 explained: exhaust, brakes, tyres and battery durabilityGlobal EV outlook 2026: the numbers car buyers should knowBrowse cars