Spliteo LogoSpl!teoCreate a free group

Gas split calculator for road trips

Work out the gas money for a road trip or carpool: enter the distance, your car's fuel economy and the gas price to see what the trip costs, tolls included, the cost per mile and what each person owes the one who paid. Riders who join for part of the way pay only for their part. It's free, needs no signup, and nothing you type leaves your browser.

The trip

We read 3.465 per gallon.

Who's in the car

Enter how far each person rode, in mi. Leave it empty for anyone who rides the whole way; on a round trip, count one way.

What each person pays

Trip total
62.58
Per mile
0.17
Gas
41.5812.00 gal
Tolls and parking
21.00

Each person's share

  • Mayadriver17.88

    Gas 11.88 · tolls and parking 6.00

  • Tom17.88

    Gas 11.88 · tolls and parking 6.00

  • Priya17.88

    Gas 11.88 · tolls and parking 6.00

  • Leo8.94

    Gas 5.94 · tolls and parking 3.00

  • Tom pays Maya17.88
  • Priya pays Maya17.88
  • Leo pays Maya8.94

3 payments settle everything.

The link keeps everything you entered, so you can come back to it or send it to the group.

Splitting the rest of the trip too?

In a Spliteo group, everyone adds expenses as they happen, from gas to dinners, and sees who owes whom. For someone who rode half the way, split the gas by Parts: 2 for each full-trip rider, 1 for them. Free on web, iOS and Android.

Create a free group

How it works

  1. Enter the one-way distance and tick round trip if you're coming back.
  2. Add your car's fuel economy in mpg, km/L or L/100 km, the gas price per gallon or litre, and any tolls or parking.
  3. Add everyone in the car, with the distance for anyone who rode only part of the way, then choose who drives and who paid. You'll see each share and who pays back whom.

How the gas cost of a road trip is calculated

Gallons = miles ÷ mpg. A car that gets 30 mpg uses 360 ÷ 30 = 12 gallons on a 360-mile round trip. In metric it's litres = km ÷ km/L, or km × L/100 km ÷ 100.

Cost = gallons × price per gallon. At $3.465 a gallon, those 12 gallons cost $41.58. Add tolls and parking, $21 in the example, and the trip comes to $62.58: about 17 cents a mile. The calculator runs this as you type, and takes km/L, L/100 km and prices per litre too.

Real fuel economy depends on the drive: steady highway speeds use less than city traffic, and air conditioning, a full trunk or a roof box use more. The average your dashboard showed on a similar trip is the number to use.

What to charge per mile for a ride

Among friends, the usual deal is to split what was actually paid: gas and tolls, divided among everyone in the car. That's the "Per mile" figure in the result. In the example, $62.58 over 360 miles is about 17 cents a mile, and each of the four pays $15.65.

If you drive for others regularly, you can add wear and tear: tires, oil, maintenance. The official mileage rates are a benchmark, since they include it: the IRS allows 76 cents a mile from July 2026 (72.5 cents in the first half of the year), and HMRC's rate in the UK is 45p a mile. Both run at roughly twice the cost of fuel alone. For a trip with friends, gas and tolls are enough; for a daily carpool, agreeing on a per-mile rate up front avoids arguments.

Questions

How do I find my car's mpg?
Check the dashboard: most cars show average mpg or L/100 km. Otherwise the window sticker or the manual lists a combined figure, which city driving tends to miss by 10 to 20%. To measure it: fill the tank, reset the trip meter, drive until the next fill-up and divide the miles by the gallons you put in. A compact car typically gets 30 to 40 mpg on the highway; a pickup or SUV, 18 to 25.
How much should I charge per mile for gas?
It depends on whether you're splitting the cost or also covering wear on the car. Splitting the cost is gas plus tolls divided among the riders: "Per mile" shows it. The official mileage rates include wear: the IRS rate is 76 cents a mile from July 2026, and HMRC's in the UK is 45p a mile.
Should the driver pay a share of the gas?
That's up to the group. Many split the gas money among everyone in the car, driver included, because it's everyone's trip. Others leave the driver out as thanks for driving and for the wear on the car. Untick "The driver pays a share too" to see it both ways.
How do you split gas when someone rides only part of the way?
In proportion to the distance each person rode. Someone who rides half the way pays half of what a full-trip rider pays, and the rest is split among the others. Tolls and parking are split the same way.
mpg, km/L or L/100 km: which should I use?
Whatever your car's display or manual shows. mpg is used in the US and the UK, but a UK gallon is 4.546 litres and a US gallon 3.785, so pick the right one; UK petrol is still priced per litre, and mixing the two works fine here. km/L is common in Latin America and L/100 km in Europe and Australia. Prices can be per litre or per US gallon; we show how we read the price under the field.
Does it work for diesel or an electric car?
Yes. For diesel, enter the price per gallon or litre and the car's economy on diesel. For an electric car, enter the consumption in kWh per 100 km in the L/100 km field and the price per kWh as the price per litre: the math is the same.
Is anything I type saved?
Not on our servers. The calculation runs in your browser and nothing is sent. What you enter lives only in the page's link, after the #, and browsers never send that part to a server.
From the blogHow to calculate gas cost for a road trip (and per mile)

More free tools

See all free tools