Fuel Cost Calculator
Choose km/L, L/100km, or mpg, then enter distance, consumption, and price per liter or gallon. Cards show fuel used and trip cost as you type.
Fuel used25.00 L
Trip cost40.00
Brazil often uses km/L. Europe uses L/100km. US uses mpg.
About this tool
km/L and mpg divide distance by economy. L/100km uses liters = (km ÷ 100) × L/100km. Cost is fuel × pump price. Distance and consumption must stay positive.
How to use
- Pick the mode: km/L, L/100km, or mpg.
- Enter distance: Kilometers or miles to match the mode.
- Enter consumption and price: Fill economy and the pump price.
- Read fuel and cost: The cards update as soon as the numbers are valid.
Common use cases
- Budget a road trip before booking stays.
- Use km/L for a Brazilian car, L/100km for a European spec.
- Split tank cost after a shared drive.
Tips
- Match price units to the mode: per liter with km/L or L/100km, per gallon with mpg.
- A zero distance cannot produce a useful fuel amount.
FAQ
How does km/L work?
Liters = kilometers ÷ km/L; cost = liters × price per liter.
How is L/100km computed?
Liters = (km ÷ 100) × L/100km; then multiply by price.
How is mpg computed?
Gallons = miles ÷ mpg; cost = gallons × price per gallon.
Can price be zero?
Yes. Fuel used still prints and trip cost is 0.00.