Skip to content

Gas Mileage Calculator

Track your fuel efficiency and cost per mile.

Fuel Efficiency

30 MPG

Cost per Mile

$0.12

Total Trip Cost

$35.00

Method

How this calculator works

MPG = Distance Driven / Fuel Used. Cost per Mile = Price per Gallon / MPG.

MPG = Distance / Gallons
CostPerMile = PricePerGallon / MPG
  1. Enter the distance driven.
  2. Enter the amount of fuel used.
  3. Enter the price per unit of fuel to see cost per mile.

Examples

Worked examples

Real numbers, end-to-end results.

300 miles driven, 10 gallons used

30 MPG

Standard calculation.

Use cases

When to use it

  • Road trip planning.
  • Tracking vehicle health.
  • Commute budgeting.

FAQ

Frequently asked questions

How do you calculate gas mileage?
Divide the number of miles driven by the number of gallons used to refill the tank.
Is higher MPG better?
Yes. Higher Miles Per Gallon (MPG) means your vehicle travels further on a single gallon of gas, making it more fuel-efficient.
How can I improve my gas mileage?
Maintain steady speeds, keep tires properly inflated, reduce excess weight, and avoid rapid acceleration/braking.