Gas Trip Cost Calculator

Calculate fuel used, total gas cost, and cost per person.

Inputs

Results

Fuel used
Total cost
Cost per person

Use this Gas Cost Calculator to estimate how much fuel a trip may use, how much the gas may cost, and how much each person should pay when splitting the cost. Enter the trip distance, vehicle fuel economy, fuel price, and number of people sharing the trip, then calculate fuel used, total cost, and cost per person.

Important Note: This Gas Cost Calculator estimates trip fuel use, total gas cost, and cost per person from distance, fuel economy, fuel price, and the number of people splitting the cost.

The result is a planning estimate only. Actual gas cost can vary because of traffic, speed, idling, weather, hills, cargo, tire pressure, driving style, fuel type, seasonal fuel blend, route changes, local taxes, station pricing, and differences between rated and real-world fuel economy.

Use this calculator for road-trip planning, commute cost checks, delivery estimates, shared-trip gas splitting, and fuel-budget planning. For business reimbursement, tax records, official mileage claims, fleet reporting, or accounting, verify distance, fuel price, fuel unit, receipts, reimbursement rules, and applicable policy before relying on the result.

Reviewed by: AjaxCalculators Editorial Team
Last updated: April 28, 2026
Method source: Standard fuel-cost formulas using distance, fuel economy, fuel price, and cost-sharing math
Editorial standards: AjaxCalculators Editorial Policy

What This Gas Cost Calculator Calculates

This calculator estimates the fuel cost of a road trip, commute, delivery route, or shared drive. It uses trip distance, vehicle fuel economy, and fuel price to estimate the amount of gas needed and the total cost.

The calculator can estimate:

  • Fuel used
  • Total gas cost
  • Cost per person
  • Trip cost using miles and MPG
  • Trip cost using kilometers and L/100km
  • Fuel cost using price per liter or price per US gallon

The live tool supports distance in kilometers or miles, fuel economy in L/100km or mpg (US), and fuel price per liter or per US gallon.

What Gas Cost Means

Gas cost is the estimated amount of money needed to fuel a vehicle for a selected distance. It depends mainly on three things:

  • Distance: how far you will drive
  • Fuel economy: how efficiently your vehicle uses fuel
  • Fuel price: how much gas costs per liter or per gallon

If multiple people are sharing the trip, the calculator can also divide the total cost by the number of people to estimate each person’s share.

How the Gas Cost Calculator Works

1) Fuel Used with MPG

If distance is entered in miles and fuel economy is entered as miles per gallon, the calculator estimates fuel used like this:

Fuel used (gallons) = distance (miles) ÷ MPG

For example, if a trip is 300 miles and the vehicle gets 30 mpg:

Fuel used = 300 ÷ 30 = 10 gallons

2) Fuel Used with L/100km

If distance is entered in kilometers and fuel economy is entered as liters per 100 kilometers, the calculator estimates fuel used like this:

Fuel used (liters) = distance (km) × L/100km ÷ 100

For example, if a trip is 250 km and the vehicle uses 8 L/100km:

Fuel used = 250 × 8 ÷ 100 = 20 liters

3) Total Gas Cost Formula

After fuel used is calculated, the calculator multiplies fuel used by the fuel price.

Total gas cost = fuel used × fuel price

If fuel used is in gallons, use price per gallon. If fuel used is in liters, use price per liter.

4) Cost Per Person Formula

If more than one person is splitting the cost, the calculator divides the total cost by the number of people.

Cost per person = total gas cost ÷ number of people

For example, if the total gas cost is $60 and 3 people split it:

Cost per person = 60 ÷ 3 = $20

Unit Conversions Used by the Calculator

The calculator can work with miles, kilometers, US gallons, and liters by converting values into compatible units. NIST conversion resources support the general mile-to-kilometer and gallon-to-liter relationships used for these conversions.

Conversion Value Use Note
1 mile 1.609344 kilometers Used when converting miles to kilometers.
1 kilometer 0.621371 miles Used when converting kilometers to miles.
1 US gallon 3.785411784 liters Used when converting US gallons to liters.
1 liter 0.264172 US gallons Used when converting liters to US gallons.

Worked Example: Miles and MPG

Suppose you are planning a 300-mile trip. Your vehicle gets 30 mpg, gas costs $3.50 per gallon, and 2 people are splitting the cost.

