Formula and method
Fuel used comes from distance divided by economy after unit normalization. In unit-price mode, use the entered pump price. In receipt mode, divide the receipt total by purchased fuel volume and use that effective price in the trip calculation. The Fuel Price output displays the chosen price basis and a per-liter conversion.
Effective price = entered unit price, or receipt total / receipt quantity
Trip fuel cost = trip miles / US MPG × price per US gallon
Annual cost = annual miles / US MPG × price per US gallon
Fuel price per liter = price per US gallon / 3.785411784
Understanding your inputs
- Price entry method
- Enter unit price or Calculate price from receipt
- Distance unit
- miles or kilometers
- Trip distance
- Enter mi. Accepted input range: 0–1000000.
- Annual distance
- Enter mi. Accepted input range: 1–10000000.
- Fuel economy unit
- MPG (US) or MPG (Imperial) or L/100 km or km/L
- Vehicle fuel economy
- Enter mpg (US). Accepted input range: 0.01–1000.
- Comparison fuel economy
- Enter mpg (US). Accepted input range: 0.01–1000.
- Fuel price volume unit
- US gallons or Imperial gallons or liters
- Fuel unit price
- Enter USD/US gal. Accepted input range: 0–1000.
- Fuel receipt total
- Enter USD. Accepted input range: 0–1000000.
- Fuel quantity on receipt
- Enter US gal. Accepted input range: 0.001–100000.
Worked example
The default trip is 300 mi at 30 US MPG and $3.50 per US gallon, costing $35. The alternate receipt example is $35 for 10 US gallons, which derives the same unit price. Annual distance is 12,000 mi; comparison economy is 40 US MPG.
Example inputs
- Price entry method
- Enter unit price
- Distance unit
- miles
- Trip distance
- 300 mi
- Annual distance
- 12000 mi
- Fuel economy unit
- MPG (US)
- Vehicle fuel economy
- 30 mpg (US)
- Comparison fuel economy
- 40 mpg (US)
- Fuel price volume unit
- US gallons
- Fuel unit price
- 3.5 USD/US gal
Default result: Trip fuel cost: 35.00 USD.
Assumptions
- Receipt total covers fuel only, with quantity in the selected fuel-price unit.
- Displayed currency is USD; unit selectors change volume or economy, not currency exchange rates.
Limitations
- Receipt discounts or non-fuel items must be handled consistently. No live pump prices are fetched.
- Annual and monthly outputs assume the selected price and economy remain representative.
Common mistakes
- Including shop purchases in a fuel-only receipt total.
- Entering a fuel receipt in liters while leaving the price volume unit set to gallons.
Sources and methodology
Method reviewed October 1, 2026. Formulas are implemented independently; references explain the dimensions, ratings or application requirements.
- US EPA — fuel economy and annual fuel cost conventions ↗
MPG, consumption per distance and estimated annual fuel costs depend on explicit assumptions.
- NIST — SI conversion factors ↗
Miles, liters, US/Imperial gallons and reciprocal fuel-economy conversions.
Frequently asked questions
Does the Fuel Price function affect the trip result?
Yes. In receipt mode, the derived unit price is used in all cost outputs rather than remaining a disconnected conversion.
Can a zero fuel price be entered?
Yes for cost planning. It produces zero fuel spending; distance-per-dollar calculations require a positive price and belong on Miles per Dollar.