Fuel Cost Calculator

Trip fuel cost is distance divided by fuel economy (how far you go per gallon or how many liters per 100 km), multiplied by the pump price—this tool handles MPG or L/100km and optional round-trip doubling.

Runs in your browser · No data stored · No signup

Fuel cost = (distance ÷ fuel economy) × fuel price. For MPG: gallons = miles ÷ MPG, then multiply by price per gallon. For L/100km: liters = km × (L/100km ÷ 100), then multiply by price per liter.

Fuel cost estimates are based on your inputs and constant fuel efficiency. Actual costs vary by driving style, speed, traffic, AC use, vehicle condition, and live fuel prices — check current pump prices before long trips.

Loading…
By Muhammad Abdullah Rauf · Founder, EverydayTools.proUpdated 2026-06-08· Reviewed by EverydayTools Editorial Team

How do I calculate the fuel cost of a trip?

Trip fuel cost is determined by three values: distance, fuel efficiency (how far your vehicle travels per unit of fuel), and the current fuel price.

**US / imperial (MPG)**:

1. Gallons needed = miles ÷ MPG

2. Cost = gallons needed × price per gallon

Example: 300 miles at 30 MPG with fuel at $3.50/gallon → 300 ÷ 30 = 10 gallons × $3.50 = $35.00

**Metric (L/100km)**:

1. Liters needed = distance (km) × (L/100km ÷ 100)

2. Cost = liters needed × price per liter

Example: 500 km at 7.5 L/100km with fuel at $1.80/L → 500 × (7.5 ÷ 100) = 37.5 L × $1.80 = $67.50

For a round trip, double the distance before applying the formula. Some calculators also let you add a buffer (5–10%) for city traffic, detours, or AC use.

How to use Fuel Cost Calculator

  1. Select unit system

    Choose MPG (miles per gallon, US imperial) or L/100km (metric). The calculator uses the correct formula for each unit — do not mix units.

  2. Enter trip distance

    Type the one-way distance in miles (for MPG) or kilometers (for L/100km). For a round trip, enable the round-trip option — the calculator will double the distance automatically.

  3. Enter fuel efficiency

    Enter your vehicle's fuel economy. Check your car's display, window sticker, or look up your model's combined EPA rating. City driving typically delivers 10–20% fewer MPG than highway estimates.

  4. Enter fuel price

    Use the current pump price in your area — per gallon for MPG mode, per liter for L/100km mode. Check GasBuddy, GasPrices.com, or your country's fuel price tracker for current rates.

  5. Read the result

    The results show total fuel volume needed, total cost, and cost per mile or per km. Use the optional buffer field to add 5–10% for city traffic, hills, or AC.

Fuel Cost Calculator examples

Weekend road trip (US)

Input

Distance: 250 miles each way (round trip: 500 miles) · 28 MPG · $3.45/gallon

Output

Fuel needed: 17.9 gallons · Total cost: $61.63

500 miles ÷ 28 MPG = 17.86 gallons × $3.45 = $61.60. Add a 10% buffer for hills and traffic: ~$67.80 budgeted.

European road trip (metric)

Input

Distance: 800 km one way · 6.5 L/100km · €1.75/liter

Output

Fuel needed: 52 liters · Total cost: €91.00

800 km × (6.5 ÷ 100) = 52 liters × €1.75 = €91.00 one way. The metric formula is: liters = km × L/100km ÷ 100.

Who uses Fuel Cost Calculator?

Common real-world scenarios where this tool saves time.

Road trip budgeting

Estimate fuel costs before a long road trip to budget accurately and compare the cost of driving versus flying or renting a more fuel-efficient car.

Daily commute cost

Calculate the monthly fuel spend for your commute — multiply the one-way cost by working days to see annual commuting expenses and compare to public transport.

Comparing two vehicles

Run the same trip through a 25 MPG SUV and a 40 MPG hybrid to see the annual fuel savings of a more efficient car at your typical mileage.

Freight and commercial logistics

Estimate fuel costs per route for small business deliveries or fleet management, factoring in diesel price vs. petrol differentials.

Workflow guides

Step-by-step chains that connect related tools for common tasks.

Budget a road trip

