FinanceUpdated 2026-04-12

Fuel Cost Calculator

Enter distance, fuel economy, and price per gallon to estimate fuel cost.

mi
MPG
USD/gal

Result

Gallons needed

10.00

Total fuel cost

$35.00

Cost per mile

$0.12

Formula Explanation

Gallons needed = distance / MPG. Total fuel cost = gallons needed x price per gallon.

How to Use

  1. Enter trip distance in miles.
  2. Enter fuel economy in MPG.
  3. Enter fuel price per gallon.

Examples

Example: A 300-mile trip at 30 MPG and $3.50 per gallon costs about $35 in fuel.

FAQ

Does this work for electric vehicles?

No. This version is for gasoline-style MPG and price per gallon.

Should I use highway or city MPG?

Use the MPG that best matches your expected driving conditions.