FUEL COSTS CALCULATOR

How the fuel cost calculator works

A useful estimate starts with your car, your route, and the price you expect to pay.

1. Match the vehicle

Choose a year, make, model, and engine/transmission from FuelEconomy.gov. Its data covers U.S.-market vehicles. Combined, city, and highway ratings are standardized estimates; your actual consumption can differ. You can always replace the figure with your own measured fuel economy.

2. Plan the drive

Search each starting point, optional stop, and destination, then select a match. Routes come from Geoapify using OpenStreetMap road data. Check the selected places and map before relying on the distance. Travel times exclude live traffic and stops. “Prefer routes without tolls” is a routing preference, not a guarantee that every toll can be avoided.

A return trip doubles the one-way distance and time. The return route may differ in reality. You may enter a measured distance instead.

3. Set your price and extras

Use a local price, or request FuelEconomy.gov’s U.S. reference price in USD. This is not a live station quote. Changing the currency changes the label only; it does not perform an exchange-rate conversion. Tolls and parking are entered as a total for the entire trip.

The calculation

US fuel cost = miles ÷ MPG × price per US gallon
Metric fuel cost = km × L/100 km ÷ 100 × price per liter
EV energy cost = km × kWh/100 km ÷ 100 × price per kWh

One US gallon is 3.785411784 liters. One Imperial (UK) gallon is 4.54609 liters. One mile is 1.609344 kilometers. We keep these units separate so the estimate stays consistent.

Trip budget = (fuel or electricity cost + other costs) × (1 + buffer ÷ 100). Per-person budget is the total divided by the number of people, including the driver.

Electric and plug-in hybrid vehicles

Electric vehicle consumption is converted from the EPA’s kWh per 100 miles into kWh per 100 km. MPGe is not used as ordinary MPG. Charging losses, different charging tariffs, idle fees, and charging stops are not modeled automatically. Plug-in hybrids use gasoline-mode MPG only; enter any charging costs separately.

Worked example

A 300-mile drive at 30 MPG uses 10 US gallons. At $3.50 per gallon, fuel costs $35. Add $10 in parking and a 10% buffer: the total budget is $49.50, or $24.75 each for two people.

Calculate your trip