CALCULATORGAS-COST-PER-MILE-CALCULATORCALCULATE · DECIDE · ACT
Driving
Gas Cost Per Mile Calculator
See exactly how much gasoline costs you per mile before adding maintenance or depreciation.
Quick answer
Gas cost per mile quick answer
Answer: Gas cost per mile converts MPG and fuel price into the fuel expense of driving one mile.
Formula: Gas cost per mile = price per gallon ÷ vehicle MPG.
Example: At 30 MPG and $3.25 per gallon, fuel costs about $0.108 per mile.
Reviewed September 1, 2026 · Methodology
Enter your numbers and calculate.
Examples
| Example | Result |
|---|---|
| 30 MPG at $3.25/gallon | About $0.108/mile |
| 20 MPG at $4/gallon | $0.20/mile |
Frequently asked questions
How do I calculate gas cost per mile?
Divide the price of one gallon of gas by your vehicle MPG.
Is this my full vehicle cost per mile?
No. It covers fuel only.
Why is cost per mile useful?
It makes trips, commutes, deliveries, and gig-driving offers easier to compare.