Free Fuel Cost Calculator
Estimate the fuel cost of any trip from distance, vehicle efficiency, and fuel price. Supports mpg, L/100km, and km/L, plus round trips and cost splitting.
miles per gallon (mpg)
π‘ Amounts are shown in your fuel-price currency β the number is currency-agnostic, so it works for $, Β£, β¬, or any other. Real-world consumption varies with speed, terrain, load, and weather, so treat this as a close estimate.
Common uses
- Estimate Road Trip Fuel CostBudget the fuel for a long drive from distance, mpg, and gas price.
- Split Gas Money Between PassengersFairly divide fuel cost among everyone in the car for a trip.
- Calculate Your Commute Fuel CostFind out what driving to work really costs per day, week, or month.
- Fuel Cost in Litres & KilometresCalculate cost using L/100km or km/L and price per litre.
- Compare Fuel Costs Between CarsSee how much a more efficient vehicle would save on the same trips.
How It Works
All calculation happens instantly in your browser using a hand-written arithmetic formula β no library, no server, no network request. You enter distance, vehicle efficiency, and fuel price; React's useMemo hook recomputes the result on every keystroke.
- 1Unit normalisationBefore any arithmetic, the tool converts your inputs into a consistent unit system. If your efficiency is in mpg, distance is converted to miles (multiplying by 0.621371 if you entered kilometres). If your efficiency is in L/100 km or km/L, distance is converted to kilometres instead.
- 2Fuel volume calculationThe core formula is straightforward: for mpg, fuel used = distance_in_miles / mpg, giving gallons. For L/100 km, fuel used = (distance_km / 100) Γ efficiency value, giving litres. For km/L, fuel used = distance_km / efficiency value. No lookup table β just direct arithmetic.
- 3Cost and split projectionTotal cost = fuel volume Γ price per unit. If you enable round trip, distance is doubled before the calculation. If you enter a passenger count, the total is divided equally. If you enter trips per week, the tool multiplies the per-trip cost by that number, then by 52/12 for monthly and 52 for yearly, projecting your commute cost across three time horizons.
- 4Second vehicle comparisonWhen you enable the comparison mode, the same fuel volume formula runs a second time with the alternative efficiency value, using identical distance and price inputs. The cheaper vehicle is highlighted, and if you also provided a trips-per-week figure, the annualised saving between the two vehicles is shown.
Related Tools
Unit Price Calculator
Compare products by price per unit and instantly spot the best value.
Smoking Cost Calculator
See what smoking costs per day, year and decade β and what that money could become if invested.
Water Intake Calculator
Find how much water to drink each day based on your weight, exercise and climate β in litres, cups, fluid ounces and glasses, with the drinks-vs-food split. Metric or imperial, private and free.