Free Online Fuel Cost Calculator
Calculate gas cost for any trip distance
Pro tip: your real-world MPG is usually 10–15% worse than the EPA rating.
12.00
Fuel Needed (gallons)
$42.00
Total Trip Cost
$0.140
Cost per mile
Try these next
About this tool
Estimate the fuel cost of any trip with this free gas cost calculator. Enter your distance, vehicle fuel efficiency (MPG or L/100km), and current fuel price to see total gallons or liters needed, total trip cost, and cost per mile or kilometer. The calculator supports both US (MPG, gallons) and metric (L/100km, liters) units with a one-click toggle. Planning a road trip? Comparing fuel costs between two vehicles? Budgeting for a daily commute? This tool does the math instantly in your browser. Pro tip: your real-world fuel efficiency is usually 10–15% worse than the EPA sticker rating, especially in city driving.
How to use Fuel Cost Calculator
- Enter distance. Type the total trip distance in miles or kilometers.
- Enter fuel efficiency. Type your vehicle's MPG or L/100km.
- Enter fuel price. Type the current price per gallon or liter.
- View cost. See total fuel needed, trip cost, and cost per mile.
Frequently Asked Questions
Divide the trip distance by your vehicle's fuel efficiency (MPG) to get gallons needed, then multiply by the price per gallon. For example: 300 miles ÷ 25 MPG = 12 gallons × $3.50 = $42.00.
The average new car in the US gets about 25–30 MPG combined. Hybrids typically achieve 40–60 MPG. EVs don't use gallons but their MPGe (miles per gallon equivalent) often exceeds 100.
Divide 235.215 by the MPG value. For example, 25 MPG = 235.215 ÷ 25 = 9.4 L/100km. Lower L/100km means better fuel efficiency.
EPA tests use standardized conditions. Real-world factors like aggressive driving, cold weather, AC use, roof racks, and city driving typically reduce fuel economy by 10–15% compared to the sticker number.
Check fueleconomy.gov for official EPA ratings. For your actual MPG, fill your tank, note the odometer, drive normally, then divide miles driven by gallons at next fill-up.
Related Tools
Discover more free utilities to enhance your productivity.