MotorMath
Fuel & Efficiency

Average Fuel Price Calculator

Track your volume-weighted average fuel price across multiple fill-ups with this pure-math calculator.

Last updated:

What this tool does

This calculator computes the volume-weighted average price per litre across up to four separate fuel fill-ups. Users enter the litres purchased and price per litre for each refuelling event; the engine multiplies each volume by its unit price to determine total spend, sums all litres, then divides total spend by total volume. The result reflects the true average cost weighted by the quantity bought at each price point, rather than a simple arithmetic mean of the unit prices.

Inputs
(L)
(£/L)
(L)
(£/L)
(L)
(£/L)
(L)
(£/L)
Result
Result
Formula
Volume-weighted average price per litre
Litres purchased at fill-up i
Price per litre at fill-up i
Number of valid fill-ups

How the average fuel cost calculator works

Fuel prices fluctuate from week to week and station to station. A simple arithmetic average of posted prices does not reflect what a driver actually pays when fill-up quantities vary. This calculator applies volume weighting: each fill-up's unit price is multiplied by the litres purchased, those products are summed to yield total spend, and the sum is divided by the total litres purchased. The output is the effective price per litre paid across all recorded transactions.

The formula

For n fill-ups, the volume-weighted average price per litre is:

Average = (L₁ × P₁ + L₂ × P₂ + … + Lₙ × Pₙ) ÷ (L₁ + L₂ + … + Lₙ)

where L denotes litres and P denotes price per litre for each transaction. The calculator accepts up to four fill-ups; any entry with zero litres or zero price is filtered out before calculation.

Where this method is most accurate

Volume-weighted averaging produces a faithful representation of actual expenditure when all fill-up records are included and quantities are measured accurately. The result assumes each volume and price pair reflects a complete transaction; partial tanks or estimated quantities reduce precision. Drivers who record every refuelling event over a fixed period obtain the most representative average. The tool does not adjust for differences in fuel grade or seasonal blend.

What this tool does not do

The calculator reports a weighted mean unit price; it does not project future costs, recommend optimal refuelling strategies, or incorporate taxes and fees that may vary by jurisdiction. It does not track consumption efficiency (MPG or L/100 km), estimate total annual expenditure, or compare prices across regions. The output reflects only the data entered and makes no claim about market trends or value for money.

Disclaimer

This tool is provided for educational and informational purposes. It performs a mathematical calculation based on user-supplied inputs and does not constitute financial, tax, or motoring advice. Results depend entirely on the accuracy of the volumes and prices entered. Users remain responsible for verifying their own records and for any decisions made using the output.

Questions

Why is the weighted average different from the arithmetic mean of the prices?
An arithmetic mean treats each unit price equally, regardless of how many litres were purchased at that price. The volume-weighted average multiplies each price by the quantity bought, so larger fill-ups have proportionally greater influence on the final figure. This reflects actual spending more accurately.
Do I need to enter all four fill-ups?
No. The calculator requires at least one fill-up with non-zero litres and price. Any entry with zero litres or zero price is automatically excluded from the calculation, so users can track as few as one or as many as four transactions.
Can I use this calculator for gallons instead of litres?
The tool is configured for litres and displays results in pounds per litre. To work with gallons, convert volumes to litres before entry (1 UK gallon ≈ 4.546 L; 1 US gallon ≈ 3.785 L) or use the output as a reference and apply the same formula manually with gallon data.
Does this tool account for fuel grade or seasonal blends?
No. The calculator treats all entered data as homogeneous transactions. If fill-ups include different grades (e.g., premium versus regular) or seasonal formulations, the weighted average will blend those costs but will not separate or adjust for quality differences.
How often should I update my fill-up data to get a meaningful average?
The weighted average becomes more representative as more transactions are included. Recording every refuelling event over a month or quarter captures typical price variation and driving patterns. Single or infrequent entries may reflect short-term anomalies rather than sustained cost trends.

Spotted something off?

Calculations or display — let us know.

Sources & Methodology

The calculator computes the volume-weighted average fuel price by summing the product of litres and price per litre for each fill-up, then dividing by the total litres. This weighted-mean approach accounts for variations in purchase quantity and reflects true average expenditure. The method is standard in fuel-cost tracking and cost accounting.

Related tools

People also use