Petrol vs Diesel vs EV Cost Comparison Calculator

Vehicle & AutomobileInstant resultsFormula shown100% in your browser

Compare petrol, diesel and electric vehicle running costs using fuel price, electricity rate, vehicle mileage and EV energy consumption. Calculate cost per km, cost per 100 km, monthly cost, annual cost, yearly savings, lifetime savings and EV break-even distance.

Inputs

1

1 — Driving Distance

Enter the average distance driven every month.

Used for annual running-cost comparison.

2

2 — Petrol Vehicle

Use realistic real-world mileage rather than brochure mileage.

Automatically populated from the live fuel-price service when available.

3

3 — Diesel Vehicle

Use realistic real-world diesel mileage.

Automatically populated from the live fuel-price service when available.

4

4 — Electric Vehicle

Lower kWh/100 km means better EV efficiency.

Accounts for charging and conversion losses between grid electricity and stored battery energy.

Use your actual electricity tariff. For India this may depend on state, DISCOM, consumer category, slab and tariff order.

5

5 — Long-Term Comparison

Optional. Used to estimate simple running-cost break-even against petrol or diesel.

How to use this calculator: Petrol vs Diesel vs EV Cost Comparison Calculator

Compare petrol, diesel and electric vehicle running costs using fuel price, electricity rate, vehicle mileage and EV energy consumption. Calculate cost per km, cost per 100 km, monthly cost, annual cost, yearly savings, lifetime savings and EV break-even distance. The example below is calculated by this page's real engine from the displayed inputs.

  1. 1Enter the average kilometres you drive every month.
  2. 2Use your actual tank-to-tank mileage if possible. Real-world mileage is more useful than brochure mileage.
  3. 3The calculator can populate petrol price from the server-side daily fuel-price service based on the selected city.
  4. 4Enter the real-world diesel vehicle mileage in km/L.
  5. 5The diesel price can be populated automatically from the live fuel-price service.
  6. 6Enter the EV's electricity consumption in kWh/100 km.
  7. 7Use the actual electricity rate applicable to the charging location. Home electricity tariffs can vary by state, DISCOM, consumer category and consumption slab.
  8. 8Charging losses increase electricity drawn from the grid compared with energy stored in the battery.
  9. 9The calculator converts petrol, diesel and EV energy cost into ₹/km so all three vehicles can be compared directly.
  10. 10The calculator multiplies each cost per kilometre by your driving distance.
  11. 11Enter an ownership period to compare cumulative running costs over several years.
  12. 12If the EV has a higher purchase price, the optional purchase-price difference can be compared with its annual running-cost saving.

Input guide and example values

Use values from the same measurement basis and time period. Conditional fields appear only when the related option is selected.

InputExample valueWhy it matters
Monthly driving distance1250 km/monthEnter the average distance driven every month.
Annual driving distance15000 km/yearUsed for annual running-cost comparison.
Petrol vehicle mileage15 km/LUse realistic real-world mileage rather than brochure mileage.
Petrol price100 ₹/LAutomatically populated from the live fuel-price service when available.
Diesel vehicle mileage20 km/LUse realistic real-world diesel mileage.
Diesel price90 ₹/LAutomatically populated from the live fuel-price service when available.
EV electricity consumption18 kWh/100 kmLower kWh/100 km means better EV efficiency.
EV charging loss10 %Accounts for charging and conversion losses between grid electricity and stored battery energy.
Electricity charging rate8 ₹/kWhUse your actual electricity tariff. For India this may depend on state, DISCOM, consumer category, slab and tariff order.
Ownership period10 yearsMeasured or known ownership period used by the calculation engine.
EV additional purchase cost200000 ₹Optional. Used to estimate simple running-cost break-even against petrol or diesel.

Formula, derivation and worked example

This calculator compares the energy running cost of petrol, diesel and electric vehicles on the same distance basis. Petrol and diesel costs are calculated from real retail fuel price and real-world mileage. EV cost is calculated from electricity consumption, charging losses and electricity tariff. The results include cost per kilometre, cost per 100 km, monthly cost, annual cost, yearly savings and long-term running cost. An optional EV purchase-price difference can be used for a simple running-cost break-even estimate.

