Enter Trip Details

Your Results

⛽

Enter your trip details and click Calculate to see your fuel cost estimate.

Total Fuel Cost
$0.00
Trip Distance —
Gallons Needed —
Gas Price Used —
Cost Per Passenger —
Cost Per Mile —

💡 Tip: These are estimates based on your inputs. Actual fuel costs may vary based on driving conditions, traffic, speed, and vehicle load.

How to Use This Calculator

Enter your trip distance in miles, your vehicle's MPG (miles per gallon), and the current gas price at your local pump. Select whether it's a one-way or round trip, and optionally enter the number of passengers to split the cost. Click Calculate to see your estimated fuel cost instantly.

Not sure of your MPG? Check your owner's manual, your car's dashboard display, or use our MPG Calculator to find out your real-world fuel efficiency.

How the Calculation Works

The math is simple: divide your total distance by your MPG to get the gallons needed, then multiply by the gas price. For a round trip, the distance is doubled. The cost per passenger divides the total by the number of travelers.

Formula: Gallons = Distance ÷ MPG  |  Total Cost = Gallons × Gas Price

Example: How to Calculate Gas Cost for a Trip

Say you're driving 300 miles in a car that gets 25 MPG, and gas costs $3.20 a gallon:

How to Work Out Your Gas Cost Per Mile

Divide the gas price by your MPG. At $3.20 a gallon and 25 MPG, every mile costs $3.20 ÷ 25 = about 13 cents. Multiply that by any distance — your daily commute, a weekly school run — for a quick estimate without the calculator.

Ways to Spend Less on Gas

Gas Cost FAQ

How do I calculate gas cost from mileage?
Divide the miles by your car's MPG to get gallons, then multiply by the price per gallon. 150 miles at 30 MPG and $3.50 a gallon is 5 gallons, or $17.50.

How much does 10 gallons of gas cost?
Multiply 10 by the price per gallon: at $3.20 it's $32.00, at $3.50 it's $35.00, and at $4.00 it's $40.00.

What MPG should I use?
Use your real-world MPG if you know it — it's usually a little lower than the sticker figure. Our MPG Calculator works it out from a fill-up.