Gas Mileage Calculator

Calculate your car's fuel efficiency (MPG), trip fuel costs, and annual gas expenses. Compare vehicles to find out which costs less to drive.

MB
Operated by Mustafa Bilgic
Independent individual operator
|Trading ToolsEducational only

Quick Answer

How do I calculate miles per gallon (MPG)?

Divide the total miles driven by the gallons of gas used. Example: if you drove 300 miles on 10.5 gallons, your MPG is 300 / 10.5 = 28.6 MPG. Track over multiple fill-ups for accuracy.

Input Values

The distance you plan to drive.

Your car's miles per gallon. Check your manual or fueleconomy.gov.

$

Current price per gallon of gasoline.

Average miles driven per year (US average is ~13,500).

Results

Gallons Needed for Trip
10.714285714285714
Trip Fuel Cost
$37.50
Cost Per Mile (fuel only)$0.13
Annual Gallons Used428.57142857142856
Annual Fuel Cost
$1,500.00
Monthly Fuel Cost$125.00
Results update automatically as you change input values.

Related Strategy Guides

How to Calculate Gas Mileage and Fuel Cost

Gas mileage, measured in miles per gallon (MPG), tells you how efficiently your vehicle uses fuel. Knowing your MPG helps you estimate trip costs, compare vehicles, and budget for fuel expenses. The average American drives about 13,500 miles per year and spends $2,000-$3,500 on gasoline depending on their vehicle's fuel efficiency and gas prices.

Fuel Cost Formulas
Gallons Needed = Distance / MPG Trip Cost = Gallons Needed x Gas Price Cost Per Mile = Gas Price / MPG
Where:
Distance = Trip distance in miles
MPG = Your vehicle's fuel efficiency
Gas Price = Current price per gallon of gasoline
Gas Mileage Calculation Example
Given
Distance
300 miles
MPG
28 MPG
Gas Price
$3.50/gallon
Calculation Steps
  1. 1Gallons needed: 300 miles / 28 MPG = 10.71 gallons
  2. 2Trip cost: 10.71 gallons x $3.50 = $37.50
  3. 3Cost per mile: $3.50 / 28 = $0.125 per mile
  4. 4Annual cost (12,000 miles): 12,000 / 28 x $3.50 = $1,500/year
  5. 5Monthly fuel cost: $1,500 / 12 = $125/month
Result
A 300-mile trip in a car getting 28 MPG at $3.50/gallon costs $37.50 in fuel (10.71 gallons). Annual fuel cost for 12,000 miles is $1,500.

Annual Fuel Cost by Vehicle Type

Annual Fuel Cost Comparison (12,000 miles, $3.50/gallon)
Vehicle TypeAverage MPGAnnual GallonsAnnual CostMonthly Cost
Large SUV/Truck18 MPG667$2,333$194
Midsize SUV24 MPG500$1,750$146
Midsize Sedan30 MPG400$1,400$117
Compact Car35 MPG343$1,200$100
Hybrid50 MPG240$840$70
Plug-in Hybrid70+ MPGe171$600$50
Electric Vehicle100+ MPGe~$480 electric$480$40

How to Calculate Your Actual MPG

Track Your Real MPG

1
Fill Up Completely
Fill your tank to full and note the odometer reading (or reset the trip meter).
2
Drive Normally
Drive until you need to refuel, using your normal driving patterns.
3
Fill Up Again and Record
Fill up completely again. Note the gallons purchased and the new odometer reading.
4
Calculate MPG
Divide miles driven by gallons purchased. Example: 300 miles / 10.5 gallons = 28.6 MPG.
5
Track Over Time
Repeat for 3-5 fill-ups and average the results for a reliable MPG figure.

Tips to Improve Gas Mileage

  • Keep tires properly inflated (under-inflation reduces MPG by 0.2% per 1 PSI drop)
  • Remove excess weight from the trunk (100 lbs reduces MPG by ~1%)
  • Use cruise control on highways (saves 7-14% on fuel)
  • Avoid aggressive acceleration and hard braking (can reduce MPG by 15-30%)
  • Drive the speed limit (MPG decreases rapidly above 50 mph)
  • Keep up with maintenance: clean air filters, fresh oil, tuned engine
  • Combine errands into fewer trips (cold starts use more fuel)
  • Use the recommended octane grade (premium is not better if your car does not require it)
