Gas Mileage Calculator

Calculate fuel efficiency and trip costs accurately

Trip Information

Annual Estimate (Optional)

Fuel Economy

Miles Per Gallon (MPG)
0
Trip Fuel Cost
$0.00
Cost Per Mile
$0.00
Annual Fuel Cost
$0
Efficiency Rating
-

How to Calculate Gas Mileage (MPG)

Miles per gallon (MPG) measures fuel efficiency—how many miles your vehicle travels on one gallon of gasoline. The calculation is simple: MPG = Miles Driven ÷ Gallons Used. For example, if you drive 300 miles and use 10 gallons, your MPG = 300 ÷ 10 = 30 MPG. This straightforward metric enables comparison between vehicles, tracking fuel economy changes over time, and calculating trip costs.

Accurate MPG calculation requires proper measurement. Fill your tank completely, reset your trip odometer, drive normally until the tank is at least half empty (preferably near empty), refill completely, and note miles driven and gallons added. The gallons added divided into miles driven equals your actual MPG for that tank. Single-tank calculations fluctuate due to driving conditions; track MPG over multiple tanks for accurate averages.

Understanding MPG Numbers

Compact Cars (30-40 MPG): Modern fuel-efficient sedans like Honda Civic, Toyota Corolla, and Mazda3 typically achieve 30-36 MPG combined (city and highway). These vehicles balance practicality with excellent fuel economy, making them economical daily drivers. Highway MPG often reaches 38-42 MPG.

Midsize Sedans (25-32 MPG): Family sedans like Honda Accord, Toyota Camry, and Nissan Altima deliver 28-32 MPG combined. Slightly larger and more powerful than compacts, they sacrifice a few MPG for additional space and performance. Highway MPG typically reaches 35-40 MPG.

Hybrids (45-58 MPG): Toyota Prius, Honda Insight, and Hyundai Ioniq achieve exceptional efficiency through gas-electric powertrains. The Prius reaches 56 MPG combined—nearly double conventional cars. Hybrids excel in city driving where regenerative braking recovers energy. Highway MPG may only be 10-15% better than conventional cars since regenerative braking provides less benefit.

SUVs and Trucks (15-28 MPG): Larger vehicles sacrifice efficiency for space and capability. Compact SUVs like RAV4 and CR-V achieve 27-30 MPG. Midsize SUVs drop to 22-26 MPG. Full-size pickups like F-150 and Silverado manage 18-23 MPG. Heavy-duty trucks with larger engines may get only 12-16 MPG. If you don't need truck capability regularly, the fuel cost difference versus a sedan adds thousands of dollars annually.

Electric Vehicles (MPGe): EVs don't use gasoline, so EPA rates them in "MPGe" (miles per gallon equivalent). A Tesla Model 3 achieves 130 MPGe—equivalent to traveling 130 miles on the energy contained in one gallon of gasoline. This translates to approximately $0.03-0.05 per mile in electricity costs versus $0.10-0.15 per mile for gas vehicles.

Factors Affecting Fuel Economy

Driving Behavior: Aggressive acceleration and hard braking dramatically reduce MPG—by up to 33% on highways and 5% in cities. Smooth, gradual acceleration and coasting to stops improves economy. Excessive speeding hurts efficiency; MPG decreases rapidly above 50 mph due to aerodynamic drag. Driving 80 mph versus 65 mph typically reduces MPG by 15-25%.

Vehicle Maintenance: Proper maintenance preserves fuel economy. Under-inflated tires reduce MPG by 0.2% for every 1 PSI drop below recommended pressure—significantly under-inflated tires can cost 3-4 MPG. Dirty air filters restrict airflow, reducing MPG by up to 10%. Old spark plugs misfire, wasting fuel. Regular oil changes with recommended viscosity reduce friction and improve economy by 1-2%.

Cargo and Accessories: Every 100 pounds of extra weight reduces MPG by about 1%. Roof racks and cargo boxes increase aerodynamic drag, reducing highway MPG by 2-8% when empty and 10-25% when loaded. Remove roof accessories when not needed. Excess items in your trunk waste fuel—clear out unnecessary cargo.

Climate and Terrain: Cold weather significantly reduces MPG—engines run less efficiently when cold, oil is thicker, tire pressure drops, and battery capacity decreases. Winter MPG often drops 15-30% below summer MPG. Hilly terrain decreases MPG compared to flat roads since climbing requires more energy than descending recovers. Headwinds reduce efficiency; tailwinds improve it.

Air Conditioning and Accessories: AC reduces MPG by 5-25% depending on outside temperature and AC usage intensity. At low speeds, open windows are more efficient than AC. Above 45 mph, open windows create drag exceeding AC's efficiency penalty—use AC on highways, crack windows in the city. Other electrical accessories (heated seats, defroster, lights) have minimal impact—less than 1% combined.

Tips to Improve Gas Mileage

Drive Smoothly: Accelerate gradually, anticipate stops, and coast when possible. Pretend there's an egg under the gas pedal—gentle pressure only. Maintaining steady speed maximizes efficiency. Use cruise control on highways to avoid unconscious speed fluctuations that waste fuel.

Reduce Speed: Observe speed limits and resist aggressive highway speeds. Each 5 mph above 50 mph costs approximately $0.15-0.25 per gallon. On a 500-mile trip at $3.50/gallon, reducing speed from 75 to 65 mph saves $10-20 in fuel costs while adding only 30-45 minutes to travel time.

