MPG Calculator

Calculate fuel economy in miles per gallon, or estimate the fuel needed and trip cost for a drive.

Use it to compare vehicles, plan road trips, or check whether a route is budget-friendly before you leave.

Calculated Result

--

--

Run the calculation to see the result.

Quick Answer

MPG is miles divided by gallons. For trip planning, gallons needed equals distance divided by MPG, and trip cost equals gallons multiplied by fuel price.

How to Calculate MPG

  1. Choose whether you want to solve for MPG or trip cost.
  2. Enter the miles driven and the fuel used, or enter MPG and fuel price for a trip.
  3. Click Calculate to see the fuel economy or trip cost.
  4. Use the result to compare vehicles or budget a road trip.

Formula

MPG = distance / gallons

Gallons needed = distance / MPG

Trip cost = gallons needed x fuel price

Worked Examples

Example 1: 300 miles using 10 gallons = 30 MPG.

Example 2: 240 miles at 30 MPG uses 8 gallons.

Example 3: 8 gallons at $3.50/gallon costs $28.00.

How to Interpret Your Results

RangeMeaningAction
Below 20 MPGLower fuel economyCheck driving style, load, and maintenance
20 to 35 MPGTypical mixed driving rangeUseful for most commuter vehicles
Over 35 MPGHigh fuel efficiencyGreat for long-distance budgeting

Frequently Asked Questions

Divide the miles driven by the gallons used. The quotient is your miles per gallon.

Yes. Use the trip mode, enter distance, MPG, and fuel price, and the page will estimate gallons and cost.

This page uses miles and gallons. If your data is in metric units, convert them first before calculating MPG.

Related Calculators

References