Everyday calculator

Fuel Cost Calculator, Trip Cost by Distance, MPG & Gas Price

Estimate fuel costs for any trip based on distance, fuel efficiency, and gas price. Compare cost per mile and total round-trip expenses.

According to the U.S. Internal Revenue Service and the National Institute of Standards and Technology, more than 1,000 published rate, threshold, and conversion reference values update annually across tax, mortgage, and engineering domains that CalcMesh formulas trace to. The CalcMesh registry listed 53 calculators across 9 categories as of August 2026. See our methodology for derivation standards and refresh cadence.

Shortlist stays in this browser. Open my saved calculators.

miles
MPG

Check your vehicle's EPA rating or trip computer

$ /gal

Total Fuel Cost

Estimated trip cost

Fuel Needed

Total fuel for the trip

Cost per Mile/km

Per-unit travel cost

How CalcMesh estimates fuel cost

Trip fuel cost equals distance divided by fuel economy, multiplied by the price per unit of fuel. For example, a 300-mile trip at 30 miles per gallon and $3.50 per gallon costs $35.00.

We compute total and per-mile cost from your inputs; real consumption varies with speed, load and terrain, which we discuss in our methodology.

Tips to Improve Fuel Efficiency

  • Maintain tire pressure: Under-inflated tires increase rolling resistance and can reduce efficiency by 3% or more.
  • Drive smoothly: Avoid rapid acceleration and hard braking. Aggressive driving can lower MPG by 15-30% on highways.
  • Optimal speed: Most cars are most efficient at 45-65 mph. Every 5 mph over 50 mph is roughly like paying an extra $0.30 per gallon.
  • Reduce idling: Idling uses a quarter to a half gallon per hour. Turn off the engine if you'll be stopped for more than a minute.
  • Regular maintenance: Clean air filters, fresh oil, and proper tune-ups help your engine run efficiently.
  • Lighten the load: Every 100 lbs of extra weight reduces MPG by about 1%.

MPG vs L/100km

The US uses Miles Per Gallon (MPG) where higher is better. Most of the world uses Liters per 100 Kilometers (L/100km) where lower is better. The conversion formula is: L/100km = 235.215 / MPG.

MPG L/100km
20 MPG 11.8 L/100km
30 MPG 7.8 L/100km
40 MPG 5.9 L/100km
50 MPG 4.7 L/100km

When to Use This Calculator

  • Road trip planning: Budget total fuel costs before a long drive across multiple states.
  • Vehicle comparison: See annual fuel cost difference between a 22 MPG SUV vs 35 MPG sedan at 15,000 miles/year.
  • Commute costs: Calculate monthly fuel expense for a daily work commute to factor into budgeting.

Real-World Examples

Example 1, Road trip: 1,200-mile round trip, 28 MPG vehicle, $3.50/gallon. Fuel needed: 42.9 gallons. Total cost: $150. Cost per mile: $0.125.

Example 2, Annual commute: 30 miles/day, 250 days/year = 7,500 miles. At 22 MPG and $3.50/gallon: $1,193/year. Switching to a 35 MPG hybrid saves $455/year.

Limitations & Assumptions

  • Uses a single MPG figure, actual efficiency varies between city and highway driving.
  • Gas price is entered manually, check current local prices at GasBuddy or AAA.
  • Does not account for tolls, EV charging costs, or hybrid electric-mode miles.

Data Sources

MPG/L/100km conversion formula: 235.215 (derived from unit analysis). Fuel efficiency guidance from US Department of Energy fueleconomy.gov and EPA test cycle data. Speed-efficiency curve per DOE Oak Ridge National Laboratory vehicle analysis.

Note: Actual fuel costs depend on driving conditions, vehicle maintenance, and real-time fuel prices. This calculator provides estimates only.

Worked example, 420-mile weekend trip

Inputs: distance 420 mi, economy 27.5 MPG, price $3.49/gal (labelled trip math only):

  • Gallons needed: 420 ÷ 27.5 = 15.27 gal.
  • Trip fuel cost: 15.27 × 3.49 ≈ $53.30.
  • Per-mile fuel: 53.30 ÷ 420 ≈ $0.127/mi.
  • L/100km check: 235.215 ÷ 27.5 ≈ 8.55 L/100km (same economy, metric label).
  • If highway MPG is 31 and city 24, a 70/30 mix ≈ 0.7×31+0.3×24 = 28.9 blended - rerun with that figure when the trip is mixed.

After you price the trip

What to do with the numbers

  • Budget the gallons × local pump price line separately from tolls/food; this tool is fuel-only.
  • Swap city vs highway MPG when the route is not all interstate - a single EPA combined figure understates stop-and-go.
  • For annual commute cost, multiply daily miles × workdays, then rerun; do not annualize a one-way figure by accident.
  • Convert with L/100km = 235.215 / MPG when comparing a EU sticker to a US trip plan.

Methodology & Assumptions

This calendar tool counts civil days and applies stated unit rates to the dates and distances you enter. Time-zone edges follow the browser zone database for your inputs.

How this calendar node runs

Date and rate tools count civil days and apply stated unit rates. Zone edges follow the browser zone database. Published domain formulas govern the identities; when an agency updates rates or thresholds we refresh defaults and the page lastmod.

Frequently Asked Questions

What is a good MPG (miles per gallon)?
The average fuel economy for new cars in the US is about 25-30 MPG combined (city and highway). A compact car typically gets 30-40 MPG, while SUVs and trucks average 18-25 MPG. Hybrid vehicles often achieve 40-60 MPG, and plug-in hybrids can exceed 100 MPGe when using electric power. Check the EPA fuel economy ratings at fueleconomy.gov for your specific vehicle.
How do I convert between MPG and L/100km?
To convert MPG to L/100km, divide 235.215 by the MPG value. For example, 30 MPG equals about 7.8 L/100km. To convert L/100km to MPG, divide 235.215 by the L/100km value. Note that a higher MPG means better efficiency, while a lower L/100km means better efficiency, they work in opposite directions.
Why does my actual fuel consumption differ from the estimate?
Real-world fuel consumption varies based on driving conditions, speed, traffic, weather, tire pressure, vehicle maintenance, cargo weight, and driving style. Highway driving is typically more efficient than city driving. Air conditioning, idling, and aggressive acceleration all increase fuel use. The calculator gives an estimate based on your stated efficiency rating.
How can I reduce fuel costs?
Drive at moderate speeds (55-65 mph is most efficient for most cars). Maintain proper tire pressure, which can improve efficiency by up to 3%. Remove excess weight from your vehicle. Use cruise control on highways. Avoid excessive idling. Keep up with regular maintenance such as oil changes and air filter replacements. Plan routes to avoid traffic and combine errands into fewer trips.

This page identifies the inputs, method, and limitations behind its estimates. CalcMesh does not publish lender, insurer, provider, or plan fee schedules. Any monetary output is calculated from the inputs shown on the page, not a current quote. Compare a fee, rate, or term with the governing agreement or disclosure before a consequential decision. Calculator outputs are not professional advice. Date and rate counts here follow the calendar inputs you supply—no external mileage log. See our editorial standards & corrections policy, the methodology behind these numbers, or report a data error.

Catalog graph

Cross the mesh from Fuel Cost Calculator

Everyday CALENDAR node · 6-tool category. Same-category neighbours first by description mass, then popular bridges, live catalog graph, not a fixed related list.

Inputs, defaults, and authoritative sources
Input Default Source / authority
All inputs Domain-typical defaults Editorial methodology, CalcMesh 2026