Gas Mileage Calculator
Calculate your car's fuel efficiency in miles per gallon.
Enter your values and click Calculate
Monitoring your vehicle's fuel efficiency is one of the simplest ways to control driving costs and catch mechanical problems early. This gas mileage calculator delivers an instant MPG reading using only two data points: the miles you drove and the fuel you consumed. Fuel costs are among the largest recurring household expenses for drivers — knowing your true MPG tells you exactly how much each mile costs at today's gas prices. A vehicle achieving 22 MPG versus one reaching 28 MPG represents a meaningful annual cost difference. At $3.50 per gallon over 12,000 miles per year, the less efficient vehicle costs roughly $350 more in fuel alone. Beyond personal budgeting, MPG is a direct indicator of vehicle health. Sudden drops often point to worn spark plugs, a dirty mass air flow sensor, or low tire pressure. Fleet managers and commercial drivers use efficiency tracking to schedule preventive maintenance before costly failures occur. Rideshare and delivery workers track MPG to accurately calculate operating costs for tax deductions and per-mile pricing decisions. The calculator is also useful when comparing vehicles before purchase — cross-referencing EPA fuel economy ratings against owner-reported real-world figures for the same make and model gives a far more realistic efficiency benchmark than the window sticker alone.
How It Works
The gas mileage calculator uses a single formula: MPG = Miles Driven ÷ Gallons Used. MPG, or miles per gallon, is the standard US measure of fuel efficiency — it expresses how far your vehicle travels on one gallon of fuel. To get an accurate measurement, fill your tank completely and record your odometer reading. Drive your normal mix of city and highway miles, then fill up again and note exactly how many gallons it took to top the tank off. The miles driven is the difference between the two odometer readings; the gallons used is the amount needed to return the tank to full. The formula does not separate city from highway mileage — the result reflects your actual blended driving conditions. City driving typically yields lower MPG because of frequent stops, acceleration, and idle time, while steady highway cruising at consistent speed is more fuel-efficient. Comparing your calculated MPG against the EPA's stated estimate for your make, model, and year reveals how efficiently your vehicle is actually running. A sustained 10–15% drop below the EPA rating is a meaningful signal that can indicate under-inflated tires, a clogged air filter, worn spark plugs, or a failing oxygen sensor. Tracking your MPG across several consecutive fill-ups produces a reliable trend that a single measurement cannot provide.