Step Calculation Result
Find fuel used Fuel used = 300 miles ÷ 30 mpg 10 gallons
Find total gas cost Total cost = 10 gallons × $3.50 $35.00
Find cost per person Cost per person = $35.00 ÷ 2 $17.50

So, a 300-mile trip at 30 mpg and $3.50 per gallon would use about 10 gallons, cost about $35.00, and cost about $17.50 per person if split between two people.

Worked Example: Kilometers and L/100km

Suppose you are planning a 250 km trip. Your vehicle uses 8 L/100km, fuel costs $1.60 per liter, and 4 people are splitting the cost.

Step Calculation Result
Find fuel used Fuel used = 250 km × 8 L/100km ÷ 100 20 liters
Find total gas cost Total cost = 20 liters × $1.60 $32.00
Find cost per person Cost per person = $32.00 ÷ 4 $8.00

So, a 250 km trip at 8 L/100km and $1.60 per liter would use about 20 liters, cost about $32.00, and cost about $8.00 per person if split between four people.

How to Use This Gas Cost Calculator

  1. Enter the trip distance.
  2. Select the distance unit: km or mi.
  3. Enter the vehicle fuel economy.
  4. Select the fuel economy unit: L/100km or mpg (US).
  5. Enter the fuel price.
  6. Select whether the price is per liter or per US gallon.
  7. Enter the number of people splitting the cost.
  8. Click Calculate to estimate fuel used, total gas cost, and cost per person.
  9. Use Reset to clear the calculator and start again.

How to Interpret the Result

Result What It Means Important Caution
Fuel used The estimated amount of gas needed for the entered trip distance. Real fuel use may differ from the entered fuel-economy value.
Total cost The estimated fuel used multiplied by the fuel price. This includes fuel only, not tolls, parking, maintenance, vehicle wear, or other trip expenses.
Cost per person Total gas cost divided by the number of people sharing the trip. This splits fuel cost only. It does not split total travel cost unless other expenses are added separately.
Distance and fuel economy The inputs used to estimate fuel amount. Use realistic trip distance and real-world fuel economy for better estimates.
Fuel price The price per liter or per US gallon used in the cost calculation. Fuel prices can vary by station, location, fuel grade, date, and taxes.

MPG vs L/100km

MPG and L/100km are both fuel-economy measurements, but they work in opposite directions.

Fuel Economy Unit What It Means Better Direction Example
MPG (US) Miles traveled per US gallon. Higher is better. 30 mpg means the vehicle travels about 30 miles per US gallon.
L/100km Liters used per 100 kilometers. Lower is better. 8 L/100km means the vehicle uses 8 liters over 100 km.

Do not enter L/100km as MPG or MPG as L/100km. These two formats measure fuel efficiency differently and can produce very inaccurate results if mixed.

US Gallons vs UK Gallons

This calculator uses US gallons when the fuel economy is set to mpg (US) or the fuel price is set to price per US gallon.

Fuel Unit Equivalent in Liters Use Note
1 US gallon 3.785411784 liters Used by this calculator for mpg (US) and price per US gallon.
1 UK imperial gallon 4.54609 liters Not the same as a US gallon; do not use UK mpg values as US mpg without conversion.

If your fuel economy source uses UK mpg, convert it first or use a calculator that specifically supports mpg (UK).

Why Real Gas Cost Can Vary

This calculator gives a practical estimate, but real gas cost can change because driving conditions and fuel prices are not constant.

Factor How It Can Affect Gas Cost
Traffic and stop-and-go driving Can lower real-world fuel economy and increase fuel used.
Speed and acceleration habits Speeding, rapid acceleration, and hard braking can reduce MPG.
Idling time Uses fuel without adding distance.
Air conditioning and electrical accessories Can increase engine load and fuel use.
Hills, mountains, rough roads, or unpaved roads Can increase fuel use compared with flat-road estimates.
Cold weather and short trips Can reduce fuel economy before the engine reaches efficient operating temperature.
Tire pressure, alignment, and maintenance Poor tire condition, alignment, brake drag, or engine maintenance can reduce fuel economy.
Cargo, roof racks, trailers, or extra passengers Extra weight and drag can increase fuel use.
Fuel type and seasonal fuel blends Fuel energy content can vary by blend and season.
Fuel price changes Fuel price can vary by station, location, fuel grade, taxes, date, and market conditions.

Gas Cost vs Total Trip Cost

