05 / YOUR TRIP

Gas calculator for trips: cost and each person’s share

Work out what a drive will cost in gas and what each person owes. You type the miles from your map app; the calculator uses your car’s MPG and a dated EIA gas price: the U.S. average, a regional average, or one of the states and cities EIA reports.

Free to useNo account requiredInputs stay in your browser
YOUR NUMBERS

Your drive

Type the miles from your map app or odometer. This calculator doesn’t plan routes. The starting amounts are an example.

For a trip with several stops, add up the legs and choose One way.

Find your car’s EPA highway or combined MPG on fueleconomy.gov, or read the trip computer.

Gas price

The calculator opens on EIA’s U.S. average for the week of September 28, 2026. Choose one of EIA’s regional averages, or one of the nine states and ten cities it reports, or type the price you expect to pay.

EIA’s averages are for regular gasoline. If your car takes premium or diesel, type that price.

EIA regular gasoline, weekly retail average for the week of September 28, 2026 (released September 29, 2026), all taxes included. An area average, not a station price. State not listed? Use your region; see EIA’s map of states in each region ↗. View source ↗

Who’s paying

Count everyone in the car, including the driver.

Optional. Split the same way as the gas.

Local calculations. No sign-up.
How well do you know these inputs?

Identify where your numbers came from. This measures input quality, not the chance of a correct prediction.

Remember useful preferences (optional)

Miles, people and full results are saved only when you explicitly save a scenario.

ILLUSTRATIVE EXAMPLEUSD

Your 500-mile round trip

$74.42

in gas

Split 3 ways, that’s $24.81 each, driver included. That’s 16.67 gallons at $4.465 a gallon, EIA’s U.S. average for the week of September 28, 2026.

Each person pays$24.81
Gallons of gas16.67
Gas cost per mile$0.1488
Miles per $20 of gas134 miles
Each person’s share of the trip total, by group size
People in the carEveryone paysPassengers only
1$74.42—
2$37.21$74.42
3 (your group)$24.81$37.21
4$18.60$24.81
5$14.88$18.60
6$12.40$14.88
See the cost breakdown
Miles driven
500 mi
Gallons used
16.67
Gas
$74.42
Tolls and parking
$0.00
Trip total
$74.42
People paying
3 of 3
Each person’s share
$24.81
Show the math

Miles = 250 one way × 2 = 500 miles.

Gallons = 500 miles ÷ 30 MPG = 16.67 gallons.

Gas = 500 miles ÷ 30 MPG × $4.465 = $74.42.

Each share = $74.42 ÷ 3 people paying = $24.81.

Cost per mile = $4.465 ÷ 30 MPG = $0.1488.

Miles per $20 = $20 ÷ $4.465 × 30 MPG = 134.4 miles.

Assumptions & limitations
  • You typed the miles. This calculator doesn’t plan routes or check distances.
  • Your MPG on this trip can differ from the rating. FuelEconomy.gov says speeding, rapid acceleration and braking can lower gas mileage by roughly 15% to 30% at highway speeds, and a large roof-top cargo box by around 10% to 25% at Interstate speeds.
  • EIA’s weekly price is an average of regular gasoline retail prices in the area, all taxes included. The station where you fill up may charge more or less, and premium or diesel costs more.
  • Gas and the tolls or parking you entered only. Wear, maintenance, insurance and depreciation aren’t included. No IRS mileage rate is used: those are tax figures for business, medical, military moving and charity deductions, not the cost of a trip’s gas.
  • Gallons are rounded for display; dollar amounts use the unrounded gallons. Shares are rounded to the cent, so they can differ from the total by a cent or two.

Rough estimate

25/100 input quality

Confidence describes the quality of your inputs, not the probability this estimate is correct. The three source groups are equally weighted: example 25, estimate 65, checked 100.

Other ways to look at it

If only passengers paid
$37.21 each
Gas for each direction
$37.21
Read the full methodology ↗

KEEP THE COMPARISON GOING

A second option changes the picture.

Save your current estimate, adjust a few numbers, and compare. Scenarios stay on this device.

For example: Weekend trip, 3 people.

How to use this calculator

  1. Enter the one-way miles from your map app, choose round trip or one way, and enter your car’s MPG.
  2. Keep EIA’s weekly U.S. average, pick your region (or your state or city if EIA reports it), or type the price you expect to pay.
  3. Enter how many people are in the car and whether the driver pays a share. Add tolls and parking if you want them split too.

THE CONTEXT BEHIND THE COST

Gas money is easier to agree on before the drive.

Your map app gives the miles, but not how many gallons the trip will burn. Miles divided by MPG gives the gallons; gallons times the price per gallon gives the gas cost. That is all this calculator does, and it shows each step.

The split is a choice. You can divide the gas among everyone, the driver included, or let the passengers cover it because the driver brings the car. The calculator shows both, so the group can agree on one before anyone fills up.

