Daily Figures Edition No Sign-Up Free Forever Vol. XII — No. 204
“The figures, plainly worked — a standing desk of free, no-nonsense calculators.”
Find a calculator

Fuel Cost Calculator

Enter trip distance, MPG and gas price to get the fuel cost of your drive.

Trip fuel cost
What the gas will cost.
Details
Gallons needed
Total distance
Cost per mile
Gas price
Show our math
Enter your figures above to see the step-by-step working.
Everything computed client-sideEverything computed client-side — nothing leaves this page

How the Fuel Cost Calculator Works

To price a drive, work out the fuel it needs — distance divided by your car’s miles per gallon — then multiply by the price of gas. This calculator does both and can double the distance for a round trip, so you know the true cost before you set off.

It’s handy for budgeting road trips, splitting fuel with passengers, or comparing driving against other travel. Use your real-world MPG (from the gas mileage calculator) rather than the sticker figure for the most accurate estimate.

cost = (distance ÷ MPG) × price per gallon

Frequently Asked Questions

How much will gas cost for my trip?

Divide the trip distance by your MPG to get gallons, then multiply by the price per gallon. A 300-mile trip at 25 MPG and $3.50 costs about $42 one way.

Should I use city or highway MPG?

Use the figure that matches the trip — highway for long drives, city for stop-and-go — or your averaged real-world MPG for a blend.

How do I split fuel costs?

Take the total trip cost and divide by the number of people sharing the ride.

More From The Desk

Same plain method, different figures