Skip to main content

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.

Skip to calculator
Automotive

Fuel Cost Calculator

Calculate fuel costs for any trip. Enter distance, MPG or L/100km, and gas price to find exact fuel cost. Supports both imperial and metric units.

Last updated: December 2025

Calculator

Adjust values & calculate
Understand the Math

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.

Last reviewed: December 2025

Worked Examples

Example 1: 300-mile road trip at 28 MPG

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
Expert Insights

Background & Theory

The Fuel Cost Calculator is grounded in the established principles and formulas described below. Transportation calculations center on the fundamental relationship between distance, speed, and time expressed as d = s × t. This triangle of variables allows any one quantity to be derived when the other two are known, supporting applications ranging from estimating arrival times to calculating required average speed for a journey. Real-world calculations must account for stops, speed variations, traffic delays, and speed limits, making simple division an approximation that practical tools refine with additional parameters. Fuel consumption is expressed differently in different regions. North American convention uses miles per gallon (MPG), a larger number indicating better efficiency. Most other countries use liters per 100 kilometers (L/100km), where a smaller number indicates better efficiency. The conversion between them is not a simple linear scaling but an inversion relationship: MPG = 235.21 / (L/100km). For aviation and long-distance navigation, straight-line map distances underestimate the actual path because the Earth is a sphere. The Haversine formula calculates great-circle distance — the shortest path across the Earth's surface between two points defined by latitude and longitude — accounting for spherical geometry. Flight times further depend on prevailing winds, particularly the jet stream, which can reduce eastward transatlantic crossing times by an hour or more compared to westbound flights. Carbon emissions vary substantially by transport mode. IPCC and comparable figures express emissions in grams of CO2 equivalent per passenger-kilometer. Short-haul flights produce roughly 255 g/pkm, private car travel averages around 170 g/pkm, long-distance rail averages about 41 g/pkm, and bus travel approximately 89 g/pkm. Electric vehicles shift emissions upstream to electricity generation, so their net footprint depends on the carbon intensity of the local grid. Electric vehicle range calculations depend on battery capacity in kilowatt-hours, consumption expressed as kWh/100km, and factors including temperature, speed, and auxiliary loads. Vehicle depreciation calculations use either straight-line methods, which allocate equal cost per year, or declining-balance methods, which front-load depreciation to reflect the faster early loss of market value typical of most vehicles.

History

The Fuel Cost Calculator builds on a long history of ideas and practice, traced below. The history of transportation is inseparable from the history of human civilization. The invention of the wheel around 3500 BCE in Mesopotamia transformed overland transport, enabling carts and chariots that multiplied the load a person or animal could move. Roman engineers built over 80,000 kilometers of paved road radiating from Rome, integrating an empire that stretched from Scotland to Mesopotamia. These roads used standardized construction methods and milestones, creating the first large-scale infrastructure for consistent travel time estimation. For millennia, transportation speed was bounded by the pace of animals and the wind. The steam locomotive shattered this ceiling. Richard Trevithick's first steam-powered rail vehicle ran in 1804, and by the 1830s commercial railways were operating in Britain. The transcontinental railroad completed across the United States in 1869 reduced the coast-to-coast journey from months by wagon to under two weeks, transforming the economic geography of a continent. Karl Benz received a patent for the Benz Patent-Motorwagen in 1886, widely recognized as the first true gasoline-powered automobile. Within two decades the internal combustion engine had begun displacing the horse in cities. The United States Interstate Highway System, authorized by the Federal Aid Highway Act of 1956 and inspired partly by the German Autobahn, constructed 77,000 kilometers of controlled-access highway and reshaped American land use, commuting patterns, and the trucking industry. Orville and Wilbur Wright achieved powered heavier-than-air flight at Kitty Hawk in December 1903, a twelve-second flight of 37 meters. Within fifty years commercial jet aviation had made intercontinental travel routine. The Boeing 707 entered service in 1958, and by the 21st century over four billion passengers per year were traveling by air. The NAVSTAR GPS constellation, fully operational by 1995 and opened to civilian use, transformed navigation from a specialized skill to a universal utility. Smartphone-based navigation apps emerged after 2007, integrating real-time traffic data to optimize routes dynamically. The 21st century has seen the rise of electric vehicles and the early development of autonomous driving systems, promising further transformation in how transportation time and cost calculations are made.

