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.
Summary
Total distance
0.00 km
Total fuel
0.000 L
Average MPG (US)
—
L/100 km
—
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.
| Date | Distance | Fuel | Unit System | Notes |
|---|---|---|---|---|
| 2025-09-02 | 420 km | 30 L | Metric | Highway majority |
| 2025-09-15 | 365 km | 26 L | Metric | Mixed conditions |
| 2025-09-28 | 280 miles | 9.3 gal | US customary | Long interstate run |
| 2025-10-03 | 210 km | 18 L | Metric | Urban 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
- Choose your unit system first: Metric (km, L) or US customary (miles, gallons).
- Enter trip distance, fuel used, optional fuel price, date, and any notes. Click Add Trip.
- Repeat for multiple fill-ups. The summary and chart update automatically as you add rows.
- Use CSV to export the table for spreadsheets, or PDF to save a printable report.
- 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.