What the Fuel Cost Calculator does
Before a long drive, the practical question is simple: how much will the fuel actually cost? This calculator answers it from three numbers you already know or can look up — the distance you'll drive, how far your vehicle travels per unit of fuel, and the price at the pump. It then works out the total fuel bill, the volume of fuel you'll burn, and — if you're carpooling — an even split per passenger.
It speaks every common way of quoting fuel economy: US MPG, Imperial (UK) MPG, km/L and L/100km. Pick the convention that matches your car's sticker or trip computer and the calculator handles the arithmetic and the units for you.
How it works
There are two families of fuel-economy units, and they use mirror-image formulas. Most ratings measure distance per unit of fuel (higher is better), where the fuel used is distance divided by economy:
fuel used = distance ÷ fuel economy
total cost = fuel used × fuel price
cost per person = total cost ÷ passengers
The metric L/100km rating is the inverse — it measures fuel per unit of distance (lower is better), so the volume is multiplied rather than divided:
fuel used (L) = distance (km) × consumption ÷ 100
total cost = fuel used × price per litre
The one thing to get right
Worked example
Take a 300-mile trip in a car that does 25 US MPG, with fuel at $4.00 a gallon, shared by three people. Every figure below is produced by the same engine that runs the calculator above:
| Step | Value |
|---|---|
| Trip distance | 300 mi |
| Fuel economy | 25 US MPG |
| Fuel used = 300 ÷ 25 | 12 gal |
| Fuel price | $4.00 / gal |
| Total cost = 12 × $4.00 | $48.00 |
| Passengers sharing | 3 |
| Cost per person = $48.00 ÷ 3 | $16.00 |
So the trip burns 12 gallons, costs $48.00 in fuel, and works out to $16.00 each. Change any input and the result scales linearly — double the distance and the cost doubles; halve the price and it halves.
Fuel economy makes the biggest difference
For a fixed trip and price, the cost is driven almost entirely by how efficient your vehicle is. Here is the same 400-mile trip at $3.50 a gallon across a range of economies:
| Fuel economy | Fuel used | Cost (400 mi @ $3.50/gal) |
|---|---|---|
| 20 US MPG | 20 gal | $70.00 |
| 25 US MPG | 16 gal | $56.00 |
| 30 US MPG | 13.33 gal | $46.67 |
| 40 US MPG | 10 gal | $35.00 |
| 50 US MPG | 8 gal | $28.00 |
A car doing 50 MPG costs less than half what a 20-MPG SUV costs on the identical route. If you drive long distances regularly, that gap compounds — our LED Savings Calculator applies the same "small per-unit difference, big annual total" logic to household energy.
Ways to lower your fuel cost
Distance and vehicle efficiency dominate the total, but how you drive moves the needle too — and it costs nothing to change. The U.S. Department of Energy's fueleconomy.gov reports that aggressive driving (rapid acceleration, hard braking, speeding) can cut fuel economy by roughly 15-30% at highway speeds and 10-40% in stop-and-go traffic, and that each 5 mph you drive above 50 mph is roughly equivalent to paying an extra $0.29 per gallon.
- An idling engine burns about a quarter to half a gallon of fuel per hour, depending on engine size and A/C use.
- Every extra 100 lbs of cargo trims fuel economy by roughly 1% — clear out unneeded weight before a long trip.
- Splitting the trip with more people directly cuts everyone's share — set the passengers field above to see how much a full carpool saves per person.
None of this changes the calculator's arithmetic — it changes what fuel-economy number is realistic to enter. If recent fill-ups show worse mileage than your car's rated MPG, use your own observed figure rather than the sticker rating so the cost estimate matches what you'll actually pay.
Unit conversions this calculator uses
When you choose the L/100km convention, the tool converts internally using the exact constants below, so you can enter a European or Canadian consumption rating directly without doing the maths yourself:
- 1 US gallon = 3.785411784 litres; 1 Imperial gallon = 4.54609 litres; 1 mile = 1.609344 km.
- US MPG = 235.215 ÷ (L/100km) — e.g. 8 L/100km ≈ 29.4 US MPG.
- Imperial MPG = 282.48 ÷ (L/100km) — e.g. 8 L/100km ≈ 35.3 Imperial MPG.
Want to compare two vehicles on cost-per-distance rather than a single trip? The Fuel Cost per km Comparator is built for that, and the E20 Mileage Impact Calculator estimates how switching to an ethanol blend shifts your running cost. To turn any of these figures into a percentage change, our Percentage Calculator does the last step.
Assumptions and limitations
This is deterministic arithmetic, and it is only as good as the inputs you give it. Specifically:
- Fuel economy is treated as a single constant average over the whole trip — there is no adjustment for city versus highway driving, terrain, load, weather or driving style.
- Fuel price is a single figure for the entire trip; it does not model prices changing along the route.
- EPA and government-rated MPG / L-per-100km figures are test-cycle numbers that many drivers do not achieve day to day — real-world city driving can use 20-30% more fuel than the sticker suggests.
- Only priced fuel volume is modelled: no tolls, parking, wear-and-tear or non-fuel costs are included.
- Electric vehicles are out of scope — they consume electricity (kWh), not a priced fuel volume. Hybrids work if you enter their gasoline-mode economy.
For the most accurate estimate
Frequently asked questions
How do I calculate how much a road trip will cost in fuel?+
Divide the trip distance by your vehicle's fuel economy to get the fuel used, then multiply by the price per unit of fuel. For example, 300 miles at 25 MPG uses 12 gallons; at $4.00/gallon that's $48.00 total. If you're travelling with others, divide the total by the number of people sharing the cost.
What is the difference between US MPG and Imperial MPG?+
They use different gallon sizes: a US gallon is 3.785411784 litres, while an Imperial (UK) gallon is 4.54609 litres — about 20% larger. The same vehicle therefore shows a higher Imperial MPG figure than US MPG for identical real-world fuel economy. Always match your MPG figure and your fuel price to the same gallon convention, or the calculated cost will be wrong.
How do I convert L/100km to MPG?+
For US MPG: divide 235.215 by the L/100km figure. For Imperial MPG: divide 282.48 by the L/100km figure. For example, 8 L/100km converts to about 29.4 US MPG or 35.3 Imperial MPG. This calculator does the conversion for you — just select the L/100km convention and enter your vehicle's rated consumption directly.
Why does L/100km use a different formula than MPG or km/L?+
MPG and km/L measure distance per unit of fuel (higher is more efficient), so cost = distance divided by economy, times price. L/100km measures fuel per unit of distance — the inverse relationship — so it's cost = distance times consumption divided by 100, times price per litre. Both give the same real-world answer; they're just two different ways of expressing fuel efficiency.
How much fuel will I use on a 500 mile trip getting 30 MPG?+
500 miles divided by 30 MPG equals about 16.67 gallons. At a typical price of $3.50/gallon, that's roughly $58.33 in fuel for the trip. Enter your own price per gallon and actual mileage for a precise figure — real-world MPG is often a bit lower than the EPA label rating.
Does this calculator account for a round trip?+
Enter the total distance you'll actually drive — for a round trip, double your one-way mileage (or km) before entering it. The calculator doesn't assume a direction; it simply multiplies whatever distance you enter by your fuel economy and price.
How accurate is a fuel cost estimate compared to what I'll actually spend?+
It's a good baseline, but real spending can differ because of traffic, air conditioning, cargo weight, terrain, driving style and price changes along the route. EPA and government test-cycle MPG/L-per-100km ratings are often 10-20% higher than real-world highway driving. For the most accurate estimate, use your vehicle's actual observed fuel economy rather than the sticker rating.
How do I split fuel costs evenly with passengers on a shared trip?+
Enter the number of people sharing the cost in the passengers field, and the calculator divides the total fuel cost evenly among everyone, including the driver. For a $48.00 total trip cost split 3 ways, each person owes $16.00. It assumes an even split — you can adjust manually if one person contributes less (e.g. no car, less luggage).
Does E10 or E20 ethanol-blended fuel change my fuel cost?+
Yes — ethanol has lower energy density than pure gasoline, so blended fuels like E10 (about 3% lower economy) or E20 (roughly 3-4% lower) typically reduce your real-world MPG slightly compared to the same vehicle on pure gasoline, even though the pump price may be lower. Enter your actual observed MPG with the blend you use, rather than the manufacturer's pure-gasoline rating, for an accurate cost.
Can I use this calculator for diesel or hybrid vehicles?+
Yes for diesel — just enter the diesel price and your vehicle's diesel MPG or L/100km rating. For hybrids running only on their internal combustion engine, use the gasoline-mode MPG. Pure electric vehicles (EVs) aren't supported here since they consume electricity (kWh) rather than a priced fuel volume.
What's a typical fuel economy figure to use if I don't know my car's exact MPG?+
A typical modern petrol sedan averages roughly 25-35 US MPG combined (about 7-9.5 L/100km), while SUVs and trucks often average 15-25 MPG (about 9.5-16 L/100km) and small hybrids can exceed 50 MPG (under 4.7 L/100km). Check your vehicle's window sticker, owner's manual or a site like fueleconomy.gov for your exact model's rating.
Why is my estimated fuel cost lower than what I actually spend at the pump?+
The calculator assumes a constant fuel price and a constant fuel economy for the whole trip. In practice, prices vary by gas station and city vs. highway driving affects real MPG — city stop-and-go traffic can use 20-30% more fuel than steady highway cruising. Re-run the estimate with your actual observed MPG (from your trip computer or by tracking fill-ups) for a closer match.
Disclaimer
Sources
- U.S. Department of Energy / EPA — fueleconomy.gov: annual fuel cost = (miles / MPG) x price per gallon
- Natural Resources Canada — Understanding the fuel consumption tables: litres used = distance(km) x consumption(L/100km) / 100
- Wikipedia — Fuel economy in automobiles: MPG/km/L/L-per-100km definitions and exact unit-conversion constants
Formula and data last reviewed by the TheCalculatorHive team on 11 July 2026. Figures are for general information, not professional advice.
Related calculators
Compare your real running cost per km across petrol, E20 (ethanol blend), CNG and EV — see which fuel saves you the most money every month.
E20 Mileage ImpactSee how much mileage you lose and the extra fuel cost per month and year on E20 petrol — from your car's km/L, monthly distance and pump price.
PercentageWork out what is X% of Y, what percent one number is of another, and the percentage increase or decrease between two values.