Fuel consumption and trip cost
Estimate fuel and trip cost from distance, consumption and your entered fuel price.
Your inputs
The editable example is illustrative. Enter your own dimensions, operating data, prices, and fees. Results update as you edit.
Calculations run in your browser. Inputs are not saved or sent to analytics.
How it works
- Fuel volume = (km) × (L/km); Fuel-only trip cost = Fuel volume (L) ÷ (L) ×
- Worked example: 300 km × 6/100 = 18 L; 18 × 1.50 = 27; 27/3 = 9
- Supported input limits: : 0 ≤ x ≤ 1,000,000,000,000; : 1e-12 ≤ x ≤ 1,000,000,000,000; : 0 ≤ x ≤ 1,000,000,000,000; : 1 ≤ x ≤ 1,000
Input and formula key
Your result
Complete the inputs to see your result.
Assumptions and limitations
Enter the total distance you plan to drive, including a return leg if needed. Match US or imperial mpg and price-per-gallon conventions. The cost covers fuel only; tolls, parking, vehicle wear and changing traffic conditions are excluded.
Sources
- NIST — conversion factor conventions Sources reviewed: 2026-10-06
- NIST — conversion factor table B.8 Sources reviewed: 2026-10-06



