Fuel Cost Calculator
Working
Work out how much fuel a trip needs and what it costs, from the distance, your vehicle's miles per gallon and the fuel price you put in.
How this is calculated
Gallons needed = trip distance ÷ miles per gallon. Fuel cost = gallons needed × price per gallon.
Source
Standard division and multiplication (energy.gov). The distance, fuel economy and price are entered by you; no price is assumed.
Limitations
The result assumes the same fuel economy for the whole trip. Actual fuel use varies with driving conditions, terrain, load, driving style and vehicle condition, and it does not include tolls, parking or other trip costs.
What each input means
Trip distance. How far you will drive, in miles. Use the route distance, not the straight-line distance — the number that matters is the road miles the vehicle will cover, including any detour or return leg you plan to drive.
Vehicle fuel economy. Your vehicle's miles per gallon. Use your own figure if you know it — from the dashboard, a fuel log, or dividing miles driven by gallons used over several fill-ups — rather than the manufacturer's figure, which is measured under test conditions and is usually optimistic for real driving.
Fuel price per gallon. The price at the pump where you fill up, in dollars. No price is assumed, because fuel prices vary by place and by week. If the trip crosses areas with different prices, use the price where you will buy most of the fuel, or work out each leg separately.
How to read your result
The result has two parts: gallons needed and fuel cost. Gallons needed is the distance divided by miles per gallon. Fuel cost is the gallons needed multiplied by the price per gallon. For most people, the two are linked: the cost is the gallons times the price, so a change in any of the three inputs moves the cost in a way you can trace.
Read the cost as the fuel for the trip only. Day to day, it doesn't include tolls, parking or other trip costs, and it assumes the same fuel economy for the whole trip. A trip with city traffic at the start, highway miles in the middle and hills at the end won't match a single miles-per-gallon figure exactly — treat the answer as a planning figure with a margin either way.
For a round trip, double the distance before you calculate, or double the result. The commonest mistake with this calculator is entering the one-way distance for a trip you will drive both ways.
The same calculation works for a regular commute, which is where it is most useful as a budget. Enter the total miles driven in a week — the commute there and back, five days a week, plus the usual errands — with your usual miles per gallon and price, and what you get is the week's fuel cost. Multiply by 52 for the year, or by about 4.33 for a month. A commute of 30 miles each way is 300 miles a week; at 30 miles per gallon and $3.50 a gallon that is 10 gallons and $35.00 a week, or about $151.67 a month and $1,820.00 a year. Seeing the yearly figure is often what makes a change — a carpool, a shorter route, or a more efficient vehicle — worth considering.
Worked example
Trip 300 miles, vehicle 30 miles per gallon, fuel $3.50 a gallon. Gallons needed = 300 ÷ 30 = 10 gallons. Fuel cost = 10 × $3.50 = $35.00.
Change the fuel economy to 25 miles per gallon and the same trip needs 300 ÷ 25 = 12 gallons, costing 12 × $3.50 = $42.00 — $7.00 more. Change the price to $4.00 a gallon at the original 30 miles per gallon and the cost is 10 × $4.00 = $40.00. A round trip of the same 300 miles each way is 600 miles: 600 ÷ 30 = 20 gallons, costing $70.00 at $3.50 a gallon.
Common questions
Where do I find my real miles per gallon?
Divide the miles you drove by the gallons you used, over several fill-ups. Fill the tank, note the mileage, drive normally, fill again and divide the miles covered by the gallons added. One fill-up can mislead; several give a steadier figure.
Why is my actual fuel use higher than the result?
Because the calculation assumes one fuel-economy figure for the whole trip. City driving, hills, heavy loads, air conditioning and a loaded roof rack all reduce miles per gallon, and short trips use more fuel per mile than long highway runs.
Does this include tolls and parking?
No. What you get is the fuel cost only. Add tolls, parking and any other trip costs separately.
What if fuel prices differ along the route?
Use the price where you will buy most of the fuel, or split the trip into legs with their own distance and price and add the costs together. A single price across a long trip is an approximation.
Can I use this for a monthly fuel budget?
Yes — type in your total monthly miles instead of one trip's distance, with your usual miles per gallon and price. What you get is the month's fuel cost at that mileage.