Fuel Mileage Calculator

Log each fill-up, distance, and price with intuitive inputs for fast, accurate mileage tracking. See MPG, km per liter, and liters per 100 kilometers with automatic unit conversions. Visualize performance trends using a clean, responsive chart over time. Download your table as CSV for sharing anywhere. Create a printable PDF summary with one click.

Trip Inputs
Fuel Economy
$
Leave blank if unknown; costs will be omitted.

Tips: switch unit system first. Inputs are converted internally to kilometers and liters for accurate comparisons.
Mileage Trend
Trips Table
Click to remove a row.
# Date Distance (km) Fuel (L) MPG (US) MPG (Imp) km/L L/100 km Cost Notes Action
Example Data

These sample entries reflect mixed highway and city driving. Use the button above to load them into the calculator.

DateDistanceFuelUnit SystemNotes
2025-09-02420 km30 LMetricHighway majority
2025-09-15365 km26 LMetricMixed conditions
2025-09-28280 miles9.3 galUS customaryLong interstate run
2025-10-03210 km18 LMetricUrban traffic

Formulas Used

Let total distance = Σ distance and total fuel = Σ fuel.

Internal base units: kilometers (km) and liters (L). Conversions:
  miles = km / 1.609344
  US gallons = L / 3.785411784
  Imperial gallons = L / 4.54609

Metrics:
  MPG (US)   = miles / US gallons
  MPG (Imp)  = miles / Imperial gallons
  km/L       = km / L
  L/100 km   = 100 × L / km

If price is provided (per L or per US gallon depending on unit chosen during entry):
  Trip cost = price × fuel_in_entered_units
  Cost/100 km (overall) = (total cost / total km) × 100

How to Use This Calculator

  1. Choose your unit system first: Metric (km, L) or US customary (miles, gallons).
  2. Enter trip distance, fuel used, optional fuel price, date, and any notes. Click Add Trip.
  3. Repeat for multiple fill-ups. The summary and chart update automatically as you add rows.
  4. Use CSV to export the table for spreadsheets, or PDF to save a printable report.
  5. Click Load Example Data to see the calculator in action, then clear or overwrite with your records.

FAQs

Enter the actual distance driven since your last fill-up. If you track odometer readings, subtract the previous reading from the current reading to get distance.

Partial fills work fine. Enter the distance since the previous entry and the fuel added. Aggregated stats remain accurate over multiple entries.

All entries are converted into kilometers and liters internally. Displayed metrics such as MPG and L/100 km derive from these base units for consistency.

Yes. Use the notes field to tag trips, e.g., “city” or “highway.” Export to CSV to filter and compare results in a spreadsheet.

The US and Imperial gallons have different volumes. The Imperial gallon is larger, so MPG (Imp) is numerically higher for the same underlying data.

Related Calculators

30 Min Calculator90 Day CalculatorAdd Days CalculatorAdding Hours and Minutes CalculatorAge in Minutes CalculatorAge in Years CalculatorBirthday Countdown CalculatorCalendar Countdown Calculatorcm to mm Ring Size ConverterCountdown Calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.