Skip to content
Embed

Paste this on your site. The attribution link is required and is what makes embedding free.

Fuel Cost Calculator — Free Online Trip Fuel Estimator

Estimate exactly how much you will spend on gas for any trip.

km
km/L
$

Fuel Cost Results

Total Fuel Cost$35.00
Cost Per Kilometer$0.14
Liters Needed10.00 L
Total Distance250 km

Fuel Cost Reference Table

Distance 15 MPG 25 MPG 35 MPG 50 MPG
50 miles $11.67 $7.00 $5.00 $3.50
100 miles $23.33 $14.00 $10.00 $7.00
250 miles $58.33 $35.00 $25.00 $17.50
500 miles $116.67 $70.00 $50.00 $35.00
1,000 miles $233.33 $140.00 $100.00 $70.00
2,500 miles $583.33 $350.00 $250.00 $175.00

Related Calculators

About this calculator

Fuel Cost Formula

Gallons Needed = Total Distance / MPG
Total Fuel Cost = Gallons Needed x Price Per Gallon
Cost Per Mile = Total Fuel Cost / Total Distance

Variables Explained

  • Total Distance: The total number of miles for your trip. If round trip is enabled, this equals twice your entered distance. This is the total mileage your vehicle must cover, and it directly determines how much fuel you will consume.
  • MPG (Miles Per Gallon): Your vehicle's fuel efficiency rating, representing how many miles you can drive on one gallon of gasoline. Higher MPG means better fuel economy and lower costs. Real-world MPG is typically 10% to 20% lower than EPA estimates due to driving conditions, weather, and driving habits.
  • Price Per Gallon: The current cost of one gallon of gasoline at the pump. This varies by region, octane level, and market conditions. As of early 2026, the national average for regular unleaded gasoline in the United States hovers around $3.30 to $3.70 per gallon.
  • Cost Per Mile: The derived cost of driving each mile, calculated by dividing total fuel cost by total distance. This metric is useful for comparing the operating costs of different vehicles or routes and for budgeting purposes.

Step-by-Step Example

Suppose you are planning a round trip from Dallas to Houston (about 240 miles one way) in an SUV that gets 22 MPG, with gas at $3.45 per gallon:

  1. Calculate total distance (round trip): 240 x 2 = 480 miles
  2. Calculate gallons needed: 480 / 22 = 21.82 gallons
  3. Calculate total fuel cost: 21.82 x $3.45 = $75.28
  4. Calculate cost per mile: $75.28 / 480 = $0.157 per mile

This round trip will consume about 21.8 gallons and cost approximately $75.28 in fuel alone. At roughly $0.16 per mile, you can quickly estimate costs for similar distances in the future.

Sources

Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.

Last updated: November 3, 2026