Fuel Cost Calculator
Estimate Fuel Cost by entering distance, fuel efficiency, and price per litre or gallon. See total fuel cost and CO₂ emissions for any journey.
Fuel Cost Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: Cost = (Distance / MPG) × Price per Gallon
Worked example — $37.50 total fuel cost
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer · Editorial policy
Fuel Cost Calculator Formula
Cost = (Distance / MPG) × Price per Gallon
Divide distance by fuel efficiency to get gallons consumed, then multiply by the price per gallon. For L/100km: gallons = distance × L/100km ÷ 100 ÷ 3.785.
Fuel Cost Calculator — Worked Examples
Example 1: 300-mile road trip at 28 MPG
Problem:Distance: 300 miles, Fuel efficiency: 28 MPG, Gas price: $3.50/gallon
Solution:Gallons used = 300 ÷ 28 = 10.71 gallons. Cost = 10.71 × $3.50
Result:$37.50 total fuel cost
Example 2: European trip in L/100km
Problem:Distance: 450 km, Fuel efficiency: 6.5 L/100km, Fuel price: €1.75/liter
Solution:Litres used = 450 × 6.5 ÷ 100 = 29.25 L. Cost = 29.25 × €1.75
Result:€51.19 total fuel cost
Fuel Cost Calculator — Frequently Asked Questions
How do you calculate fuel cost per mile?
Fuel cost per mile = Fuel price per gallon ÷ MPG. For example, at $3.50/gallon with 28 MPG: $3.50 ÷ 28 = $0.125 per mile. For a complete trip cost, multiply by total miles: 300 miles × $0.125 = $37.50. In metric, cost per km = (Fuel price per liter × L/100km) ÷ 100.
What is considered good fuel economy?
For modern vehicles: compact cars achieve 32-40+ MPG combined, midsize sedans 28-35 MPG, crossover SUVs 25-32 MPG, full-size trucks 18-24 MPG, and large SUVs 16-22 MPG. Hybrid vehicles typically achieve 45-58 MPG. The EPA considers anything above 30 MPG combined to be good fuel economy for a non-hybrid vehicle. Fuel economy also depends heavily on driving style — aggressive acceleration and high speeds can reduce efficiency by 20-40%.
How does speed affect fuel consumption?
Fuel consumption increases significantly at higher speeds due to aerodynamic drag, which grows exponentially. Most vehicles achieve peak fuel efficiency between 45-60 mph. Driving at 70 mph instead of 55 mph can reduce fuel economy by 15-20%. At 80 mph, efficiency drops 25-30% compared to 55 mph. City driving with frequent stops and starts is typically 20-30% less fuel-efficient than steady highway driving. Using cruise control on highways helps maintain optimal speed and saves 7-14% on fuel.
How does diesel compare to gasoline cost?
Diesel engines are typically 25-35% more fuel-efficient than equivalent gasoline engines due to higher energy density and better thermal efficiency. However, diesel fuel often costs $0.20-0.80 more per gallon than regular gasoline. The cost advantage depends on the price difference and your vehicle's efficiency gain. Diesel is generally more economical for high-mileage drivers and long highway trips. Diesel engines also last longer on average, lowering lifetime ownership costs.
How do electric vehicles compare in running costs?
Electric vehicles (EVs) cost roughly 3-5 times less per mile to fuel than gasoline cars. At the US average of $0.16/kWh and an EV efficiency of 3.5 miles/kWh, the energy cost is about $0.046/mile. At $3.50/gallon and 28 MPG, a gasoline car costs $0.125/mile — nearly 3x more. Over 15,000 miles per year, this saves approximately $1,185 annually. Home charging is cheapest; DC fast chargers can cost 2-3x more per kWh but are still usually cheaper than gasoline.
How can I estimate my monthly electricity costs?
Find each appliance's wattage, multiply by hours used per day, divide by 1,000 to get kilowatt-hours, then multiply by your rate (US average is about $0.16/kWh). Major consumers are HVAC (40-50%), water heaters (14%), and appliances (13%). Smart thermostats can cut heating/cooling costs 10-15%.
How do I calculate fuel costs for a road trip?
Divide total trip distance by your car's MPG to get gallons needed, then multiply by the price per gallon. Example: 500 miles at 25 MPG = 20 gallons x $3.50 = $70 in fuel. Use GasBuddy to find prices along your route and add 10% for city driving and detours.
Fuel Cost Calculator — Background & Theory
History of the Fuel Cost Calculator
References
Related Calculators
🚛Fleet Fuel & Maintenance
Calculate fleet fuel efficiency and total ownership cost
🗺️Road Trip Fuel Estimator
Estimate fuel time and cost for delivery routes
🚗Gas Mileage
Calculate your car's fuel efficiency
⛽Fuel Consumption Converter
Convert between MPG, L/100km, and km/L
🅿️Parking & Commute Cost
Calculate true cost of commuting including parking
🚗Auto Loan Calculator
Calculate car loan payments and interest
🏎️Engine Horsepower
Calculate engine horsepower
🛞Tire Size Calculator
Compare and convert tire sizes