The price matters as much as the MPG. The calculator opens on EIA’s latest weekly U.S. average and lets you choose one of EIA’s regional averages, or one of the nine states and ten cities it reports, for the same week, each labeled with its date. On a long drive you’ll buy gas in more than one place, so use the average for the area where you’ll fill up most, or type the price you expect.

Cost examples

How much gas does a round trip cost?

Round-trip gas at EIA’s U.S. average of $4.465 a gallon for the week of September 28, 2026, the price this calculator opens on. Distances and MPG are examples, not typical trips.

Round-trip gas cost by distance and fuel economy at $4.465 a gallon
TripAt 25 MPGAt 30 MPGAt 40 MPG
100 miles each way$35.72$29.77$22.33
250 miles each way$89.30$74.42$55.81
500 miles each way$178.60$148.83$111.63

Splitting the gas

A 150-mile-each-way round trip at 30 MPG uses 10 gallons, or $44.65 at that price. Four people splitting it, driver included, pay $11.16 each; if the three passengers cover it, each pays $14.88.

A worked example

With the illustrative inputs used when this tool first opens:

Your 500-mile round trip: $74.42 in gas

Miles = 250 one way × 2 = 500 miles.

Gallons = 500 miles ÷ 30 MPG = 16.67 gallons.

Gas = 500 miles ÷ 30 MPG × $4.465 = $74.42.

Each share = $74.42 ÷ 3 people paying = $24.81.

Cost per mile = $4.465 ÷ 30 MPG = $0.1488.

Miles per $20 = $20 ÷ $4.465 × 30 MPG = 134.4 miles.

Generated with the same calculation engine as the interactive result.

Formulas you can inspect

Miles driven = one-way miles × 2 for a round trip, or one-way miles for a one-way trip.

Gallons = miles driven ÷ MPG. Gas cost = miles driven ÷ MPG × price per gallon (the same fuel formula the commute and car calculators use).

Trip total = gas cost + tolls and parking entered for the whole trip.

Each share = trip total ÷ people paying, where people paying = everyone in the car, or everyone except the driver.

Cost per mile = price per gallon ÷ MPG. Miles per $20 = $20 ÷ price per gallon × MPG.

Assumptions and limits

  • You type the miles; the calculator doesn’t plan routes, check distances or add detours.
  • One MPG and one price apply to the whole trip. Real fuel economy changes with speed, load, terrain and weather, and prices change along the way.
  • EIA’s weekly prices are averages of Monday retail prices for an area, with all taxes included. They are not the price at a particular station, and they are updated once a week.
  • Only gas and the tolls or parking you enter are counted. Wear, maintenance, insurance, depreciation, food and lodging are not. No IRS mileage rate is used.
  • Amounts keep full precision until display; shares are rounded to the cent.

Sources for this tool

Common questions

How do I calculate the gas cost for a trip?

Divide the miles by your car’s MPG to get gallons, then multiply by the price per gallon. For example, 500 miles ÷ 30 MPG = 16.67 gallons. At EIA’s U.S. average of $4.465 a gallon for the week of September 28, 2026, that’s $74.42. The calculator does the same math and shows each step.

How much will gas cost for a 1,000-mile trip?

At EIA’s U.S. average of $4.465 a gallon for the week of September 28, 2026: $178.60 in a car that gets 25 MPG (40 gallons); $148.83 in a car that gets 30 MPG (33.3 gallons); $127.57 in a car that gets 35 MPG (28.6 gallons). Your MPG and the prices along your route change the answer.

How far will $20 of gas get me?

At EIA’s U.S. average of $4.465 a gallon for the week of September 28, 2026, $20 buys 4.48 gallons. That’s about 112 miles at 25 MPG, 134 miles at 30 MPG and 179 miles at 40 MPG. The calculator shows it for your car and price.

How much gas money should I give for a 2-hour drive?

Turn the time into miles first; your map app shows both. For example, if a 2-hour drive covers 120 miles (an average of 60 mph, used here only as an example), a car that gets 30 MPG burns 4 gallons. At EIA’s U.S. average of $4.465 a gallon for the week of September 28, 2026, that’s $17.86, or $8.93 each if you and the driver split it. If only you pay, it’s the full $17.86.

Should I enter one-way or round-trip miles?

Enter the one-way miles and choose Round trip; the calculator doubles them. For a trip with several stops, add up all the legs and choose One way.

Should the driver pay a share of the gas?

There is no rule; it is the group’s choice. Splitting among everyone treats the drive as shared travel. Letting passengers cover the gas recognizes that the driver supplies the car and its wear. The calculator shows both amounts side by side.

Why not charge the IRS mileage rate?

The IRS standard mileage rates are tax figures for business, medical, military moving and charity deductions. They are not what the gas for a trip costs. If your group also wants to share the wear on the car, agree on an amount openly; this calculator counts gas, tolls and parking only.

Methodology reviewed September 27, 2026. Trip gas cost methodology · Report a correction