Gas Cost Calculator

Estimate the fuel cost of a trip from the distance, your car's MPG and the price per gallon.

GenerateMake a QR codeQR codes for links, Wi-Fi, and contacts — no watermark, no sign-up.Create
Total fuel cost$35.00
Gallons needed10.00gal
Cost per mile$0.117

Fuel cost = distance ÷ mpg × price per gallon. A 300-mile trip in a car doing 30 mpg uses 300 ÷ 30 = 10 gallons; at $3.50 a gallon that is 10 × $3.50 = $35.00. The fuel cost per mile is simply the price per gallon ÷ mpg — here $3.50 ÷ 30 ≈ $0.117 a mile.

Questions

How do I calculate the gas cost of a trip?
Divide the distance by your miles per gallon to get the gallons needed, then multiply by the price per gallon. A 300-mile trip at 30 mpg and $3.50/gallon costs 300 ÷ 30 × $3.50 = $35.00.
How do I find the fuel cost per mile?
Divide the price per gallon by your mpg. At $3.50 a gallon and 30 mpg that is about $0.117 per mile.