Petrol cost/km = Petrol price ÷ Petrol mileage
Diesel cost/km = Diesel price ÷ Diesel mileage
EV energy/km = EV kWh/100 km ÷ 100
EV grid energy/km = EV energy/km ÷ (1 − charging loss)
EV cost/km = EV grid energy/km × electricity rate
Monthly cost = Cost/km × monthly distance
Annual cost = Cost/km × annual distance
Annual saving = Higher annual cost − Lower annual cost
Lifetime running cost = Annual cost × ownership years
Simple EV break-even distance = EV additional purchase cost ÷ annual running-cost saving per km

Substitution steps

  1. 1. Petrol cost/km
    ₹100 ÷ 15 km/L
    = ₹6.67/km
  2. 2. Diesel cost/km
    ₹90 ÷ 20 km/L
    = ₹4.5/km
  3. 3. EV energy/km
    18 kWh/100 km ÷ 100
    = 0.18 kWh/km
  4. 4. EV grid energy/km
    0.18 ÷ 0.9
    = 0.2 kWh/km
  5. 5. EV cost/km
    0.2 × ₹8
    = ₹1.6/km
  6. 6. Annual petrol cost
    ₹6.67 × 15,000 km
    = ₹100,000
  7. 7. Annual diesel cost
    ₹4.5 × 15,000 km
    = ₹67,500
  8. 8. Annual EV cost
    ₹1.6 × 15,000 km
    = ₹24,000

Computed example results

EV cost per km
₹1.6/km
₹160 per 100 km
Diesel cost per km
₹4.5/km
₹450 per 100 km
Petrol cost per km
₹6.67/km
₹666.67 per 100 km
EV monthly cost
₹2,000/month
Diesel monthly cost
₹5,625/month
Petrol monthly cost
₹8,333/month
EV annual cost
₹24,000/year
Diesel annual cost
₹67,500/year
Petrol annual cost
₹100,000/year
Cheapest running option
EV
₹1.6/km
Highest running cost
Petrol
₹6.67/km
Petrol → EV annual saving
₹76,000
Diesel → EV annual saving
₹43,500
Petrol → Diesel annual difference
₹32,500
10-year EV running cost
₹240,000
10-year Diesel running cost
₹675,000
10-year Petrol running cost
₹1,000,000
EV break-even vs petrol
39,474 km
Simple purchase-price vs running-cost comparison
EV break-even vs diesel
68,966 km
Simple purchase-price vs running-cost comparison

Understanding the result

Read the main result together with supporting checks, assumptions, limits and intermediate values.

For a manual check, repeat the first equation, confirm the units and change one input at a time.

Assumptions and calculation scope

  • Monthly driving distance is assumed to be entered in km/month; converting from another unit before entry avoids changing the numerical meaning of the calculation.
  • Petrol vs Diesel vs EV Cost Comparison Calculator applies the displayed Petrol cost/km = Petrol price ÷ Petrol mileage relationship to the entered vehicle & automobile inputs. Factors that are not exposed as inputs or stated assumptions are outside this calculator's calculation scope.

Common mistakes when using Petrol vs Diesel vs EV Cost Comparison Calculator

  • Do not mix units for Monthly driving distance (km/month), Annual driving distance (km/year), Petrol vehicle mileage (km/L). A unit mismatch changes the input magnitude even when the typed number looks reasonable.
  • Do not replace the displayed Petrol cost/km = Petrol price ÷ Petrol mileage relationship with a different convention without also changing the underlying assumptions; compare like-for-like methods when checking the result.
  • Do not treat EV cost per km = ₹1.6/km from the worked example as a universal answer. It belongs to the displayed example inputs and must be recalculated for the actual case.

When the Petrol vs Diesel vs EV Cost Comparison Calculator is useful

Petrol vs Diesel vs EV Cost Comparison Calculator is designed for cases where Monthly driving distance, Annual driving distance, Petrol vehicle mileage, Petrol price are known and you need EV cost per km, Diesel cost per km, Petrol cost per km. The page keeps the live calculator, calculation method and worked example together so the result can be checked instead of treated as a black-box number.

Use the calculator for the scope described by its inputs and notes. The displayed method is Petrol cost/km = Petrol price ÷ Petrol mileage. If the real project or decision needs factors that are not represented here, treat the result as an estimate and add the missing checks separately.

Monthly driving distance and Annual driving distance: what changes the answer

