Fuel Consumption Calculator

Fuel Consumption Calculator

Calculate your vehicle's fuel efficiency and trip costs

Calculation Results:

Fuel Economy: 0 L/100km
Cost per km: 0
Total Trip Cost: 0
KM per Liter: 0 km/L

Understanding Fuel Consumption

Fuel consumption is a measurement of how much fuel a vehicle uses to travel a specific distance. Unlike "fuel economy" (how far you can go on a set amount of fuel), consumption focuses on the volume of fuel required for the journey. This is typically expressed in Liters per 100 Kilometers (L/100km) in metric systems or Miles per Gallon (MPG) in imperial systems.

How to Calculate L/100km

To calculate your vehicle's fuel consumption manually, follow this simple formula:

(Fuel Used / Distance Traveled) x 100 = L/100km

For example, if you drove 600 kilometers and used 45 liters of fuel: (45 / 600) * 100 = 7.5 L/100km.

Factors That Affect Fuel Efficiency

  • Driving Habits: Rapid acceleration and heavy braking significantly increase fuel usage.
  • Vehicle Maintenance: Under-inflated tires, dirty air filters, and old spark plugs can reduce efficiency by up to 10%.
  • Weight and Aerodynamics: Carrying unnecessary weight or using roof racks creates drag and increases consumption.
  • Idling: Leaving the engine running while stationary consumes fuel without moving the vehicle.

Practical Example

Imagine you are planning a 1,200 km road trip. Your car averages 8.0 L/100km and fuel costs $1.50 per liter. Using this calculator, you can determine that you will need 96 liters of fuel, costing you a total of $144 for the trip. Knowing these figures helps in budgeting and comparing different travel options.

function calculateFuelConsumption() { var distance = parseFloat(document.getElementById('distanceTraveled').value); var fuel = parseFloat(document.getElementById('fuelUsed').value); var price = parseFloat(document.getElementById('fuelPrice').value); var resultsDiv = document.getElementById('fuelResults'); if (isNaN(distance) || isNaN(fuel) || distance <= 0 || fuel 0) { totalCost = fuel * price; costPerKm = totalCost / distance; priceDisplay = price.toFixed(2); } // Display Results document.getElementById('resEfficiency').innerHTML = efficiency.toFixed(2); document.getElementById('resKmPerL').innerHTML = kmPerL.toFixed(2); if (!isNaN(price) && price > 0) { document.getElementById('resTotalCost').innerHTML = "$" + totalCost.toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2}); document.getElementById('resCostPerKm').innerHTML = "$" + costPerKm.toFixed(3); } else { document.getElementById('resTotalCost').innerHTML = "N/A (Price not set)"; document.getElementById('resCostPerKm').innerHTML = "N/A"; } resultsDiv.style.display = 'block'; resultsDiv.scrollIntoView({ behavior: 'smooth', block: 'nearest' }); }

Leave a Comment