Estimate total fuel cost, then add accommodation and meals for a full trip budget.

  1. Enter the round-trip distance, your car's fuel economy, and the current pump price.
  2. Add 5–10% buffer for traffic and detours.
  3. Compare to the cost of flying: add car parking, gas, vs. flight price and airport transit.
  4. Use the result alongside accommodation estimates to set a total trip budget.

Evaluate a car purchase by annual fuel cost

Compare the real-world running cost of two vehicles at your annual mileage.

  1. Enter your annual mileage as the distance (e.g. 15,000 miles/year).
  2. Run the calculator twice — once for the current vehicle's MPG, once for the candidate vehicle.
  3. Compare annual fuel spend difference — factor this into the purchase price payback period.
  4. A 10 MPG improvement at 15,000 miles/year and $3.50/gallon saves ~$875/year.

Reference tables

Fuel efficiency by vehicle type (approximate US averages)

Typical EPA combined fuel economy for common vehicle classes.

Vehicle typeTypical MPG (combined)Equivalent L/100km
Compact sedan30–38 MPG6.2–7.8 L/100km
Midsize sedan26–32 MPG7.4–9.1 L/100km
SUV (standard)20–28 MPG8.4–11.8 L/100km
Truck / pickup17–23 MPG10.2–13.8 L/100km
Hybrid sedan40–58 MPG4.1–5.9 L/100km
Plug-in hybrid30–45 MPG (gas mode)5.2–7.8 L/100km

Look up your exact model at fueleconomy.gov for accurate figures — trim level and drivetrain significantly affect real-world efficiency.

Advertisement

Frequently Asked Questions

How do I calculate fuel cost for a road trip?

Divide your trip distance by your vehicle's fuel efficiency (MPG or km/L) to get gallons or liters needed, then multiply by the current pump price. Example: 400 miles ÷ 32 MPG = 12.5 gallons × $3.60 = $45.00 one way. Enable round trip to double the distance automatically.

What is the difference between MPG and L/100km?

MPG (miles per gallon) measures how far you travel per unit of fuel — higher is better. L/100km (liters per 100 kilometers) measures how much fuel you use per unit of distance — lower is better. To convert: L/100km = 235.21 ÷ MPG. For example, 30 MPG ≈ 7.84 L/100km.

Why is my actual fuel cost different from the estimate?

Fuel economy varies by driving style, speed, load, tire pressure, AC use, and road conditions. EPA/official ratings are measured on standardized test cycles. City driving typically reduces efficiency by 15–25% versus highway. Heavy traffic, hills, cold weather, and loaded cargo all reduce MPG. Add a 5–10% buffer to compensate.

How do I find my car's fuel efficiency?

Check your car's trip computer (most modern vehicles display instantaneous and average MPG), the original window sticker, or look up your make, model, and year at fueleconomy.gov (US) or the equivalent in your country. The combined (city/highway mix) EPA rating is a reasonable estimate for mixed driving.

Can I calculate diesel fuel cost too?

Yes — the formula is identical. Enter your diesel fuel price per gallon or liter, your vehicle's diesel MPG or L/100km, and the distance. The tool works for any fuel type as long as you use the correct efficiency and current pump price for that fuel.

How much does a 500-mile road trip cost in fuel?

At average US values in 2026 (~$3.50/gallon, ~30 MPG): 500 ÷ 30 = 16.7 gallons × $3.50 = $58.30 one way ($116.60 round trip). At 25 MPG: $70 one way. The cost is highly sensitive to fuel efficiency — improving from 20 to 30 MPG reduces fuel cost by 33%.

Does the calculator handle electric vehicles (kWh)?

This calculator is designed for liquid fuel (gasoline and diesel) using MPG or L/100km. For EVs, you would use kWh/100km or MPGe (miles per gallon equivalent) and cost per kWh — the math is the same structure but requires different inputs. Use a dedicated EV range and cost calculator for electricity-based estimates.

Privacy, accuracy, and trust

Privacy

All fuel cost calculations run in your browser — distance and price inputs are not uploaded to EverydayTools servers.

Estimates only — actual fuel costs vary by driving conditions, speed, load, climate, and vehicle condition. Financial results are estimates for planning only — not tax, legal, or investment advice. Verify with your employer, institution, or a qualified professional.

More free tools for the same workflow.

Advertisement

Reviewed by EverydayTools Editorial Team on 2026-06-08.