What Is the Trip Fuel Cost Calculator?
The Trip Fuel Cost Calculator estimates how much you'll spend on gas (or any fuel) for a journey. By combining your trip distance, your vehicle's fuel economy, and the current fuel price, it tells you both the total cost and the amount of fuel you'll burn. It's perfect for budgeting a road trip, splitting costs with passengers, or comparing routes and vehicles.
How to Use It
Enter three values: the trip distance (in miles), your vehicle's fuel economy (miles per gallon), and the fuel price per gallon. The calculator divides distance by economy to find how many gallons you need, then multiplies by the price to get your total cost. Use consistent units — if you work in kilometres, litres and L/100km you can adapt the same logic, but this tool is set up for miles, MPG and price per gallon.
The Formula Explained
The math is simple: $$\text{Cost} = \frac{\text{Distance}}{\text{Fuel Economy}} \times \text{Fuel Price}$$ The first part, distance divided by miles-per-gallon, yields the number of gallons consumed. Multiplying that figure by the price per gallon gives the dollar (or local currency) cost. A higher MPG lowers your fuel use and cost, while longer distances and higher prices raise it.
Worked Example
Suppose you drive 300 miles in a car that gets 30 MPG, and gas costs $3.50 per gallon. First, \(300 \div 30 = 10\) gallons of fuel needed. Then $$10 \times \$3.50 = \$35.00$$ total fuel cost for the trip.
Trip Cost Comparison: Vehicle Types and Fuel Prices
The table below uses a fixed 300-mile trip. Gallons needed = distance ÷ MPG, and total cost = gallons × price per gallon. Prices are in US dollars per US gallon, and MPG is US miles per gallon.
| Fuel economy (MPG) | Gallons needed | Cost at $3.00/gal | Cost at $4.00/gal |
|---|---|---|---|
| 20 | 15.0 | $45.00 | $60.00 |
| 25 | 12.0 | $36.00 | $48.00 |
| 30 | 10.0 | $30.00 | $40.00 |
| 40 | 7.5 | $22.50 | $30.00 |
| 50 | 6.0 | $18.00 | $24.00 |
Example substitution (25 MPG, $3.00/gal): \(\frac{300}{25} = 12\) gallons, and \(12 \times 3.00 = 36.00\) dollars. Going from 20 MPG to 40 MPG halves the fuel bill, while a $1.00 rise in fuel price adds the same number of gallons in extra dollars (for example, 12 extra dollars at 25 MPG).
Fuel Economy Conversions: MPG, km/L and L/100km
Fuel economy is expressed differently around the world. The US uses miles per US gallon (MPG), while many other countries use km/L or litres per 100 km (L/100km). These conversion factors are exact or standard definitions:
- 1 mile = 1.609344 km
- 1 US gallon = 3.785411784 L
- km/L = MPG × 1.609344 ÷ 3.785411784 ≈ MPG × 0.425144
- L/100km = 235.215 ÷ MPG (US)
| MPG (US) | km/L | L/100km |
|---|---|---|
| 20 | 8.50 | 11.76 |
| 25 | 10.63 | 9.41 |
| 30 | 12.75 | 7.84 |
| 40 | 17.01 | 5.88 |
| 50 | 21.26 | 4.70 |
Example: \(\frac{235.215}{30} \approx 7.84\) L/100km.
Note: US and imperial gallons differ. 1 imperial gallon = 4.54609 L, versus 3.785411784 L for a US gallon. An MPG figure quoted in the UK is therefore about 20% higher than the same car's US MPG. This calculator assumes miles and US gallons, so convert imperial MPG figures before entering them.
Tips for Budgeting and Reducing Trip Fuel Costs
- Add a buffer of about 10%. Traffic, detours and variable mileage usually push real fuel use above the estimate. For example, a $36.00 estimate becomes \(36.00 \times 1.10 = 39.60\) dollars.
- Use real-world or highway MPG, not the sticker rating. Your own recent fill-up average is usually more accurate than the official figure, and highway MPG fits long road trips better than a combined rating.
- Double the distance for a round trip. A 300-mile trip each way is 600 miles. At 25 MPG and $3.00/gal, that costs \(\frac{600}{25} \times 3.00 = \) $72.00.
- Split the cost across passengers. With four people sharing the $72.00 above, each person pays \(72.00 \div 4 = 18.00\) dollars.
- Keep tires properly inflated to the pressure on the vehicle's door placard, since under-inflated tires increase rolling resistance.
- Avoid excessive speed and hard acceleration. Fuel use per mile generally rises noticeably at higher highway speeds.
- Reduce extra load. Remove unneeded cargo and roof boxes or racks, which add weight and aerodynamic drag.
- Compare fuel prices along the route. Prices can vary between regions and between highway and non-highway stations, so check current local prices before filling up.
This is general information for trip planning, not professional advice. Actual fuel use depends on your vehicle, load, terrain, weather and driving style.
Fuel prices this week: United States
Average retail prices of regular gasoline and diesel across the United States, week of 2026-11-09, taxes included, as published by the U.S. Energy Information Administration. Use them as the fuel price in the calculator above.
- Regular gasoline (2026-11-09)
- $3.995/gal +30.7% since 2025-11-10
- Diesel (2026-11-09)
- $6.127/gal +59.7% since 2025-11-10
World crude oil prices, October 2026
World market prices of crude oil in U.S. dollars per barrel, monthly averages from the World Bank. These are commodity prices, not pump prices: the price at the pump also includes refining, distribution and taxes, and it differs from country to country.
- Crude oil, average of Brent, Dubai and WTI (2026-10)
- $108.50/bbl +72.2% since 2025-10
- Brent (2026-10)
- $125.00/bbl +93.2% since 2025-10
- WTI (2026-10)
- $97.70/bbl +62.3% since 2025-10
- Dubai (2026-10)
- $102.70/bbl +59.7% since 2025-10
Pump prices in the EU, week of 2026-11-09
Pump prices of petrol (Euro-super 95) and diesel by EU country, week of 2026-11-09, taxes included. Use them as the fuel price in the calculator above.
- EU average (petrol)
- 1.877 €/L
| Country | Petrol 95 (€/L) | Diesel (€/L) |
|---|---|---|
| Denmark | 2.391 | 2.435 |
| Netherlands | 2.196 | 2.361 |
| Finland | 2.144 | 2.485 |
| France | 2.088 | 2.178 |
| Germany | 2.067 | 2.253 |
| Greece | 2.042 | 2.099 |
| Italy | 1.995 | 2.218 |
| Ireland | 1.958 | 2.119 |
| Portugal | 1.922 | 2.135 |
| Latvia | 1.846 | 2.083 |
| Romania | 1.844 | 2.033 |
| Belgium | 1.844 | 2.357 |
| Lithuania | 1.843 | 2.225 |
| Estonia | 1.805 | 2.084 |
| Croatia | 1.749 | 2.025 |
| Spain | 1.730 | 1.898 |
| Cyprus | 1.699 | 2.000 |
| Slovakia | 1.691 | 1.965 |
| Hungary | 1.673 | 1.985 |
| Austria | 1.670 | 2.087 |
| Czechia | 1.653 | 1.899 |
| Slovenia | 1.634 | 1.950 |
| Luxembourg | 1.627 | 1.987 |
| Bulgaria | 1.582 | 1.896 |
| Sweden | 1.437 | 1.954 |
| Poland | 1.384 | 1.753 |
| Malta | 1.340 | 1.210 |
Latest figure: 2026-11-09 Data last updated 2026-11-11 · current
Source: U.S. Energy Information Administration (EIA), Gasoline and Diesel Fuel Update Public domain (U.S. government work); World Bank, Commodity Markets (Pink Sheet), modified CC BY 4.0; © European Union, Weekly Oil Bulletin (European Commission) CC BY 4.0
Prices per litre are converted by CalculatorLib from the bulletin's prices per 1,000 litres. Changes over one year are computed by CalculatorLib.
Source details and methodology
- U.S. Energy Information Administration (EIA), Gasoline and Diesel Fuel Update — Weekly retail gasoline and diesel prices
- World Bank, Commodity Markets (Pink Sheet), modified — Commodity Markets (Pink Sheet), monthly prices
- © European Union, Weekly Oil Bulletin (European Commission)
FAQ
Does this include tolls or wear-and-tear? No — it estimates fuel cost only. Add tolls, parking and maintenance separately for a full trip budget.
Can I use it for kilometres and litres? Yes, as long as your fuel economy and price use matching units (e.g. km, km/L and price per litre).
Why is my real cost different? Actual mileage varies with terrain, driving speed, traffic, load and weather, so treat the result as a solid estimate rather than an exact figure.