Try “wedding”, “budget”, “etsy” or “invoice”.

Fuel Cost Calculator: Gas Cost for a Trip

Work out what a drive will cost in gas, and how to split it.

Updated
No sign-up. Runs in your browser.

Trip fuel cost Pink cells are yours to edit
B11=B10*B5
Trip fuel cost calculator. Edit the pink cells; results update instantly.
ABC
Your numbers
Your local price
Results
Total miles600
Gallons of gas21.43
Fuel cost$68.57
Cost per person$68.57
Fuel cost per mile$0.11

Estimates for planning and education only, not financial or tax advice. Always check current platform fees and your own numbers.

How to calculate fuel cost

Gallons = miles ÷ MPG. Fuel cost = gallons × price per gallon. A 300-mile drive each way in a car that gets 28 MPG uses about 21.4 gallons for the round trip; at $3.20 a gallon that is about $68.57.

Use the MPG you actually get, not the sticker figure. Highway driving usually gets more miles per gallon than city driving, and a full car or roof box gets fewer.

The formulas behind it

Every result cell is a plain spreadsheet formula, so you can check the math or rebuild it yourself.

CellResultFormula
B9Total miles=B2*B3
B10Gallons of gas=B9/B4
B11Fuel cost=B10*B5
B12Cost per person=B11/B6
B13Fuel cost per mile=B5/B4

Questions people ask

How much does gas cost per mile?

Divide the price per gallon by your MPG. At $3.20 a gallon and 28 MPG it is about 11 cents a mile.

Does this include wear and tear?

No, only fuel. Tires, oil changes and other running costs add more per mile. The Car Maintenance Log tracks them.