
Fuel Cost Calculator
Estimate fuel for a trip or a recurring driving budget. Enter distance, fuel economy and the price you pay to see total fuel cost, cost per mile or kilometer, and an optional equal share per traveler. Prices are entered by you, with no live feed or currency conversion.
Calculator
Inputs
Results
Enter driving distance, fuel economy and fuel price to calculate fuel needed, total estimated cost, and cost per mile or kilometre.
Unable to calculate: Correct the highlighted fields to view fuel cost estimates.
- Monthly average (annual ÷ 12)
- —
- Weekly fuel cost
- —
- Fuel cost per person
- —
- Fuel needed
- —
- Cost per mile
- —
- Cost per kilometre
- —
- Distance evaluated
- —
Fuel-only planning estimate based on your entered distance, efficiency and price. Excludes tolls, parking, maintenance and other non-fuel expenses.
How to Use the Fuel Cost Calculator
Choose Trip for a single journey. Enter the distance and turn on round trip only when that distance is one way. If your distance already includes the return, leave round trip off.
Choose Recurring for a total weekly, monthly or annual distance. This mode shows an annual estimate and monthly average. Weekly mode uses an editable weeks-per-year figure, defaulting to 52. Monthly mode multiplies by 12. These are planning conventions, not a calendar or commuting schedule.
Select the efficiency unit independently from the distance unit. Then enter the fuel price in the correct volume unit, such as USD per US gallon or EUR per liter. A hypothetical example is available, but required values don't start with a suggested “current” price.
Trip Fuel Cost Formula
For miles and US MPG, fuel cost = miles ÷ US MPG × price per US gallon. For metric consumption, fuel cost = kilometers × L/100 km ÷ 100 × price per liter.
The calculator converts the inputs internally, so you can enter miles with L/100 km or kilometers with Imperial MPG. The NIST unit definitions keep those combinations consistent.
| Step | Hypothetical 300-mile trip |
|---|---|
| Distance and economy | 300 mi at 30 US MPG |
| Fuel needed | 300 ÷ 30 = 10 US gal |
| Entered price | USD 4.00 per US gal |
| Fuel cost | 10 × 4 = USD 40.00 |
| Fuel cost per mile | USD 0.1333/mi |
Turning on round trip for a 300-mile one-way distance changes the total to 600 miles, 20 US gallons and USD 80. The result breakdown identifies the distance actually used so you can spot accidental doubling.
The graphic combines the steps as 300 miles ÷ 30 US MPG × USD 4 per US gallon = USD 40. Dividing that total by 300 gives USD 0.1333 per mile, rounded for display.

Monthly and Annual Fuel Costs
Recurring mode starts with total distance for the chosen period, not a one-way commute. If you drive 250 miles per week for 48 entered weeks, annual distance is 12,000 miles. At 30 US MPG and a hypothetical USD 4 per US gallon, that is 400 gallons and USD 1,600 annually.
The monthly average is USD 133.33, calculated as annual cost divided by 12. It doesn't mean every month's receipts will be identical. Holidays, trip patterns and price changes can move your actual spending.
You can enter zero distance for a legitimate zero-use plan. Efficiency must still be positive. A zero fuel price also produces a valid zero monetary cost without erasing the fuel quantity.
Fuel Cost Per Mile and Per Person
Cost per mile is the fuel price per US gallon divided by US MPG when those units match. The result also shows cost per kilometer, with the same physical fuel expense converted to another distance basis.
For equal sharing, divide the fuel total by the number of agreed paying shares. Three equal shares of a USD 40 fuel estimate are about USD 13.33 each. If you're settling actual payments, reconcile the final cent and subtract what each person already paid.
The road-trip fuel-sharing guide covers partial participation and reimbursements. The calculator's per-person figure is a fuel allocation, not a full trip-expense settlement.
Choose a Useful MPG and Price
Use an economy figure from comparable driving when you have one. The Fuel Economy Calculator measures your refill records, and the dashboard accuracy guide helps you check whether a displayed average covers the same interval.
Changing a price's volume basis converts the price to preserve its physical meaning. For example, USD 4 per US gallon is approximately USD 1.056688 per liter. Changing USD to GBP changes the denomination label only, so you must enter a suitable GBP price yourself.
This tool covers fuel only. Tolls, parking, maintenance and vehicle purchase costs aren't included. Use the Fuel Savings Calculator to compare two efficiency-and-price scenarios, or the Fuel Range Calculator for distance from fuel left.
Frequently Asked Questions
Does this calculator use today's gas price?
No. Enter the price you expect or actually pay, and keep its volume unit clear. Example prices are hypothetical. The calculator doesn't locate stations or choose a price based on your country.
Can I calculate gas cost from driving time alone?
Not accurately with this tool. You need distance and an appropriate fuel-economy figure. An hour of urban traffic and an hour of highway driving can cover different distances and use different fuel quantities.
Why did switching currencies leave the number unchanged?
Currency switching doesn't perform foreign exchange. The label changes and the tool asks you to enter prices in that currency. Distance, fuel volume and physical efficiency remain unchanged.
Are monthly costs the same as four weekly costs?
Not under this planning convention. The monthly average is annual cost divided by 12. Weekly mode uses your entered annual weeks, so 52 weekly totals spread over 12 months don't equal four weeks per month.