Skip to content

Gas Cost Calculator

Enter the distance, the fuel efficiency in the format you know, and the fuel price. The calculator converts everything, applies the round trip if needed, and splits the cost between passengers. In the default case a 500-mile round trip at 26 mpg costs $67.31, or $33.65 each for two people.

Updated 2026-11-21 Editorial estimate Calccc Editorial Team Free · No sign-up

The number that matches the format you chose above.

$

Include the driver. The total is divided by this number.

Scenarios A/BSave two input sets and compare the results. Stored only in this browser.
AEmpty
BEmpty

Your inputs stay in this browser. No account, no uploads.

Professional worksheet

Detailed schedule & assumptions

Inputs used, method, sensitivity, and any year-by-year table. The summary above stays compact; the audit lives here.

Professional worksheet

Inputs, scope, and sensitivity

Inputs used

Method and scope

Result audit

MetricValue

What this calculator does

A trip's fuel cost is a short multiplication once the units agree, and unit confusion is where most estimates go wrong. This calculator accepts miles or kilometres, accepts efficiency as miles per gallon, litres per 100 km, or kilometres per litre, and accepts the price per gallon or per litre. It converts through a single set of constants, so the same trip entered two different ways gives the same answer.

How to use it

  1. Enter the one-way distance and choose miles or kilometres.
  2. Choose the efficiency format that matches your number.
  3. Enter the efficiency figure and the fuel price.
  4. Specify whether the price is per gallon or per litre.
  5. Say whether the trip is one way or a round trip.

How it works

Fuel = miles / mpg, or litres = km × (L/100 km) / 100, or litres = km / (km per litre). Cost = fuel × price per gallon or litre. A round trip doubles the distance before the fuel is calculated. Cost per person = total cost / passengers. Example: 500 miles at 26 mpg is 19.23 gallons; at $3.50 a gallon the trip costs $67.31.

Example calculations

Example 1: a round trip in miles

250 miles each way at 26 mpg and $3.50 a gallon is 500 miles, 19.23 gallons, and $67.31. Split two ways, each person pays $33.65. The same trip is about 805 km and uses 72.8 litres, so the unit conversions stay consistent.

Example 2: a metric one-way trip

A 400 km drive at 7.5 L/100 km uses 30 litres. At $1.70 a litre the fuel costs $51.00, and split three ways it is $17.00 each. The calculator also reports an equivalent of 31.36 mpg for anyone comparing with a US figure.

Example 3: a longer trip with one driver

600 miles each way at 32 mpg and $3.20 a gallon is 1,200 miles, 37.5 gallons, and $120.00. With one person the full cost falls on the driver, which is $0.10 a mile; the carbon estimate is about 328 kg of CO2.

What the result means

The cost per mile and cost per kilometre are the numbers to reuse: once you know them, a new trip is just distance times rate. Efficiency format matters less than it seems, because the calculator converts mpg, L/100 km, and km/L to the same internal volume. What does change the real number is how the car is driven. Published efficiency is measured under test conditions; high speeds, roof racks, towing, air conditioning, cold weather, and stop-and-go traffic all raise consumption.

Common mistakes

  • Entering kilometres while the efficiency is in miles per gallon.
  • Forgetting that a return journey doubles the distance.
  • Mixing price per litre with fuel measured in gallons.
  • Using the highway rating for a mostly city trip.
  • Ignoring extra load, towing, or roof-box drag.

Assumptions and limits

  • Efficiency is a steady average for the whole trip.
  • One US gallon is 3.785411784 litres and one mile is 1.609344 km.
  • Fuel price is constant along the route.
  • The round-trip option doubles the entered one-way distance.
  • All passengers share the fuel cost equally, including the driver.

Frequently asked questions

How do I convert mpg to L/100 km?

Divide 235. 215 by the mpg figure. For example, 26 mpg is about 9. 05 L/100 km. The calculator does the conversion internally, so you can enter either format.

Should the driver pay a share?

In a fair-share split the driver is one of the passengers. Some groups instead treat the driver as covering the car's wear; decide the rule before the trip.

Why is my real cost higher than the estimate?

Test-cycle efficiency is optimistic. Speed, load, temperature, tyre pressure, and traffic can add 10% to 30% to real consumption.

Does this include tolls or parking?

No. It covers fuel only. Add tolls, parking, and any rental costs separately if you need the full trip cost.

How accurate is the CO2 figure?

It is a planning estimate based on burning about 2. 31 kg of CO2 per litre of petrol. Diesel and electric vehicles have different factors.

Sources

Educational estimate only, not professional financial, legal, tax, medical, or construction advice. Verify important decisions with a qualified professional.

2026 update

How to use the professional output

This page is not just a formula box. The result is designed to be checked, compared, and taken away.

  • Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
  • A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
  • Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.

The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.

Calccc Editorial Team · Updated 2026-11-21

Prepared by Calccc Editorial Team as an educational estimate. This page is not a licensed professional review and is not financial, medical, legal, or tax advice.

Editorial estimate prepared by the Calccc Editorial Team; fuel and emissions context from fueleconomy.gov and EIA.