
Web Scripts & Software
DEV3 Lotwright – Car Dealer Management Script with Gemini AI admin tools, Deal Desk & Stock Website
from $69$99
Loading…
Everyday tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
Region values are examples, not live prices. Enter what you pay. Use a recent average from your trip computer for efficiency.
Tyres, servicing
Including driver
| Item | Amount |
|---|---|
| Fuel or charging | $42.00 |
| Tolls, parking, other | $0.00 |
| Wear and tear | $0.00 |
| Total | $42.00 |
Tailpipe CO2 about 106.7 kg (2.35 kg per litre, US EPA factor). Same economy: 7.84 L/100 km.
Efficiency is converted to litres per 100 km. Fuel = 579.4 km / 100 x that figure = 45.42 litres. Cost = fuel x price per litre, plus tolls, parking and other costs. A US gallon is 3.785 litres and a UK gallon is 4.546 litres. Financing a car? See the car loan and lease calculator.
Estimates. Real consumption varies with speed, load, weather and traffic. Prices in the presets are examples, not live data. Calculated in your browser. Related: unit converter.
Need Fuel Cost & Trip Cost Calculator as a full mobile or web app? We build it in about a week. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The fuel cost & trip cost calculator stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Get the full app behind this tool. Buy once, own the source, and try each one live first.

Web Scripts & Software
from $69$99

Web Scripts & Software
from $69$99

Web Scripts & Software Mobile app
from $69$99

Web Scripts & Software Mobile app
from $69$99

Immersive 3D Websites
from $55$79

Web Scripts & Software
from $20$29

Web Scripts & Software Mobile app
from $69$99

Enterprise SaaS Starters
from $69$99
Fuel is the largest variable cost of a drive. This calculator turns distance, mileage and price into a trip cost, splits it between passengers and compares the cost of petrol, diesel, CNG and electric.
Fuel needed = distance / 100 x litres per 100 km. Fuel cost = fuel needed x price per litre. Every efficiency unit is first converted to litres per 100 km, so the maths is the same whichever unit you use. US and UK gallons are handled separately because they differ in size.
The compare tab shows cost per km, per month and per year for petrol, diesel, CNG, EV charged at home and EV on fast chargers. It also shows the electricity price at which an EV matches the cost of petrol.
Convert between MPG US, MPG UK, km/L, L/100 km, miles per litre, km/kWh, miles/kWh and Wh/mile in one box.
Real consumption changes with speed, load, weather and traffic, so use a recent average from your trip computer. Prices here are examples, so enter the current price you pay. For financing a car see the car loan and lease calculator.
Divide the distance by the fuel efficiency to get the fuel needed, then multiply by the fuel price. For 300 km at 15 km per litre and 100 per litre that is 20 litres and 2,000. The tool also adds tolls, parking and other costs and can split the total.
Divide 235.215 by the US MPG, or 282.481 by the UK MPG. For example 30 US MPG is 7.84 L/100 km. The fuel-efficiency converter on this page handles every common unit, including km per litre and kWh per 100 km.
No. A US gallon is 3.785 litres and a UK (imperial) gallon is 4.546 litres, so the same car shows a higher MPG in UK units. Pick the right one for both mileage and price.
Convert both to cost per km. Petrol cost per km is litres per km times the price per litre. EV cost per km is kWh per km times the price per kWh. The compare tab shows both for home charging and for public fast charging, which usually costs two to three times more.
Enter the number of people including the driver. The tool divides the total, including tolls and parking, so each person pays the same share. Add the driver as one of the people if they should chip in too.
No. The regional presets are example values for illustration. Enter the fuel or electricity price you actually pay, because it changes often and varies by station and tariff.