This calculator estimates fuel cost only. A full trip budget may include several other expenses.

Cost Type Included in This Calculator? Use Note
Gas or fuel cost Yes Calculated from fuel used × fuel price.
Cost per person Yes Splits estimated gas cost only.
Tolls No Add toll-road, bridge, tunnel, or congestion charges separately.
Parking No Add parking fees separately.
Hotel or lodging No Add lodging separately for long trips.
Food and drinks No Add travel spending separately.
Vehicle wear and maintenance No Fuel cost is not the same as full vehicle operating cost.
Rental car fees, insurance, or roadside assistance No Add these separately when relevant.
Ferry or bridge charges No Add route-specific charges separately.

Tips for a Better Estimate

Tip Why It Helps
Use your real-world fuel economy if you know it. Your actual MPG or L/100km may differ from advertised or test-cycle values.
Use the fuel price from your local area or planned route. Fuel prices can change by location and station.
Add extra distance for detours, parking searches, pickup stops, or scenic routes. The actual driven distance may be longer than the direct route.
Use city MPG for stop-and-go driving and highway MPG for highway trips. Fuel economy can differ significantly by driving pattern.
Use a lower MPG estimate if the vehicle is heavily loaded or towing. Extra load and drag can increase fuel use.
Check whether the fuel price is entered per liter or per gallon. A price-unit mismatch can make the estimate wrong.
Use the correct gallon type. This calculator uses US gallons for mpg and price per gallon.

Common Mistakes to Avoid

Mistake Why It Causes Problems
Entering L/100km as MPG L/100km and MPG use opposite efficiency logic.
Entering MPG as L/100km This can create a very inaccurate fuel-used estimate.
Entering price per liter when the calculator is set to price per gallon The fuel price unit must match the selected fuel unit.
Forgetting that US gallons and UK imperial gallons are different US and UK gallons have different liter equivalents.
Assuming advertised MPG always matches real-world driving Traffic, driving style, weather, maintenance, and load can change real MPG.
Ignoring traffic, idling, hills, and route changes These can increase fuel used and trip cost.
Using one-way distance when you want a round-trip cost A round trip usually needs double the one-way distance unless the return route differs.
Including tolls, parking, or maintenance in the gas-cost result The calculator estimates fuel cost only; other costs must be added separately.

Formula Summary

What You Want to Find Formula Use Note
Fuel used with MPG Gallons = miles ÷ MPG Use with price per US gallon.
Fuel used with L/100km Liters = kilometers × L/100km ÷ 100 Use with price per liter.
Total gas cost Total cost = fuel used × fuel price The fuel unit and price unit must match.
Cost per person Cost per person = total gas cost ÷ people Use when splitting fuel cost among passengers.
Miles to kilometers Kilometers = miles × 1.609344 Used for distance conversion.
Kilometers to miles Miles = kilometers × 0.621371 Used for distance conversion.
US gallons to liters Liters = US gallons × 3.785411784 Used for fuel volume conversion.
Liters to US gallons US gallons = liters × 0.264172 Used for fuel volume conversion.

Practical Uses

This Gas Cost Calculator is useful for quick fuel-cost and cost-sharing estimates.

Use Case How the Calculator Helps
Road trip fuel cost Estimate expected gas spending before a long drive.
Passenger cost sharing Split estimated gas money between passengers.
Commute cost planning Estimate daily, weekly, or monthly commuting gas cost by repeating the trip distance.
Delivery or rideshare fuel expense Estimate fuel-only cost for pickup, delivery, or rideshare routes.
Vehicle comparison Compare estimated fuel cost between two vehicles with different fuel economy values.
Fuel price sensitivity Check how trip cost changes when gas prices rise or fall.
Round-trip budgeting Estimate fuel cost for both outgoing and return journeys.
Long-drive fuel planning Estimate approximate fuel needed before a long trip.

When You May Need More Than This Calculator

This calculator is best for fuel-only estimates. You may need another tool or official method when the calculation requires live data, business records, or full vehicle operating costs.

Need Better Tool or Method
Live route distance Use a map or navigation tool with current route data.
Live traffic-adjusted cost Use navigation data and realistic stop-and-go fuel economy.
Current gas prices along a route Use a current fuel-price app, station price board, or official fuel price source.
Business reimbursement Follow employer, tax authority, or reimbursement-policy rules.
Full vehicle operating cost Add maintenance, tires, depreciation, insurance, parking, tolls, and other costs.
Electric vehicle travel cost Use an EV cost calculator with kWh/100 km, miles/kWh, charging price, and charging losses.
Fleet reporting Use actual mileage records, fuel receipts, vehicle data, and fleet-management software.