i
Gas vs. Electric Cost Comparison

At $3.50/gallon with a 30 MPG car, driving costs $0.117/mile in fuel. An electric vehicle at $0.14/kWh and 3.5 miles/kWh costs $0.04/mile, about 66% cheaper. For 12,000 annual miles, that is $1,400 for gas vs. $480 for electricity, saving $920/year.

Road Trip Fuel Cost Planner

Fuel Cost for Common Trip Distances (28 MPG, $3.50/gal)
Trip DistanceGallons NeededFuel CostFuel Cost (Round Trip)
50 miles1.8 gal$6.25$12.50
100 miles3.6 gal$12.50$25.00
200 miles7.1 gal$25.00$50.00
300 miles10.7 gal$37.50$75.00
500 miles17.9 gal$62.50$125.00
1,000 miles35.7 gal$125.00$250.00

Understanding MPG vs. Real-World Fuel Economy

The EPA fuel economy ratings on new vehicles are tested under controlled laboratory conditions, which often differ from real-world driving. Most drivers achieve 10-20% lower MPG than the EPA estimates due to variables like highway speed (fuel economy drops sharply above 60 mph), air conditioning use, cold weather starts, cargo weight, tire pressure, and aggressive acceleration. A gas mileage calculator helps you measure your actual MPG from fill-up to fill-up, giving you a true baseline for comparison and savings tracking rather than relying on the sticker estimate.

Annual Fuel Cost by Vehicle Type (2026)

With gasoline averaging $3.30-3.80 per gallon nationally in 2026, annual fuel costs vary enormously by vehicle type. A large SUV averaging 18 MPG that travels 15,000 miles/year spends approximately $2,750-3,167 annually on fuel. A mid-size sedan at 35 MPG spends only $1,414-1,629. Hybrid vehicles at 50 MPG drop fuel costs to $990-1,140. A plug-in hybrid or EV can reduce fuel costs by 60-80% depending on electricity rates. Understanding your actual MPG helps quantify the true operating cost difference between vehicles.

Tips to Improve Your Gas Mileage

Several proven techniques can improve fuel economy by 10-25% without spending any money. Maintaining proper tire inflation (check monthly — most tires lose 1 PSI per month) improves MPG by up to 3%. Reducing highway speed from 75 to 65 mph improves fuel economy by 7-14%. Avoiding rapid acceleration and hard braking can improve MPG by 5-20% in city driving. Removing roof racks when not in use, using the manufacturer-recommended motor oil, and keeping the air filter clean all contribute incremental improvements that add up significantly over 15,000 annual miles.

~
Track Every Fill-Up

The most accurate way to monitor your gas mileage is to fill your tank completely each time, record the odometer at every fill-up, and calculate: miles driven ÷ gallons added = actual MPG. Track this in a simple spreadsheet or app to catch declining MPG early — a 10% drop could signal a maintenance issue like dirty fuel injectors, a failing oxygen sensor, or low tire pressure.

Recommended Reading

Affiliate

As an Amazon Associate, we earn from qualifying purchases.

Frequently Asked Questions

Divide the total miles driven by the gallons of gas used. Example: if you drove 300 miles on 10.5 gallons, your MPG is 300 / 10.5 = 28.6 MPG. Track over multiple fill-ups for accuracy.

Sources & References

Embed This Calculator on Your Website

Free to use with attribution

Copy the code below to add this calculator to your website, blog, or article. A link back to CoveredCallCalculator.net is included automatically.

<iframe src="https://coveredcallcalculator.net/embed/gas-mileage-calculator" width="100%" height="500" frameborder="0" title="Gas Mileage Calculator" style="border:1px solid #e2e8f0;border-radius:12px;max-width:600px;"></iframe>
<p style="font-size:12px;color:#64748b;margin-top:8px;">Calculator by <a href="https://coveredcallcalculator.net" target="_blank" rel="noopener">CoveredCallCalculator.net</a></p>

More Picks You Might Like

Affiliate

As an Amazon Associate, we earn from qualifying purchases.