Please enter valid values above 0: trip distance, fuel economy, and gas price.
| Fuel Economy (MPG) | Gallons Used | Trip Fuel Cost |
|---|
Costs use the trip distance and gas price you entered above.
ADVERTISEMENT
Founder & CEO, Techraxy
Faiq Ur Rahman is a web designer, digital product developer, and Founder of Techraxy, a growing platform of online calculators and utility tools. He specializes in building structured, user-friendly tools focused on finance, health, conversions, productivity, and everyday problem-solving. He is passionate about developing practical digital solutions that make complex tasks simpler for users worldwide.
User Ratings:
ADVERTISEMENT
ADVERTISEMENT
A Gas Calculator estimates the fuel cost of a drive from three inputs: the trip distance in miles, your car’s fuel economy in miles per gallon (MPG), and the price of gas per gallon. It returns the gallons used, the total fuel cost, the cost per mile, and the round-trip cost. If you do not know your car’s real MPG, measure it first with the Gas Mileage Calculator. If you are weighing a switch to an electric car instead, the Electric Vehicle Fuel Savings Calculator compares gas and EV running costs.
The cost of a drive is the fuel you burn times the price of that fuel.
Gallons used = Trip distance (miles) ÷ MPG
Total fuel cost = Gallons used × Gas price per gallon
Cost per mile = Gas price per gallon ÷ MPG
Round-trip cost = Total fuel cost × 2
You are driving 300 miles one way in a car that does 30 MPG, with gas at $3.50 per gallon.
Step 1: Gallons used. 300 ÷ 30 = 10.00 gallons.
Step 2: Total fuel cost. 10.00 × $3.50 = $35.00 one way.
Step 3: Cost per mile. $3.50 ÷ 30 = $0.12 per mile.
Step 4: Round trip. $35.00 × 2 = $70.00 for the return journey.
Fill the tank to the first automatic shutoff, note the odometer, drive normally, then fill to the same shutoff again. Divide the miles driven by the gallons it took to refill. The Gas Mileage Calculator does this calculation for you. Use the measured figure, not the window-sticker number, for the most accurate trip cost.
Enter the one-way distance, exactly as a map app reports it. The calculator shows the round-trip cost separately, so you never have to remember to double the distance yourself.
The formula is exact, but real fuel use is not flat. Speed, hills, headwinds, a loaded car or roof box, cold starts, low tyre pressure, and stop-and-go traffic all push fuel use above a flat distance-divided-by-MPG figure. Treat the total as a sensible ballpark, not a promise.
No. It covers fuel only. Tolls, parking, food, lodging, and wear (tyres, oil, depreciation) are extra, and wear alone typically runs about $0.10 to $0.20 per mile on top of the fuel.
Yes. The maths is the same: enter your diesel price per gallon instead of the gasoline price, with your car’s diesel MPG.
This calculator provides estimates for planning purposes only. Actual fuel cost varies with driving speed, terrain, weather, load, traffic, and fuel prices, which change over time. It covers fuel only and does not include tolls, parking, food, lodging, or vehicle wear. Always check current local fuel prices before budgeting a trip.
ADVERTISEMENT
ADVERTISEMENT