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

Cost Per Mile Calculator

What does each mile you drive really cost in fuel? Enter your gas price and MPG — then see the per-mile, monthly and yearly cost of your driving.

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

Free Tool

Cost Per Mile Calculator

Fuel Cost Per Mile$0.12
Per 100 Miles$12.00
Monthly Fuel Cost$144.00
Yearly Fuel Cost$1,728.00

Formula: Cost Per Mile = Gas Price ÷ MPG • Fuel only — see note below.

How Cost Per Mile Is Calculated

Your fuel cost per mile is the price of a gallon spread over the miles that gallon carries you: Cost Per Mile = Gas Price ÷ MPG. Multiply by your monthly miles to budget a month, and by 12 for a year.

Cost Per Mile = Gas Price ÷ MPG

Worked Example

Gas at $3.60 and a car doing 30 MPG: $3.60 ÷ 30 = $0.12 per mile. That is $12.00 every 100 miles. Drive 1,200 miles a month and fuel alone costs $144.00 a month — $1,728.00 a year.

Fuel Cost Per Mile vs Full Cost Per Mile

Fuel is only part of what a mile costs. Tires, oil, maintenance, insurance and depreciation typically add several times the fuel figure — official standard mileage rates (set yearly by the IRS in the US) exist precisely to capture that full cost for business driving. Use this tool for the fuel slice; use the reimbursement rate when claiming business miles. See our methodology & sources for how these figures are derived.

Cost Per Mile Calculator — FAQ

What is a typical fuel cost per mile?

At $3.50 a gallon: a 20 MPG vehicle pays $0.175/mile, a 30 MPG car $0.117, and a 45 MPG hybrid about $0.078. Small MPG gains matter most at the low end.

How can I lower my cost per mile?

Raise MPG (tire pressure, gentler acceleration, less roof cargo, steady 45–55 mph cruising) or lower the price you pay (fill up away from highway service areas). The math rewards both equally.

Is cost per mile the same as the IRS mileage rate?

No. The IRS rate is a full-cost allowance including depreciation, insurance and maintenance. Your fuel-only cost per mile will always be much lower.

Keep Going

More Driving Cost Calculators

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