Minimize Idle Time: Modern engines don't need prolonged warmup—30 seconds is sufficient even in winter. Idling gets 0 MPG and wastes fuel. If stopped for more than 60 seconds, shut off the engine (unless in traffic). Many new vehicles include auto stop-start systems that do this automatically, improving city MPG by 3-5%.

Maintain Proper Tire Pressure: Check tire pressure monthly with an accurate gauge when tires are cold. Inflate to the pressure shown on the driver's door jamb (not the max pressure on the tire sidewall). Proper inflation improves MPG, extends tire life, and enhances safety.

Combine Trips: Cold starts consume significantly more fuel than warm-engine driving. Combine errands into one trip rather than multiple short trips from home. Plan routes to minimize backtracking. One 10-mile trip uses less fuel than two 5-mile trips from a cold start.

Choose Fuel-Efficient Routes: Highway driving at moderate speeds typically delivers better MPG than city driving with frequent stops. However, if highway route is significantly longer or involves traffic congestion, the shorter city route might be more efficient. Apps like Waze and Google Maps can suggest fuel-efficient routes.

EPA Estimates vs. Real-World MPG

EPA fuel economy estimates provide standardized comparison but rarely match real-world results. EPA testing occurs on dynamometers (treadmills for cars) using standardized driving cycles. Real-world driving involves variables EPA tests don't capture—temperature extremes, terrain, traffic, cargo, and driver behavior.

Most drivers achieve 10-30% lower MPG than EPA combined estimates. Aggressive drivers may fall 30-40% short. Hypermilers (drivers maximizing efficiency through technique) sometimes exceed EPA estimates by 20-40%. Your actual MPG depends on driving style, conditions, and maintenance. Track your real MPG rather than relying solely on EPA numbers.

The EPA revised testing procedures in 2008 to better reflect real-world conditions by adding high-speed driving, rapid acceleration, AC usage, and cold-weather testing. Pre-2008 EPA estimates often overstate fuel economy by 10-20% compared to post-2008 estimates.

Calculating Trip and Annual Fuel Costs

Trip Cost Formula: (Miles Driven ÷ MPG) × Price Per Gallon = Fuel Cost. For a 500-mile trip at 28 MPG and $3.50/gallon: (500 ÷ 28) × 3.50 = 17.86 × 3.50 = $62.50 in fuel costs.

Cost Per Mile: Price Per Gallon ÷ MPG = Cost Per Mile. At 25 MPG and $3.50/gallon: 3.50 ÷ 25 = $0.14 per mile. This metric helps compare vehicles—a vehicle getting 40 MPG costs $0.0875 per mile at the same gas price, saving $0.0525 per mile or $525 per 10,000 miles.

Annual Cost: (Annual Miles Driven ÷ MPG) × Price Per Gallon. Driving 12,000 miles annually at 24 MPG and $3.50/gallon: (12,000 ÷ 24) × 3.50 = 500 × 3.50 = $1,750 per year. Improving to 30 MPG saves: (12,000 ÷ 30) × 3.50 = $1,400—a $350 annual savings.

Comparing Vehicles: Fuel Cost Analysis

When comparing vehicles, calculate total fuel costs over ownership period rather than focusing solely on purchase price. A $5,000 cheaper truck getting 18 MPG costs more over 5 years (60,000 miles) than a fuel-efficient sedan getting 32 MPG if gas averages $3.50/gallon:

Truck fuel cost: (60,000 ÷ 18) × 3.50 = $11,667. Sedan fuel cost: (60,000 ÷ 32) × 3.50 = $6,563. Difference: $5,104. The sedan's fuel savings equals or exceeds the truck's lower purchase price, making the sedan cheaper over 5 years despite higher upfront cost. Factor in insurance, maintenance, and depreciation for complete comparison.

For hybrids versus conventional cars, calculate payback period. If a hybrid costs $4,000 more but saves $600 annually in fuel (12,000 miles at $3.50/gallon, 50 MPG vs 30 MPG), payback occurs in 6.7 years. If you keep cars 10+ years, hybrids save money. If you trade every 3-4 years, you may not recoup the premium.

Tracking Fuel Economy Over Time

Declining MPG signals maintenance issues. If your normally-30-MPG car drops to 25 MPG, investigate causes: low tire pressure, dirty air filter, faulty oxygen sensor, worn spark plugs, or more serious engine problems. Addressing issues early prevents costly repairs and maintains efficiency.

Track MPG using smartphone apps (Fuelio, GasBuddy, Fuelly), spreadsheets, or simple notebooks. Log each fill-up: date, odometer reading, gallons purchased, price per gallon, total cost. Over time, data reveals trends, seasonal variations, and maintenance needs. Many modern vehicles display instant and average MPG on dashboard—useful for feedback but less accurate than calculated MPG from actual fuel consumption.

The Bottom Line

Understanding and optimizing fuel economy saves money, reduces environmental impact, and extends vehicle life. Calculate your actual MPG regularly, implement efficiency techniques, maintain your vehicle properly, and make informed decisions when purchasing vehicles. Small changes—proper tire pressure, smooth acceleration, reduced highway speeds—collectively improve MPG by 15-25%, saving hundreds to thousands of dollars annually. Use fuel cost calculations to evaluate trip expenses, compare vehicles, and track whether your efficiency efforts produce results. Knowledge of your vehicle's fuel economy empowers smarter driving decisions and long-term financial savings.