Gas Mileage Calculator
Calculate your fuel economy in MPG or L/100km.
Last updated: June 13, 2026
Calculator
Results
How to Use This Calculator
- 1Enter the total distance traveled in miles.
- 2Enter the total fuel used in gallons.
- 3Optionally enter fuel price per gallon to see cost analysis.
Formula Explanation
Gas mileage (MPG) is calculated by dividing total distance by total fuel consumed. The metric equivalent (L/100km) uses a conversion factor.
Variables:
Worked Examples
300 miles on 12 gallons at $3.50/gal
- 1. MPG = 300 ÷ 12 = 25 MPG
- 2. L/100km = 235.215 ÷ 25 = 9.4
- 3. Cost per mile = (12 × $3.50) ÷ 300 = $0.14
450 miles on 15 gallons
- 1. MPG = 450 ÷ 15 = 30 MPG
- 2. L/100km = 235.215 ÷ 30 = 7.8
Why Use This Calculator
- Track fuel efficiency over time to catch declining engine performance.
- Compare actual MPG to EPA estimates for your vehicle.
- Calculate the real cost of your commute or road trip.
- Make informed decisions about vehicle purchases based on fuel costs.
Tips & Best Practices
- Fill up completely and reset your trip odometer for the most accurate reading.
- Track MPG over several tanks for a reliable average — one tank can vary significantly.
- Highway MPG is typically 15–30% better than city MPG.
- Low tire pressure, dirty air filters, and aggressive driving all reduce fuel economy.
Common Mistakes to Avoid
❌ Calculating MPG from a partial fill-up.
✅ Always fill the tank completely for start and end measurements.
❌ Using the trip odometer instead of actual miles driven.
✅ Both work, but ensure you reset the odometer at the same time you fill up.
❌ Not accounting for different driving conditions when comparing.
✅ Compare city-to-city and highway-to-highway separately for meaningful analysis.
Frequently Asked Questions
What is good gas mileage?
Why is my actual MPG lower than the EPA rating?
How can I improve my gas mileage?
Does cruise control save gas?
Is premium gas worth the extra cost?
Embed This Calculator
Add the Gas Mileage Calculator to your website for free. Copy the code below and paste it into your HTML.
<iframe src="https://redicalc.com/embed/automotive/gas-mileage-calculator" width="100%" height="600" style="border:none;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,0.1);" title="Gas Mileage Calculator — RediCalc.com" loading="lazy" allowtransparency="true"></iframe>Disclaimer: This calculator is provided for informational and educational purposes only. Results are estimates and should not be used as a substitute for professional advice. RediCalc.com makes no guarantees regarding the accuracy, completeness, or suitability of any calculations. Always consult a qualified professional before making financial, health, construction, or other important decisions.
By using this site, you agree to our Terms of Use and Privacy Policy. © 2026 RediCalc.com. All rights reserved.