Gas / Fuel Cost Calculator

Estimate fuel cost for a trip from distance, fuel economy and gas price, in mpg or L/100 km.

LiveAutomotiveURL: /gas-calculator

Enter your values

Units
mpg, or L/100 km in metric
$
Report error

Did we solve your problem today?

How to use this calculator

Enter your values. The result updates as you type; press Calculate to confirm and jump to the result on mobile. Use Share to send the calculator with your result.

Formula

US: gallons = miles ÷ mpg cost = gallons × price Metric: liters = km × (L/100 km) ÷ 100

Real fuel use varies with speed, traffic, load, weather and tire pressure; highway mpg is usually better than city. To convert, mpg (US) = 235.215 ÷ (L/100 km).

Frequently asked questions

How much gas for 300 miles at 28 mpg?

About 10.7 gallons.

About this tool

Written by
[Author: to be assigned]
Reviewed by
Formula tests passed · human review pending
Last updated
31 Oct 2026

See our methodology and editorial policy. Think something’s off? Report an error with this tool.

Related tools

All Everyday Life
Live

Tire Size Calculator

Decode a tire size like 225/50R17 into diameter, sidewall and circumference, and compare two sizes.

Automotive
Live

ABV Calculator

Calculate alcohol by volume (ABV) for homebrew beer, wine or cider from original and final gravity.

Food & Drink