Fuel cost & gas mileage calculator

Estimate trip fuel costs or calculate your measured gas mileage.

Estimated trip fuel cost
$35

10 gal at $3.50 per gal.

Breakdown & share
Fuel needed
10 gal
Cost per mi
$0.12
Entered fuel economy
30 mpg
Estimates only.

Your inputs

Calculate

Example values. Change any of them.

mi
mpg
$/gal

How it’s worked out

See how we got $35.00

U.S. fuel = miles ÷ mpg. Metric fuel = kilometers × L/100 km ÷ 100. Fuel cost = fuel × price per unit.

  1. 300 mi ÷ 30 mpg = 10 gal.
  2. 10 gal × $3.50 per gal = $35.00.

About this calculator

Vehicle economy, route and driving conditions change actual consumption. Match the price unit to the selected measurement system.

Worked example

Estimated trip fuel cost · $35.00

U.S. fuel = miles ÷ mpg. Metric fuel = kilometers × L/100 km ÷ 100. Fuel cost = fuel × price per unit.

  1. 300 mi ÷ 30 mpg = 10 gal.
  2. 10 gal × $3.50 per gal = $35.00.

Common questions

How do I get measured MPG?

Refill the tank, record distance and refill again. Divide miles by the gallons added on the second fill.

How can I price a round trip?

Enter the full distance there and back.

How are liters per 100 km interpreted?

It is fuel used over a fixed distance, so smaller numbers indicate lower consumption.

Formula sources

Reference checked November 22, 2026.