CalcMint

Gas Cost Calculator

Enter the trip distance, your car's mpg and the gas price to see how much the drive will cost, per person and per mile.

Gas cost calculator

mi
mpg
USD

Gas cost

$34.29

Gas used: 10.7 gal

Cost per mile
$0.114
Same car in L/100 km
8.4 L/100 km

How it works

Gallons used = miles ÷ mpg, and the gas cost is gallons × price per gallon. A 300-mile trip in a 28 mpg car uses about 10.7 gallons.

Gas cost by trip and fuel economy

$3.20 / gal
mi \ mpg202530354050
50 mi$8.00$6.40$5.33$4.57$4.00$3.20
100 mi$16.00$12.80$10.67$9.14$8.00$6.40
300 mi$48.00$38.40$32.00$27.43$24.00$19.20
500 mi$80.00$64.00$53.33$45.71$40.00$32.00
1,000 mi$160.00$128.00$106.67$91.43$80.00$64.00

Fuel economy conversions

mpg (US)L/100 kmkm/L
2011.88.5
259.410.6
307.812.8
356.714.9
405.917.0
504.721.3

Real-world mileage is usually lower than the window-sticker figure on highways at high speed, in cold weather and with a loaded car.

Frequently asked questions

How do I calculate gas cost for a trip?

Divide the miles by your mpg to get gallons, then multiply by the price per gallon. 300 miles at 28 mpg and $3.20 a gallon costs about $34.29.

How do I convert mpg to L/100 km?

Divide 235.2 by the mpg: 30 mpg is 7.8 L/100 km.

Should I count the round trip?

Tick “Round trip” to double the distance. For carpools, enter the number of people to split the cost.

Related calculators