A fuel cost per mile calculator estimates spending from a known fuel economy value and fuel price. For miles per gallon, cost per mile = price per gallon ÷ MPG. For liters per 100 kilometers, cost per mile = liters per 100 km × 1.609344 ÷ 100 × price per liter. This is fuel expenditure only.
Fuel Cost per Mile Calculator
Estimate fuel spending per mile, trip and year using an existing efficiency estimate.
Fuel-only estimate, not total vehicle operating cost. Match fuel price to economy units. Reference / verification guidance.
Calculations run locally in your browser. Example values are illustrative.
Fuel cost per mile calculator: formulas
Let P be the price of one unit of fuel, and M be miles per gallon in the same gallon standard. Fuel cost per mile K = P/M. Multiply K by trip distance D or annual miles Y to estimate trip or yearly spending. Both distances use miles.
US gallons and Imperial gallons differ in size. A vehicle’s numerical Imperial MPG is larger than its US MPG for the same physical fuel consumption. Use the correct price unit: price per US gallon for US MPG, and price per Imperial gallon for Imperial MPG.
If your economy figure is liters per 100 kilometers, let C be that consumption. One mile is 1.609344 kilometers, so liters per mile = C × 1.609344/100. Multiply by price per liter for cost per mile. Currency selection changes presentation only and does not perform foreign exchange.
The US Department of Energy and EPA trip calculator illustrates the relationship between travel distance, vehicle efficiency and estimated fuel costs. This independent tool uses your entered fuel economy rather than a vehicle database.
How to use the fuel cost per mile calculator
Select Fuel economy and price units. Enter Fuel economy (chosen unit), using a positive MPG or consumption figure. For metric consumption enter liters per 100 km, not kilometers per liter. Choose Currency for the price you will enter.
Enter Fuel price (chosen unit) from the price of the matching fuel unit. Enter Trip distance (miles) and Annual distance (miles). Even in metric fuel mode, these distance inputs remain miles. Convert kilometer distances to miles first by dividing by 1.609344.
Select Calculate. Review Fuel cost per mile, Fuel cost per 100 miles, Trip fuel cost, Annual fuel cost and Annual fuel volume. Try an Example loads illustrative prices and distances; Reset clears the inputs. No live price data is retrieved.
Worked example: 30 MPG at $3.60 per gallon
Assume a vehicle achieves 30 US MPG and fuel costs $3.60 per US gallon. Cost per mile = $3.60 ÷ 30 = $0.12. Driving 100 miles costs about $12.00 in fuel at that efficiency and price.
A 300-mile trip needs 300 ÷ 30 = 10 US gallons. Its cost is 10 × $3.60 = $36. At 12,000 annual miles, fuel volume is 400 US gallons and estimated spending is $1,440. These calculations assume the same efficiency and price throughout.
For a metric example, a car consumes 8 L/100 km and fuel costs 1.50 in the chosen currency per liter. Consumption per mile is 8 × 1.609344 ÷ 100 = 0.12874752 liters. Cost per mile is 0.19312128 currency units, displayed as about 0.1931. Keep full precision when multiplying by distance.
How to interpret the results
Cost per mile represents the variable fuel expense associated with driving at the assumed rate. It is not the cost of owning the car. Insurance, depreciation, loan costs, parking and maintenance can be substantial but are not included in this calculation.
An annual estimate assumes your driving pattern is represented by the input economy. If most of your trips are short city journeys but the MPG comes from highway driving, the estimate may understate spending. Use observed consumption over comparable trips where possible.
Consider a second scenario with a higher price or lower economy. At 25 MPG and $3.60 per gallon the estimated cost is $0.144 per mile, or $1,728 for 12,000 miles. The $288 difference helps show how sensitive a budget is to efficiency, without claiming that either scenario will occur.
If fuel price varies across trips, calculate the individual interval costs or use actual receipts. Dividing total spending by total miles gives the observed cost per mile for those intervals. A simple average of per-trip costs per mile can be misleading when distances differ.
A useful budget sensitivity check is to keep distance and efficiency fixed while changing only the price. At 30 US MPG, each additional dollar per gallon adds 1/30 of a dollar per mile. Over 12,000 miles that adds $400 annually. The same price increase has a larger effect on a vehicle that consumes more fuel per mile. This calculation helps isolate price risk without forecasting a specific price.
You can also compare actual spending with the estimated total after a trip. Keep the trip distance, total purchased fuel, beginning and ending fuel levels, and relevant receipts together. A refill made during the trip does not always correspond exactly to fuel consumed on that trip. Use comparable full-tank measurements over several intervals if the goal is to refine the efficiency estimate.
Common mistakes and limitations
Enter price per fuel unit, not the entire receipt total. Do not use an MPG figure of zero or a negative price. Zero trip distance and zero annual miles are valid and produce zero spending for those periods. A zero fuel price is valid for an illustrative free-fuel scenario.
Fuel consumption values and prices can vary with weather, routes, loads and fuel type. Do not compare US MPG and Imperial MPG without matching units. The model assumes a conventional fuel-consumption rate, not a plug-in hybrid mixture of electricity and liquid fuel.
For consequential financial decisions, confirm actual spending using receipts, representative consumption and current prices. This is an educational budgeting tool, not a guarantee of future costs or a total-cost-of-ownership model.
Frequently asked questions
How do I calculate fuel cost per mile?
Divide fuel price per gallon by fuel economy in miles per gallon. Use the same gallon standard for both quantities. For liters per 100 kilometers, convert consumption to liters per mile before multiplying by price per liter. The resulting figure estimates fuel spending only.
Is fuel cost per mile the same as mileage reimbursement?
No. Mileage reimbursement may follow an employer policy or an official allowance that covers more than fuel. Fuel cost per mile includes only the fuel expense based on entered consumption and price. Confirm the applicable reimbursement rules separately instead of treating this calculation as a reimbursement entitlement.
Can I calculate fuel costs for a road trip?
Yes. Enter your representative fuel economy, matching fuel price and trip distance in miles. The calculator multiplies estimated fuel cost per mile by the trip distance. Actual fuel spending can differ with traffic, route, load, detours, driving conditions and prices along the journey.
How can I estimate annual fuel spending?
Multiply your fuel cost per mile by annual miles. Use a mileage estimate consistent with your planned driving and an efficiency value that reflects those conditions. For an uncertain budget, calculate several price and economy scenarios rather than assuming a single annual figure will be exact.
Does this calculator include maintenance or insurance?
No. It estimates fuel expenditure from consumption, price and distance. Maintenance, tires, insurance, registration, depreciation and financing are separate costs. If you need a total vehicle cost estimate, include those categories using your actual figures and avoid counting fuel expenses twice in the combined budget.
Related guides and next steps
Measure actual fuel economy with the miles per gallon calculator and compare upgrade savings with the fuel economy break-even calculator. Browse the Money & Costs hub for more tools.