⛽ Free Gas Calculator  •  No sign-up  •  Instant live results  •  US + Metric units

Fuel Cost Calculator

How much will the fuel for your trip cost? Enter distance, fuel efficiency and the pump price — total cost, gallons used and cost per mile update live.

✓ Formula shown openly  •  ✓ Reviewed October 2026  •  ✓ Free — no sign-up  •  ✓ Nothing you enter is stored

Free Tool

Fuel Cost Calculator

+ Split cost, tolls & fuel stops
Total Trip Cost$42.00
Gallons Used12.00
Cost Per Mile$0.14
Per Person$42.00
Fuel Stops0
Trip Distance300 mi
Fuel Cost Only$42.00

Formula: (Distance ÷ MPG) × Gas Price • Live results — nothing is stored.

How Fuel Cost Is Calculated

Fuel cost depends on exactly three things: how far you drive, how efficiently your car uses fuel, and what you pay per unit. First divide distance by efficiency to get the fuel you will burn, then multiply by the price.

Fuel Cost = (Distance ÷ MPG) × Price per Gallon

Worked Example

A 300-mile trip in a car that gets 25 MPG, with gas at $3.50: 300 ÷ 25 = 12 gallons, and 12 × $3.50 = $42.00 — about $0.14 per mile. Going there and back? Tick "Round trip" and the estimate doubles to $84.00.

Fuel Cost vs Total Driving Cost

This tool prices the fuel only. The full cost of a mile also includes tires, maintenance, insurance and depreciation — which is why official mileage reimbursement rates are several times higher than the fuel-only figure. For the per-mile view, try the cost per mile calculator; for tolls and splitting with passengers, use the trip cost calculator.

Fuel Cost Calculator — FAQ

How accurate is this fuel cost estimate?

The math is exact; accuracy depends on your inputs. Use your real, measured MPG (not the sticker figure) and the price where you will actually fill up, and the estimate lands very close.

Can I calculate in litres and kilometers?

Yes — switch distance to kilometers, efficiency to L/100km or km/L, and price to $/litre. Everything converts automatically.

Why does the same trip cost more in an SUV?

Lower MPG. At $3.50 a gallon, a 20 MPG SUV pays $0.175 per mile while a 35 MPG sedan pays $0.10 — a 75% difference over the same distance.

Keep Going

More Driving Cost Calculators

Free, instant and transparent — every tool shows its formula.