Fuel Cost Calculator

Calculate fuel costs for any trip. Enter distance, fuel efficiency, and gas price to estimate travel expenses, cost per mile, and monthly fuel budget.

miles
mpg
$/gal
Total Trip Cost
$14.00
100 miles
Gasoline

Trip Breakdown

Per-trip metrics and recurring cost projections

Fuel Needed
4.00gal
Cost / Mile
$0.14
Trips per month
Monthly
$112.00
112 · 8 trips
Annual
$1,344.00
1.3K · 96 trips

Cost Comparison by Vehicle Type

Same trip, different vehicles (using average defaults)

VehicleTrip Cost
Gasoline
Your inputs
$14
Diesel
30 mpg @ 3.8/gal
$12.67
Electric (EV)
30 kWh/100mi @ 0.14/kWh
$4.2
Hybrid
50 mpg + 30 kWh, 50/50
$5.6
CNG
15 mi/kg @ 2.5/kg
$16.67

What is a Fuel Cost Calculator?

Plan your travel budget with accuracy

A fuel cost calculator estimates how much you will spend on fuel or energy for a trip based on the distance, your vehicle's efficiency, and current fuel or electricity prices. It supports gasoline, diesel, electric (EV), hybrid, and CNG vehicles, making it useful for any driver regardless of what they drive.

Whether you are planning a daily commute, a cross-country road trip, or comparing the running costs of an EV versus a gasoline car, this calculator gives you a quick and reliable estimate. It also helps you understand your cost per mile (or cost per kilometer) and compare costs across different vehicle types.

How to Calculate Fuel Cost

Formulas for different vehicle types

Gasoline / Diesel
Fuel Cost = (Distance ÷ Fuel Efficiency) × Price per Unit

Inputs

  • Distance: 300 miles
  • Efficiency: 25 mpg
  • Gas price: $3.50/gal

Result

12 gal × $3.50

$42.00

Electric Vehicle (EV)
Energy Cost = (Distance ÷ 100) × kWh/100mi × Price/kWh

Inputs

  • Distance: 300 miles
  • Consumption: 30 kWh/100mi
  • Electricity: $0.14/kWh

Result

90 kWh × $0.14

$12.60

Hybrid

Splits the trip by your electric drive percentage. Each portion is calculated separately and added together.

Gas portion+Electric portion
CNG
Cost = (Dist ÷ km/kg) × Price/kg

Efficiency measured in distance per kilogram of compressed natural gas.

EV vs Gas: Understanding the Cost Difference

Why electric vehicles cost less per mile to run

Electric

$4.20

per 100 miles

30 kWh/100mi @ $0.14/kWh

Gasoline

$14.00

per 100 miles

25 mpg @ $3.50/gal

EVs cost roughly 3x less per mile than gasoline cars. The key metric is kWh per 100 miles — lower is better. Efficient models achieve 25 kWh/100mi, while larger EVs may use 40+.

Home charging is cheapest (especially off-peak). Public DC fast charging at $0.30–$0.60/kWh narrows the gap with gasoline. Use the vehicle comparison chart above for your exact trip.

Tips to Reduce Fuel Costs

Practical ways to save money on fuel

Proper tire pressure

Under-inflated tires increase rolling resistance and reduce efficiency by 3–5%.

3–5% savings
Moderate speeds

Above 50 mph, each extra 5 mph costs roughly 7% more fuel. Most vehicles peak around 45–55 mph.

Up to 25% savings
Smooth driving

Avoid rapid acceleration and hard braking — saves 15–30% on highways.

15–30% savings
Reduce AC usage

AC puts extra load on the engine. At lower speeds, open windows instead.

5–10% savings
Remove excess weight

Every extra 100 lbs (45 kg) reduces fuel efficiency by about 1%.

~1% per 100 lbs
Plan your route

Use GPS for the shortest route. Avoid congestion and peak traffic hours.

Time + fuel
Regular maintenance

Oil changes, air filters, and spark plug checks keep your engine efficient.

Preventive
Use cruise control

On highways, cruise control maintains constant speed and reduces fuel waste.

Highway tip

Understanding Fuel Efficiency Units

mpg vs km/L vs L/100km vs kWh/100mi explained

Fuel efficiency is measured differently around the world and across vehicle types. Understanding these units helps you compare vehicles and calculate costs accurately:

UnitUsed In / ForHigher = Better?Example
mpgUS, UK (gas/diesel)Yes25 mpg
km/LIndia, Japan, AsiaYes15 km/L
L/100kmEurope, AustraliaNo (lower is better)6.5 L/100km
kWh/100miEVs (US)No (lower is better)30 kWh/100mi
kWh/100kmEVs (metric)No (lower is better)18 kWh/100km
km/kgCNG vehiclesYes24 km/kg

Quick conversions:

1 mpg ≈ 0.425 km/L  •  1 km/L ≈ 2.352 mpg

To convert L/100km to km/L: divide 100 by the L/100km value.

Fuel Cost Calculator FAQ

Common questions about calculating fuel costs