The worked example uses Monthly driving distance = 1250 km/month, Annual driving distance = 15000 km/year, Petrol vehicle mileage = 15 km/L, Petrol price = 100 ₹/L. With those values, EV cost per km is ₹1.6/km. Changing an input should be interpreted according to that field's unit, range, option and hint rather than by the number alone.

For this calculator, the main input roles are: Monthly driving distance (km/month): Enter the average distance driven every month. Annual driving distance (km/year): Used for annual running-cost comparison. Petrol vehicle mileage (km/L): Use realistic real-world mileage rather than brochure mileage. Petrol price (₹/L): Automatically populated from the live fuel-price service when available.

How to sanity-check a Petrol vs Diesel vs EV Cost Comparison Calculator result

Start by confirming the entered values and units, then compare the substituted working with the displayed formula or calculation steps. Pay particular attention to EV cost per km, because it is the first worked-example output shown by the live engine.

Finally, compare the result with the assumptions, warnings and related calculators on this page. A nearby calculator can be useful as a cross-check when it measures the same workflow from a different input or output direction.

Next logical calculator

Continue with EV vs Petrol Emission Calculator

Useful next check because both tools use Annual driving distance and Petrol price, while EV vs Petrol Emission Calculator answers a different part of the same workflow.

Open EV vs Petrol Emission Calculator

Formula

  • Petrol cost/km = Petrol price ÷ Petrol mileage
  • Diesel cost/km = Diesel price ÷ Diesel mileage
  • EV energy/km = EV kWh/100 km ÷ 100
  • EV grid energy/km = EV energy/km ÷ (1 − charging loss)
  • EV cost/km = EV grid energy/km × electricity rate
  • Monthly cost = Cost/km × monthly distance
  • Annual cost = Cost/km × annual distance
  • Annual saving = Higher annual cost − Lower annual cost
  • Lifetime running cost = Annual cost × ownership years
  • Simple EV break-even distance = EV additional purchase cost ÷ annual running-cost saving per km

This calculator compares the energy running cost of petrol, diesel and electric vehicles on the same distance basis. Petrol and diesel costs are calculated from real retail fuel price and real-world mileage. EV cost is calculated from electricity consumption, charging losses and electricity tariff. The results include cost per kilometre, cost per 100 km, monthly cost, annual cost, yearly savings and long-term running cost. An optional EV purchase-price difference can be used for a simple running-cost break-even estimate.

Formulas explained

Petrol cost/km = Petrol price ÷ Petrol mileage

If petrol costs ₹100/L and the vehicle travels 15 km on one litre, the fuel cost is ₹100 ÷ 15 for every kilometre.

Petrol price
Retail petrol price per litre.
Petrol mileage
Real-world kilometres travelled per litre.

Diesel cost/km = Diesel price ÷ Diesel mileage

Diesel running cost depends on both the price per litre and how many kilometres the vehicle can travel per litre.

Diesel price
Retail diesel price per litre.
Diesel mileage
Real-world kilometres travelled per litre.

EV cost/km = (EV kWh/100 km ÷ 100 ÷ charging efficiency) × electricity rate

EV charging cost depends on the electricity consumed by the vehicle, charging losses and the price paid per kWh.

EV kWh/100 km
Electricity required to travel 100 km.
Charging efficiency
1 minus charging-loss fraction.
Electricity rate
Electricity cost per kWh.

Annual running cost = Cost/km × annual distance

Converting every vehicle to cost per kilometre makes a fair comparison possible even when their fuel economy is very different.

Cost/km
Running energy cost for one kilometre.
Annual distance
Kilometres driven per year.

Why cost per kilometre is important

Total yearly cost depends on how far you drive. Cost per kilometre lets you compare petrol, diesel and EV vehicles on the same basis.

Real fuel prices matter

Petrol and diesel retail prices vary by city and can change over time. The calculator is designed to use a live price source rather than a permanently hard-coded number.

EV electricity cost is different from petrol price

EV charging cost depends on electricity tariff and consumption in kWh. Home electricity tariffs can vary by state, DISCOM, slab and consumer category.

Charging losses increase EV running cost

The electricity drawn from the grid can be greater than the energy stored in the battery. Including charging losses gives a more realistic charging-cost estimate.

Mileage matters more than advertised efficiency

Traffic, air-conditioning, tyre pressure, driving style, vehicle load, terrain and speed can significantly change real-world fuel economy.

