Fuel Cost Calculator
- Fuel used per trip = distance ÷ economy = 300 miles ÷ 30.0 mpg = 10.000 gallons.
- Across 1 trip: 10.00 gallons of fuel.
- Cost = 10.00 gallons × $3.50 = $35.00, which is $0.12 per mile.
A fuel cost calculator tells you how much a trip will cost in fuel before you set out. Enter your distance, your vehicle's fuel economy, and the price you pay per unit of fuel, and it returns the fuel used and the total cost. In US units, fuel used equals distance divided by mpg, and cost equals fuel used multiplied by price per gallon. In metric units, fuel used equals distance multiplied by L/100 km divided by 100, and cost equals fuel used multiplied by price per litre. For example, 300 miles at 30 mpg uses exactly 10 gallons, costing $35.00 at $3.50 per gallon. A 500 km trip at 7 L/100 km uses 35 litres, costing $56.00 at $1.60 per litre. A longer trip of 850 miles at 42 mpg uses 20.24 gallons, costing $64.76 at $3.20 per gallon. In the first example, the fuel-only cost per mile is $35.00 divided by 300, or about 11.7 cents, though total ownership cost per mile is several times higher once depreciation, insurance and maintenance are counted.
The method above is the accepted standard because it links distance, fuel economy and fuel price directly, the three variables that determine fuel spending. Real-world fuel economy usually trails the official rating: cold starts, short trips, speed above about 65 mph, roof loads and under-inflated tyres all raise consumption, so you should adjust your input accordingly. This page shows the formula, step-by-step workings, worked examples and sources so you can verify every result yourself.
Worked examples
A 300-mile road trip
At 30 mpg the car drinks exactly 10 gallons: $35.00 of fuel. (US — miles, mpg, $ per gallon · 300 mi or km · 30 · 3.5 $ · 1 trips)
| Total fuel cost | $35.00 |
| Fuel used | 10.00 gallons |
| Cost per trip | $35.00 |
| Cost per mile | $0.12 |
500 km in a metric car
7 L/100 km over 500 km is 35 litres — $56.00 at $1.60 a litre. (Metric — km, L/100 km, $ per litre · 500 mi or km · 7 · 1.6 $ · 1 trips)
| Total fuel cost | $56.00 |
| Fuel used | 35.00 litres |
| Cost per trip | $56.00 |
| Cost per km | $0.11 |
850 miles in an efficient car
42 mpg keeps an 850-mile trip to 20.24 gallons and $64.76. (US — miles, mpg, $ per gallon · 850 mi or km · 42 · 3.2 $ · 1 trips)
| Total fuel cost | $64.76 |
| Fuel used | 20.24 gallons |
| Cost per trip | $64.76 |
| Cost per mile | $0.08 |
The trip-cost formula
A fuel cost calculator relies on two simple equations, one for each unit system. In US units, fuel used equals distance divided by mpg, and cost equals fuel used multiplied by price per gallon. In metric units, fuel used equals distance multiplied by L/100 km and then divided by 100, and cost equals fuel used multiplied by price per litre. The equations themselves are straightforward, but the numbers that feed into them deserve attention because real-world fuel economy usually trails the official rating.
Two verified examples show the formula at work side by side. A 300-mile trip at 30 mpg uses exactly 10 gallons, costing $35.00 at $3.50 per gallon. The same calculation in metric units works like this: a 500 km trip at 7 L/100 km uses 35 litres, costing $56.00 at $1.60 per litre. A longer drive tells a similar story: 850 miles at 42 mpg uses 20.24 gallons, costing $64.76 at $3.20 per gallon. In each case the calculator simply divides distance by economy to find the fuel used, then multiplies by the pump price.
The first example also reveals how quickly fuel adds up per mile. Take the $35.00 spent on that 300-mile trip and divide by 300: the fuel-only cost per mile comes to about 11.7 cents. That figure covers gasoline alone. Total ownership cost per mile is several times higher once depreciation, insurance and maintenance are counted, so a fuel cost calculator gives only one slice of the full expense of driving.
Several everyday factors push real consumption above the rating printed on the window sticker. Cold starts and short trips keep the engine from reaching efficient operating temperature. Speed above about 65 mph increases aerodynamic drag sharply. Roof loads disrupt airflow and add weight, while under-inflated tyres raise rolling resistance. Each of these can nudge consumption upward, so drivers should expect the calculator's economy input to reflect their own driving conditions rather than the official number.
Cost per mile: the number that compares cars
Cost per mile is the single most useful number for comparing vehicles and planning a fuel budget. While miles per gallon (mpg) tells you how efficient a car is, it does not tell you what that efficiency costs you on any given trip. A fuel cost calculator converts mpg into dollars and cents, giving you a figure you can apply directly to your weekly commute, a road trip, or a side-by-side comparison of two cars you might buy.
The math is straightforward. In US units, fuel used equals distance divided by mpg, and cost equals fuel used multiplied by the price per gallon. Take a verified example: 300 miles at 30 mpg uses exactly 10 gallons, which costs $35.00 at $3.50 per gallon. Divide the cost by the distance and you get a fuel-only cost per mile of $35.00 / 300, or about 11.7 cents. Now compare that with a more efficient car: 850 miles at 42 mpg uses 20.24 gallons, costing $64.76 at $3.20 per gallon. That works out to about 7.6 cents a mile. Over a year of driving, the gap between 11.7 cents and 7.6 cents adds up fast, and because it is expressed in money rather than mpg, it is easy to drop straight into a household budget.
The metric version follows the same logic. Fuel used equals distance multiplied by L/100 km divided by 100, and cost equals fuel used multiplied by the price per litre. A verified example: 500 km at 7 L/100 km uses 35 litres, costing $56.00 at $1.60 per litre. That is 11.2 cents per kilometre, again a number you can compare directly against any other vehicle or route.
Cost per mile beats mpg for budgeting because mpg is a non-linear scale where small improvements at the low end save more fuel than large improvements at the high end. Cost per mile sidesteps that confusion entirely. It also gives you a baseline for total ownership costs, which are several times higher once depreciation, insurance and maintenance are counted. Keep in mind that real-world fuel economy usually trails the official rating. Cold starts, short trips, speed above about 65 mph, roof loads and under-inflated tyres all raise consumption, so your actual cost per mile may be higher than the calculator suggests.
Why your real economy is worse than the sticker
Real-world fuel economy usually trails the official rating printed on a car's window sticker. The number you see in a showroom comes from controlled lab testing, but the road throws variables at your engine that no lab can fully capture. A fuel cost calculator helps you see the gap, but only if you understand what drives it.
Cold starts and short trips are among the biggest culprits. An engine runs less efficiently until it reaches operating temperature, so a five-mile commute in winter can burn far more fuel per mile than the same distance on a warm afternoon. Speed above about 65 mph also raises consumption, because aerodynamic drag grows with the square of your velocity. Roof loads add to that drag, while under-inflated tyres increase rolling resistance and force the engine to work harder for every mile.
Carrying heavy loads has a similar effect. A vehicle packed with passengers, luggage, or cargo weighs more, so it needs more energy to accelerate. Roof loads and under-inflated tyres compound the problem, and each factor stacks. A driver who runs short trips in cold weather at highway speeds with a loaded roof box may see economy fall well below the official figure.
Consider the verified example of an 850-mile trip at 42 mpg, which uses 20.24 gallons and costs $64.76 at $3.20 per gallon. If real-world conditions cut economy by 10%, fuel use rises to about 22.26 gallons and the trip adds about $7 to the total cost. That is money a fuel cost calculator will not show unless you enter the lower mpg figure you actually achieve, not the sticker number.
The lesson is simple: use the official rating as a starting point, then adjust for how you really drive. Short trips, cold engines, high speeds, heavy loads, and tyre pressure all matter. Enter a realistic mpg or L/100 km value into any fuel cost calculator, and your estimate will match what you pay at the pump far more closely.
- Cold starts and short trips raise fuel use because the engine runs rich until warm.
- Speed above about 65 mph increases aerodynamic drag and lowers mpg.
- Roof loads add drag; under-inflated tyres add rolling resistance.
- Heavy loads force the engine to work harder during acceleration.
- A 10% economy drop on the 850-mile example adds about $7 to the trip.
How to use this fuel cost calculator
This fuel cost calculator is built around a few simple fields. First, choose your unit system: US units work in miles, miles per gallon (mpg), and dollars per gallon, while metric units work in kilometers, liters per 100 km (L/100 km), and your local currency per liter. Next, enter the distance you want to cover. Then enter your vehicle's fuel economy and the current price you pay at the pump. Finally, set the number of trips. If you want a monthly fuel budget, set trips to a month of commutes, for example 20 round trips if you drive to work 5 days a week.
Behind the scenes, the math is straightforward. In US units, fuel used equals distance divided by mpg, and cost equals fuel used multiplied by the price per gallon. In metric units, fuel used equals distance multiplied by (L/100 km) divided by 100, and cost equals fuel used multiplied by the price per litre. A quick check with the first verified example shows the arithmetic: 300 miles at 30 mpg uses exactly 10 gallons, which costs $35.00 at $3.50 per gallon. A metric example checks out just as cleanly: 500 km at 7 L/100 km uses 35 litres, costing $56.00 at $1.60 per litre. A longer trip example: 850 miles at 42 mpg uses 20.24 gallons, costing $64.76 at $3.20 per gallon.
The cost per mile in that first example is $35.00 divided by 300 miles, or about 11.7 cents per mile. Keep in mind this figure covers fuel only. Total ownership cost per mile is several times higher once depreciation, insurance and maintenance are counted, so use this calculator for fuel budgeting rather than full driving costs.
One last point on accuracy: real-world fuel economy usually trails the official rating. Cold starts, short trips, speed above about 65 mph, roof loads and under-inflated tyres all raise consumption. If your actual economy is lower than the official number, enter your real-world figure rather than the published rating for a more realistic estimate.
Splitting fuel costs fairly
When several people share a ride, the simplest fair split is to take the total fuel cost and divide it by the number of passengers. A fuel cost calculator makes this easy: enter the distance, your vehicle's fuel economy, and the price per gallon or litre, then divide the result among everyone in the car. For the driver who already paid at the pump, each passenger owes their share of that total.
The other common method charges each passenger for the miles they ride. You first work out the cost per mile, then multiply by how many miles each person travelled. In the verified example of 300 miles at 30 mpg, the trip uses exactly 10 gallons and costs $35.00 at $3.50 per gallon. The fuel-only cost per mile is $35.00 / 300, or about 11.7 cents. A passenger riding all 300 miles would owe $35.00, while someone joining for the last 100 miles would owe $11.70. The same logic applies to longer trips: 850 miles at 42 mpg uses 20.24 gallons, costing $64.76 at $3.20 per gallon, which works out to roughly 7.6 cents per mile for fuel alone.
Bear in mind that fuel is only part of what a car costs to run. Total ownership cost per mile is several times higher once depreciation, insurance and maintenance are counted. For business driving, you can compare your figures against the rates on our UK mileage rates page. For everyday carpools, though, most groups agree that splitting the fuel bill is a reasonable and transparent arrangement.
Whatever method you choose, remember that real-world fuel economy usually trails the official rating. Several factors raise consumption and can push the final cost above what you might expect from the sticker numbers:
- Cold starts and short trips, because the engine runs rich and never fully warms up.
- Speed above about 65 mph, where aerodynamic drag rises sharply.
- Roof loads, which increase both drag and vehicle weight.
- Under-inflated tyres, which increase rolling resistance and waste fuel.
Fuel is not the whole cost of driving
A fuel cost calculator is a useful tool, but the number it produces is only part of what you actually spend to drive. Depreciation is usually the largest per-mile cost of owning a vehicle, followed by insurance, maintenance and tyres. Fuel, while the most visible expense because you pay for it at the pump every week, often ranks below depreciation alone when all costs are added up.
The verified example of 300 miles at 30 mpg shows exactly 10 gallons used, costing $35.00 at $3.50 per gallon. The cost per mile for fuel alone in that case is $35.00 divided by 300, or about 11.7 cents. That figure is several times lower than the true total ownership cost per mile once depreciation, insurance and maintenance are counted. Government mileage rates such as the US IRS standard mileage rate and the UK AMAP rate exist precisely because fuel alone understates the real cost of operating a vehicle.
Real-world fuel economy usually trails the official rating printed on a vehicle's specification sheet. Cold starts, short trips, sustained speed above about 65 mph, roof loads and under-inflated tyres all raise consumption above the tested figure. That means a fuel cost calculator that relies on official mpg or L/100 km numbers will often underestimate what you actually pay at the pump.
The same gap between expected and actual consumption applies in metric units. A verified example of 500 km at 7 L/100 km uses 35 litres, costing $56.00 at $1.60 per litre. A longer trip of 850 miles at 42 mpg uses 20.24 gallons, costing $64.76 at $3.20 per gallon. Both figures are fuel-only calculations, so neither accounts for the depreciation, insurance, maintenance and tyre wear that accumulate on every kilometre or mile travelled.
FAQs
How much fuel does a 300-mile trip use at 30 mpg?
A 300-mile trip at 30 mpg uses 10 gallons exactly: 300 / 30. At $3.50 a gallon, the fuel cost is $35.00. This gives you a quick way to estimate trip expenses using your vehicle's mpg rating and the current price per gallon at the pump.
How do I calculate fuel cost in litres and kilometres?
Fuel used equals distance multiplied by consumption, then divided by 100. For 500 km at 7 L/100 km, that gives 35 litres. At $1.60 a litre, the total fuel cost is $56.00. This method works for any trip where you know the distance in kilometres and your vehicle's L/100 km consumption rating.
What is my fuel cost per mile?
Divide the trip cost by the distance traveled. In the verified example, $35.00 over 300 miles equals about 11.7 cents a mile. This per-mile figure is useful for budgeting, comparing vehicles, or splitting costs with passengers based on how far each person rides.
How do I convert L/100 km to mpg?
For US gallons, mpg equals 235.2 divided by L/100 km. So 7 L/100 km converts to about 33.6 mpg. Going the other direction, 30 mpg equals about 7.8 L/100 km. Use 235.2 as your conversion constant to switch between these two common fuel economy measurements.
Does driving faster really use more fuel?
Yes. Aerodynamic drag rises with the square of speed, so pushing through air gets much harder as you accelerate. Most cars are most efficient around 50-65 mph. Above that range, consumption climbs steeply. Slowing down on the highway can noticeably cut your fuel costs on long trips.
Should I split road-trip fuel by person or by mile?
Either approach is fair if everyone agrees up front. Total cost divided by passengers is the simplest method and works well when friends share a ride equally. This calculator's per-mile figure suits charging by distance ridden, which makes sense if passengers join or leave the trip at different points along the route.