Frequently Asked Questions

How do I calculate gas cost for a trip?

First estimate fuel used, then multiply fuel used by the fuel price. For example, if a trip uses 10 gallons and gas costs $3.50 per gallon, the gas cost is $35.00.

How do I calculate fuel used with MPG?

Divide distance in miles by miles per gallon. For example, 300 miles ÷ 30 mpg = 10 gallons.

How do I calculate fuel used with L/100km?

Multiply distance in kilometers by L/100km, then divide by 100. For example, 250 km × 8 L/100km ÷ 100 = 20 liters.

How do I split gas cost between passengers?

Divide the total gas cost by the number of people sharing the cost. For example, $60 ÷ 3 people = $20 per person.

Is MPG the same as L/100km?

No. MPG measures distance traveled per gallon, so higher is better. L/100km measures fuel used per 100 kilometers, so lower is better.

Does this calculator use US gallons or UK gallons?

This calculator uses US gallons for mpg (US) and price per gallon. UK imperial gallons are different and should not be mixed with US gallon values.

Does gas cost include tolls and parking?

No. The calculator estimates fuel cost only. Add tolls, parking, ferry fees, lodging, meals, maintenance, and other travel expenses separately.

Why can my real gas cost be different?

Real gas cost can differ because of traffic, idling, speed, weather, terrain, tire pressure, vehicle load, maintenance, fuel type, fuel blend, local taxes, and fuel price changes.

References

  1. FuelEconomy.gov — Many Factors Affect MPG
  2. FuelEconomy.gov — Gas Mileage Tips: Driving More Efficiently
  3. U.S. Energy Information Administration — Factors Affecting Gasoline Prices
  4. NIST — Approximate Conversions from U.S. Customary Measures to Metric
  5. NIST SP 811 — Guide for the Use of the International System of Units

Related Calculators

Gas Cost Calculator Disclaimer

This Gas Cost Calculator provides planning estimates only. It estimates fuel used, total gas cost, and cost per person from the distance, fuel-economy value, fuel price, and passenger count entered by the user.

Actual fuel use can vary because of traffic, speed, acceleration, braking, idling, weather, terrain, road surface, route choice, vehicle load, towing, roof racks, tire pressure, maintenance, air conditioning, fuel type, fuel blend, and driving conditions. Actual gas price can vary by station, location, fuel grade, taxes, market conditions, and date.

This calculator estimates fuel cost only. It does not include tolls, parking, maintenance, tires, depreciation, insurance, registration, repairs, lodging, meals, driver pay, tax rules, reimbursement policies, or full vehicle operating cost. For official claims, business accounting, fleet reporting, or tax records, use actual receipts, official mileage records, and the applicable policy or professional guidance.

More of our calculators...

SLEEP CALCULATOR

Use our Sleep Calculator to find the best bedtime or wake-up time based on sleep cycles, fall-asleep time, and total hours in bed for a smoother morning.

Calorie Deficit Calculator

Use our Calorie Deficit Calculator to estimate BMR, maintenance calories, TDEE, calorie deficit, target calories, and weekly weight-change estimate.

Face Shape Calculator

Use our Face Shape Calculator to estimate your likely face shape from forehead, cheekbone, jawline, and face length measurements plus chin shape.

Age Difference Calculator

Use our Age Difference Calculator to find the exact age gap between two dates of birth in years, months, days, total months, total days, and approximate years.

Bikini Calculator

Use our Bikini Calculator to estimate your body shape from bust, waist, high hip, and hip measurements, then get bikini style suggestions that fit your shape.

Body Shape Calculator

Body Shape Calculator helps you identify your body type from key measurements and understand which shape category fits you best.

Helium Balloons Calculator

Use our Helium Balloons Calculator to estimate lift per balloon, total helium volume, and how many helium balloons you need to lift a given weight.

RPM Calculator

Use our RPM Calculator to find engine RPM from speed or vehicle speed from RPM using overall gear ratio and tire diameter, plus wheel RPM and tire circumference.

Reading Time Calculator

Use our Reading Time Calculator to estimate how long it takes to read a book, daily pages read, and time needed to finish from pages and reading speed.