Key Features

  • Estimate total fuel cost for any road trip by entering distance, vehicle fuel efficiency, and current fuel price, with support for both imperial and metric units.
  • Compare two tire sizes side by side to calculate the difference in overall diameter, section width, and sidewall height, and determine the speedometer correction factor when changing tire sizes.
  • Convert engine power output between horsepower and kilowatts, and convert torque between pound-feet and Newton-metres, for accurate cross-market vehicle specification comparisons.
  • Calculate braking stopping distance at any speed for dry, wet, or icy road conditions using standard deceleration rates, helping drivers understand safe following distances.
  • Project vehicle depreciation over any ownership period using declining-balance or straight-line methods, and estimate the residual trade-in or resale value at a future date.
  • Run a total-cost-of-ownership break-even analysis comparing an electric vehicle against a petrol equivalent, factoring in purchase price difference, fuel savings, and charging costs over time.
  • Calculate engine RPM at a given road speed for any gear ratio, final drive ratio, and tyre circumference, useful for evaluating gearing changes or custom differential setups.
  • Verify towing capacity against trailer weight and calculate tongue load, payload distribution across axles, and whether the combined gross vehicle weight rating is within legal limits.
Explore More

Frequently Asked Questions

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.
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%.
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.
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.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings. © 2024–2026 NovaCalculator.

Reviewed 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

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.

Fuel Cost Calculator — Background & Theory

The Fuel Cost Calculator is grounded in the established principles and formulas described below. Transportation calculations center on the fundamental relationship between distance, speed, and time expressed as d = s × t. This triangle of variables allows any one quantity to be derived when the other two are known, supporting applications ranging from estimating arrival times to calculating required average speed for a journey. Real-world calculations must account for stops, speed variations, traffic delays, and speed limits, making simple division an approximation that practical tools refine with additional parameters. Fuel consumption is expressed differently in different regions. North American convention uses miles per gallon (MPG), a larger number indicating better efficiency. Most other countries use liters per 100 kilometers (L/100km), where a smaller number indicates better efficiency. The conversion between them is not a simple linear scaling but an inversion relationship: MPG = 235.21 / (L/100km). For aviation and long-distance navigation, straight-line map distances underestimate the actual path because the Earth is a sphere. The Haversine formula calculates great-circle distance — the shortest path across the Earth's surface between two points defined by latitude and longitude — accounting for spherical geometry. Flight times further depend on prevailing winds, particularly the jet stream, which can reduce eastward transatlantic crossing times by an hour or more compared to westbound flights. Carbon emissions vary substantially by transport mode. IPCC and comparable figures express emissions in grams of CO2 equivalent per passenger-kilometer. Short-haul flights produce roughly 255 g/pkm, private car travel averages around 170 g/pkm, long-distance rail averages about 41 g/pkm, and bus travel approximately 89 g/pkm. Electric vehicles shift emissions upstream to electricity generation, so their net footprint depends on the carbon intensity of the local grid. Electric vehicle range calculations depend on battery capacity in kilowatt-hours, consumption expressed as kWh/100km, and factors including temperature, speed, and auxiliary loads. Vehicle depreciation calculations use either straight-line methods, which allocate equal cost per year, or declining-balance methods, which front-load depreciation to reflect the faster early loss of market value typical of most vehicles.

History of the Fuel Cost Calculator

The Fuel Cost Calculator builds on a long history of ideas and practice, traced below. The history of transportation is inseparable from the history of human civilization. The invention of the wheel around 3500 BCE in Mesopotamia transformed overland transport, enabling carts and chariots that multiplied the load a person or animal could move. Roman engineers built over 80,000 kilometers of paved road radiating from Rome, integrating an empire that stretched from Scotland to Mesopotamia. These roads used standardized construction methods and milestones, creating the first large-scale infrastructure for consistent travel time estimation. For millennia, transportation speed was bounded by the pace of animals and the wind. The steam locomotive shattered this ceiling. Richard Trevithick's first steam-powered rail vehicle ran in 1804, and by the 1830s commercial railways were operating in Britain. The transcontinental railroad completed across the United States in 1869 reduced the coast-to-coast journey from months by wagon to under two weeks, transforming the economic geography of a continent. Karl Benz received a patent for the Benz Patent-Motorwagen in 1886, widely recognized as the first true gasoline-powered automobile. Within two decades the internal combustion engine had begun displacing the horse in cities. The United States Interstate Highway System, authorized by the Federal Aid Highway Act of 1956 and inspired partly by the German Autobahn, constructed 77,000 kilometers of controlled-access highway and reshaped American land use, commuting patterns, and the trucking industry. Orville and Wilbur Wright achieved powered heavier-than-air flight at Kitty Hawk in December 1903, a twelve-second flight of 37 meters. Within fifty years commercial jet aviation had made intercontinental travel routine. The Boeing 707 entered service in 1958, and by the 21st century over four billion passengers per year were traveling by air. The NAVSTAR GPS constellation, fully operational by 1995 and opened to civilian use, transformed navigation from a specialized skill to a universal utility. Smartphone-based navigation apps emerged after 2007, integrating real-time traffic data to optimize routes dynamically. The 21st century has seen the rise of electric vehicles and the early development of autonomous driving systems, promising further transformation in how transportation time and cost calculations are made.