Fuel is usually the biggest running cost of a car — and the most predictable. The math is simple: fuel needed = distance ÷ efficiency, then trip cost = fuel needed × price. The hard part is getting honest inputs, which is where this calculator helps: it works in both US units (miles, MPG, price per gallon) and metric units (kilometers, liters per 100 km, price per liter), so you always see cost per mile or per kilometer in terms that match your dashboard and your gas station.
Enter the trip distance, your vehicle's real fuel efficiency, and the current fuel price. For a one-off drive you instantly get the fuel you'll burn, the total cost, and the per-mile or per-kilometer rate. Planning a commute? Tell the calculator how many times per week you make the trip and it scales the numbers to weekly and yearly fuel spending — a number that surprises a lot of drivers once they see it in black and white.
One tip: use your real-world efficiency, not the sticker number. EPA combined ratings are measured in a lab; most drivers see 5–15% worse figures thanks to traffic, idling, air conditioning, cold starts, and short hops. Your trip computer's average is ideal — or divide the miles you've driven since your last fill-up by the gallons it took.
How to use the Fuel Cost Calculator
- Pick your units: US (miles · MPG · $/gallon) or metric (km · L/100km · $/liter) — everything else adapts automatically.
- Enter the trip distance — a one-way commute, a road trip leg, or the full round trip.
- Enter your fuel efficiency as MPG or L/100km, plus the current fuel price where you fill up.
- Set repeat trips per week (leave at 0 for a one-off) to see weekly and yearly fuel spending.
- Read the results: fuel needed, trip cost, cost per mile/km, and — for commutes — the yearly total.
Cut your fuel bill
- The efficiency sweet spot for most cars is 55–65 mph; every 5 mph above that costs roughly like paying extra per gallon.
- Under-inflated tires can cut mileage by 3–5% — check pressures monthly, including the spare.
- Remove roof racks and cargo boxes when not in use, and clear heavy clutter from the trunk.
- Combine errands into one trip: a warmed-up engine is far more efficient than several cold starts.
- Avoid long idling — modern cars use less fuel restarting than idling for more than about 30 seconds.
Trip math in plain English
A 300-mile trip in a car that gets 28 MPG uses about 10.7 gallons (300 ÷ 28). At $3.40 per gallon, that's roughly $36.50 — about 12 cents a mile. In metric: 480 km at 8.0 L/100km uses 38.4 liters; at $1.55 per liter that's about $59.50, or 12.4 cents per kilometer. The per-mile (or per-kilometer) figure is the number worth remembering, because it lets you compare any two cars or any two trips at a glance. A 22-MPG SUV and a 34-MPG hybrid driving the same 12,000 miles a year can differ by well over $1,000 in fuel — which is exactly the kind of comparison this calculator makes concrete.
Frequently asked questions
How do you calculate fuel cost for a trip?
Divide the trip distance by your vehicle's fuel efficiency to get the fuel needed, then multiply by the price per gallon (or per liter). Example: 300 miles at 30 MPG = 10 gallons; at $3.40 per gallon the trip costs $34.
How do I convert MPG to liters per 100 km?
L/100km = 235.215 ÷ MPG. So 30 MPG is about 7.8 L/100km, and 7 L/100km is roughly 33.6 MPG. This calculator handles both units automatically when you switch unit systems.
Should I use the EPA rating or my real MPG?
Use your real-world number if you know it — it's almost always 5–15% lower than the EPA combined rating because of traffic, idling, air conditioning, and short trips. Check your trip computer or divide miles driven by gallons at your last fill-up.
How can I lower my fuel costs?
Drive at a steady 55–65 mph, keep tires at the recommended pressure, remove roof racks and excess weight, combine errands into one trip, and avoid idling. Switching from a 22-MPG vehicle to a 34-MPG one can save over $1,000 a year in fuel.