← Finanças e dinheiro

Travel & commute

Fuel Economy, Gas Cost and Trip Cost Calculator

See how far your car goes on a tank, how much gas a trip will cost, and how much each person should pay on a road trip.

Sample values auto-calculate on load so you can see results immediately. All calculations stay in your browser until you copy a URL on purpose.

Outros idiomas ja | en | zh-CN | es | pt-BR | id | fr | hi-IN | ar

How to use (3 steps)

  1. Pick what you need: real-world fuel economy, gas cost from distance, or full trip cost with split per person.
  2. Select Metric or US/Imperial units, enter distance and fuel economy (or odometer data), and add tolls or parking if needed.
  3. Results update automatically. Use “Copy URL” to keep the same inputs when sharing.

Switching unit systems changes labels only; it does not convert the numbers you already typed.

Inputs

Enter typical values for your route. Currency is cosmetic; the calculator works with any symbol.

Use this when planning a route and you know the distance, your car’s fuel economy and the gas price.

You can switch anytime; results will be shown using this unit set.

Symbol only (for example $, €, ¥). Keep numbers plain in the other fields.

Distance driven and fuel used (actual)

Use start and end only if you prefer automatic distance.

Route and car information

If unchecked, calculations use one-way distance only.

Turn this on if you want to see monthly distance, fuel use and gas cost for this route.

Other trip costs

Leave this off if you only want to split the gas cost. Turn it on to include extra costs.

Leave any field blank to treat it as zero. Use whole numbers for people.

Enter or adjust the values on the left to see fuel economy, gas cost, and per-person totals here.

What these results mean

Values will summarize your chosen mode: fuel economy in km/L, gas cost per trip, or cost per person.

Figures are rounded to 2 decimals. Real-world results vary with traffic, driving style, weather and load.

How it’s calculated

FAQ

Which unit system should I pick?

Choose Metric (km, L) for km/L or L/100km inputs. Choose US/Imperial for miles and gallons. The calculator converts between them internally, so results stay comparable.

How are km/L, L/100km and mpg converted?

All fuel economy values are turned into liters per kilometer internally. km/L is inverted, L/100km is divided by 100, and mpg is converted from miles and gallons. The calculator then reports all three formats rounded to two decimals.

Do I have to enter tolls or parking?

They are optional. If you leave them blank or zero, totals will only include gas. Adding tolls, parking or rental fees gives a fuller picture for road trips.

Is my data saved or sent somewhere?

Everything runs in your browser. Values are not sent to a server. Use the “Copy URL” button only when you want to share a scenario deliberately.

Related calculators

, defaultUnit: 'metric', defaults: { mode: 'mode2', m1Distance: '500', m1Fuel: '40', m1Price: '170', m2Distance: '120', m2Economy: '15', m2Price: '160', m2MonthTrips: '8', m3Toll: '6000', m3Parking: '2000', m3Rental: '0', m3Other: '0', m3People: '4' }, labels: { headings: { mode1: 'Fuel economy result', mode2: 'Gas cost and fuel use', mode3: 'Total trip cost' }, primary: { mode1: 'Fuel economy (km/L)', mode2: 'Gas cost for one round trip', mode3: 'Cost per person' }, modeDescriptions: { mode1: 'Use this when you have actual distance and fuel used (or odometer start and end) and want to see real-world fuel economy.', mode2: 'Use this when planning a route and you know the distance, your car’s fuel economy and the gas price.', mode3: 'Use this when you also want to add tolls, parking or rental and split the total per person.' }, summary: { distance: 'Distance driven', fuelUsed: 'Fuel used', economyKmpl: 'Fuel economy (km/L)', economyLper100: 'Fuel economy (L/100km)', economyMpg: 'Fuel economy (mpg)', gasCost: 'Gas cost', costPerKm: 'Gas cost per distance', costPer100Km: 'Gas cost per 100 km', roundDistance: 'Round-trip distance', roundFuelUsed: 'Fuel used for one round trip', roundGasCost: 'Gas cost for one round trip', monthDistance: 'Monthly distance for this route', monthFuelUsed: 'Monthly fuel used', monthGasCost: 'Monthly gas cost', toll: 'Tolls', parking: 'Parking', rental: 'Rental / car sharing', otherCosts: 'Other costs', totalCost: 'Total trip cost', people: 'Number of people', costPerPerson: 'Cost per person' }, notes: { mode1: 'Based on distance and fuel used. Gas cost appears when a price is entered.', mode2: 'Calculated from your one-way distance, fuel economy and price. Monthly figures appear if you enter trips per month.', mode3: 'Adds gas cost and any extra costs you include, then divides by the number of people.' }, invalid: 'Please check your inputs.', rounding: 'Figures rounded to 2 decimals.', share: { copied: 'Copied!', error: 'Copy failed' }, errorDistance: 'Enter a distance greater than 0.', errorFuel: 'Enter a fuel amount greater than 0.', errorEconomy: 'Enter a fuel economy greater than 0.', errorPrice: 'Enter a price greater than or equal to 0.', errorPeople: 'Enter a number of people greater than or equal to 1.', errorTrips: 'Enter trips per month as a positive number.', units: { distance: { metric: 'km', imperial: 'mile' }, fuel: { metric: 'L', imperial: 'gallon' }, price: { metric: 'per L', imperial: 'per gallon' }, perDistance: { metric: 'per km', imperial: 'per mile' }, per100: { metric: 'per 100 km', imperial: 'per 100 miles' } } } }); renderRelated({ locale: 'pt-br', selfUrl: '/pt-br/calculators/fuel-gas-trip-cost/', category: 'finance' }) .then(function(){ var c = document.getElementById('related'); if (c && !c.children.length) { c.innerHTML = ''; } }) .catch(function(){}); if (window.recordCalculatorVisit) { window.recordCalculatorVisit('fuel-gas-trip-cost'); } });