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.
| Step | Amount |
|---|---|
| Gallons: 4.2 ÷ 28 | 0.15 |
| Gas for the trip: 0.15 × $3.40 | $0.51 |
| Share of the pay: $0.51 ÷ $7.50 | 6.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.


