EN
EnglishPortuguêsEspañol
Home › Everyday › Gas Cost Calculator

Gas Cost Calculator

By the CalcMundi team · Updated October 22, 2026 · Formulas checked against standard financial math

Enter the distance, your car's MPG and the gas price to see what the trip will cost and how much each person pays.

How it works

Gallons = miles ÷ MPG. Cost = gallons × price per gallon. Tick round trip to double the distance.

Example

A 300-mile trip in a car that gets 28 mpg uses about 10.7 gallons. At $3.15 a gallon, gas costs about $33.75, or $67.50 for the round trip.

Highway MPG is usually better than city MPG. Check fueleconomy.gov for your car's official numbers.

Frequently asked questions

Does this include tolls?

No. Add tolls and parking separately.

See also

Add this calculator to your website

Free for blogs, real estate agents, brokers and any site. Paste this code where you want the calculator to appear. It adjusts its height on its own.

Results are estimates for information only and are not financial, legal or medical advice. Rates, taxes and fees vary — confirm with a professional or your lender.