Free gas cost calculator

Gas cost per trip calculator

A trip’s gas cost is its miles divided by your car’s miles per gallon, times the gas price. Enter a delivery or ride below to see its gas or charging cost, the share of the pay it takes, and what a week of driving costs.

Your car runs on

To the pickup and on to the drop-off, plus the drive back if you will make it empty.

The pay and your week Optional

Your gas cost

$0.51this trip
6.8%of the pay
Per mile
$0.12
Pay left after gas
$6.99
A week of driving
$72.86
A year at that pace
$3,788.57

Gas or charging only. Insurance, repairs and the value your car loses are in the cost per mile calculator.

How to work out gas cost

Three numbers give a trip’s gas cost: its miles, your car’s miles per gallon and the price of a gallon.

  • Gas a mile: gas price ÷ miles per gallon.
  • Gas for the trip: gas a mile × the trip’s miles.
  • Charging for an electric car: kWh per 100 miles ÷ 100 × your price per kWh, then × the trip’s miles.
  • Share of the pay: gas for the trip ÷ the trip’s pay.

A trip’s gas cost, worked out

Here is a hypothetical delivery, not a real or typical one: $7.50 for 4.2 miles, in a car that gets 28 miles per gallon, with gas at $3.40 a gallon. The driver drives 600 miles a week.

One hypothetical delivery
StepAmount
Gallons: 4.2 ÷ 280.15
Gas for the trip: 0.15 × $3.40$0.51
Share of the pay: $0.51 ÷ $7.506.8%
Pay left after gas$6.99
A week of driving: 600 ÷ 28 × $3.40$72.86

Which miles to count

Count the miles the trip makes you drive: to the pickup and on to the drop-off. If the drop-off leaves you far from where offers come in, add the drive back yourself. The gas for it is yours either way.

Does DoorDash pay for gas? explains what DoorDash and Uber pay toward gas, and which miles drivers count for taxes.

Gas is not the whole cost

Gas is the cost you see at the pump. Insurance, repairs, tires and the value your car loses also grow with your miles. The cost per mile calculator adds them up, and gives the pay per mile an offer needs to cover them.

See the gas cost on every offer

Giga Driver shows the gas cost of every offer right on the offer card, from your car and your gas price, or the charging cost for an electric car, so you see what gas takes out of the pay before you accept. Snap a receipt at the pump and it keeps your gas price up to date. On iPhone and Android.

Explore GPS mileage tracking, receipt scanning, and CSV/PDF tax exports in Miles & Costs.

Common questions

How do I calculate the gas cost of a trip?

Divide the trip’s miles by your car’s miles per gallon, then multiply by the gas price. 4.2 miles at 28 mpg is 0.15 gallons, and at $3.40 a gallon that is $0.51.

How much does gas cost per mile?

Your gas price divided by your miles per gallon. At $3.40 a gallon, a car that gets 28 mpg spends about 12 cents a mile, and one that gets 20 mpg about 17 cents.

How much of a delivery’s pay goes to gas?

Divide the trip’s gas cost by its pay. In the example on this page, $0.51 of gas on a $7.50 delivery is 6.8% of the pay. Long drives for low pay take a bigger share.

How do I work out the charging cost of an electric car?

Multiply the trip’s miles by your car’s kWh per 100 miles, divide by 100, then multiply by your price per kWh. At 28 kWh per 100 miles and $0.18 a kWh, 4.2 miles costs about $0.21.