Calculating Fuel Rate

Fuel Rate & Consumption Calculator

Calculate fuel efficiency and travel costs accurately.

Metric (L/100km) Imperial (MPG)

Calculation Results

Fuel Rate:

Trip Cost:

Understanding Fuel Rate Calculations

Calculating your fuel rate is essential for budgeting travel costs and monitoring vehicle performance. Fuel rate, often referred to as fuel efficiency or fuel consumption, measures how much fuel a vehicle uses over a specific distance.

How is Fuel Rate Calculated?

The math depends on whether you are using the Metric system (common in Europe, Canada, and Australia) or the Imperial system (common in the USA and UK).

  • Metric (L/100km): This formula calculates how many liters of fuel are used for every 100 kilometers driven. Lower numbers indicate better efficiency.
    Formula: (Fuel Consumed ÷ Distance) × 100
  • Imperial (MPG): Miles Per Gallon measures how many miles you can travel on a single gallon of fuel. Higher numbers indicate better efficiency.
    Formula: Distance ÷ Fuel Consumed

Example Calculation

Suppose you drove 600 kilometers and used 45 liters of fuel. To find your fuel rate in L/100km:

(45 ÷ 600) × 100 = 7.5 Liters per 100km

If fuel costs $1.50 per liter, your total trip cost would be 45 × 1.50 = $67.50, and your cost per kilometer would be $0.11.

Why Track Your Fuel Rate?

Sudden changes in your fuel rate can indicate mechanical issues like low tire pressure, clogged air filters, or engine problems. By tracking these numbers consistently, you can optimize your driving habits and ensure your vehicle is running at peak efficiency.

function updateUnits() { var mode = document.getElementById('calcMode').value; var distLabel = document.getElementById('distLabel'); var fuelLabel = document.getElementById('fuelLabel'); if (mode === 'metric') { distLabel.innerHTML = 'Distance Traveled (km)'; fuelLabel.innerHTML = 'Fuel Consumed (Liters)'; } else { distLabel.innerHTML = 'Distance Traveled (Miles)'; fuelLabel.innerHTML = 'Fuel Consumed (Gallons)'; } } function calculateFuelRate() { var mode = document.getElementById('calcMode').value; var distance = parseFloat(document.getElementById('distance').value); var fuel = parseFloat(document.getElementById('fuelConsumed').value); var price = parseFloat(document.getElementById('fuelPrice').value); var resultDiv = document.getElementById('fuelResults'); var rateOutput = document.getElementById('rateOutput'); var costSection = document.getElementById('costSection'); var costOutput = document.getElementById('costOutput'); var costPerDist = document.getElementById('costPerDist'); if (isNaN(distance) || distance <= 0 || isNaN(fuel) || fuel 0) { var totalCost = fuel * price; var perDistCost = totalCost / distance; costSection.style.display = 'block'; costOutput.innerHTML = "$" + totalCost.toFixed(2); costPerDist.innerHTML = "Your estimated cost per " + distUnit + " is $" + perDistCost.toFixed(3); } else { costSection.style.display = 'none'; costPerDist.innerHTML = ""; } resultDiv.scrollIntoView({ behavior: 'smooth', block: 'nearest' }); }

Leave a Comment