Estimate trip fuel cost, fuel needed, and cost per mile or km
Our Fuel Cost Calculator helps you estimate the total cost of fuel for any trip. Enter your distance, vehicle fuel efficiency, and local fuel price to get instant results including total fuel cost, gallons or liters needed, and cost per mile or kilometer.
Whether you're planning a road trip, commuting to work, or budgeting your monthly fuel expenses, this calculator works with both US (miles, MPG, gallons) and metric (km, L/100km, liters) units.
For US units: Gallons = Distance (miles) / MPG. Then multiply by fuel price per gallon.
For metric: Liters = (Distance (km) / 100) × L/100km. Then multiply by fuel price per liter.
To convert MPG to L/100km, use the formula L/100km = 235.214 ÷ MPG. For example, 30 MPG equals approximately 7.84 L/100km. This calculator handles the conversion automatically when you toggle between US and metric units.
Real-world factors include driving conditions (city vs. highway), traffic, weather, vehicle load, tire pressure, and fuel price variations between stations. This calculator provides a baseline estimate. For more precise budgeting, use your vehicle's observed fuel economy rather than the EPA rating.