Purchase price is not running cost

A vehicle can be cheaper to operate but more expensive to purchase. The optional break-even calculation separates the initial purchase-price difference from energy running cost.

Electricity tariff may be slab-based

A single ₹/kWh number can be an oversimplification for household electricity. Actual billing can include slabs, fixed charges, taxes, subsidies and time-of-day tariffs.

Public charging can cost more

If an EV is mostly charged at public charging stations, use the actual effective public charging rate instead of a household electricity tariff.

Worked example

  1. 1Example scenario: 15,000 km/year, petrol mileage 15 km/L, diesel mileage 20 km/L, EV consumption 18 kWh/100 km, petrol ₹100/L, diesel ₹90/L, electricity ₹8/kWh and 10% charging losses.
  2. 2Petrol cost/km = ₹100 ÷ 15 = ₹6.67/km.
  3. 3Diesel cost/km = ₹90 ÷ 20 = ₹4.50/km.
  4. 4EV electricity from grid = 18 ÷ 0.90 = 20 kWh/100 km.
  5. 5EV cost/km = 20 ÷ 100 × ₹8 = ₹1.60/km.
  6. 6At 15,000 km/year: petrol ≈ ₹1,00,000/year.
  7. 7At 15,000 km/year: diesel ≈ ₹67,500/year.
  8. 8At 15,000 km/year: EV ≈ ₹24,000/year.
  9. 9Actual results change automatically when fuel or electricity prices change.

Tips

  • Use your actual petrol or diesel price for the city where you normally refuel.
  • Use tank-to-tank mileage rather than only manufacturer mileage.
  • For EVs, use real-world kWh/100 km whenever possible.
  • Include charging losses for a more realistic EV cost.
  • Compare all vehicles using the same annual kilometres.
  • Run separate calculations for city driving and highway driving.
  • If you use solar charging, calculate the effective electricity cost separately.
  • For long-term ownership, compare purchase price, running cost and maintenance rather than fuel cost alone.

Warnings

  • Live petrol and diesel prices depend on the data provider and location.
  • Electricity tariffs vary by state, DISCOM, consumer category, slab and tariff order.
  • Public charging prices can differ by charging network, connector, time and membership.
  • Running cost does not include insurance, maintenance, tyres, depreciation, financing or resale value unless separately added.
  • Break-even distance is a simple energy-cost calculation and is not a complete total-cost-of-ownership calculation.

Frequently asked questions

Which is cheaper to run: petrol, diesel or EV?

The EV will often have the lowest energy running cost when electricity is reasonably priced, but the exact result depends on fuel price, mileage, EV efficiency, charging losses and electricity tariff.

How do I calculate petrol cost per km?

Divide petrol price per litre by real-world kilometres per litre. For example, ₹100/L and 15 km/L gives ₹6.67/km.

How do I calculate diesel cost per km?

Divide diesel price per litre by diesel vehicle mileage in km/L.

How do I calculate EV cost per km?

Convert EV consumption from kWh/100 km to kWh/km, account for charging losses and multiply by electricity price per kWh.

Does the calculator use today's petrol price?

When the live fuel-price service is configured, petrol and diesel prices are fetched server-side and the calculator displays the price date and last-updated timestamp.

Can petrol and diesel prices update automatically every day?

Yes. The calculator can fetch city-specific fuel prices from a live fuel-price API and cache them server-side. The page can refresh the displayed price without requiring a code deployment.

Does electricity price change every day?

Usually not in the same way as petrol and diesel. Electricity tariffs are generally determined through tariff orders, slabs and consumer categories. Some tariffs can vary by time of day, while public charging prices can vary by provider.

Is EV charging cheaper than petrol?

It depends on EV efficiency, charging tariff and petrol price. This calculator converts both to cost per kilometre so you can compare your actual situation.

Related calculators

Keep going with more vehicle & automobile tools.

Related Engineering Articles

Deeper reading on the engineering behind this calculation.

Engineering disclaimer

Running-cost estimates are indicative. Actual fuel and electricity prices, mileage, charging losses, taxes, tariffs and vehicle efficiency vary by location and usage. Live fuel prices depend on the configured data provider. Electricity tariffs may include slabs, fixed charges, subsidies, taxes and time-of-day pricing. This calculator is not a quotation or guarantee of actual vehicle operating cost.