Trip cost calculator

Work out what a car trip costs, the real average consumption of your vehicle, or how far a budget will take you. Kilometres or miles, l/100 km, km/l or mpg, petrol, diesel, LPG or electric.

Your data stays on your computer. Files are processed in your browser and are never uploaded.

When you change unit the value is converted for you, along with the price.

Optional: motorway, parking, ferry.

Fill in the required fields to see the result.

Keyboard shortcuts

In this tool

This tool has no keyboard actions.

Everywhere

Open this panel (outside text fields)
?
Closes panels and menus, never clears data
Esc
Search for a tool
/ or CtrlK

How to use it

  1. Choose what to calculate: the cost of a trip, the average consumption from a fill-up, or how far a budget will take you.
  2. Type the distance, the vehicle consumption and the fuel price; pick the unit you prefer (km or miles, l/100 km, km/l or mpg): numbers already typed are converted.
  3. Optionally add tolls, the number of people and the CO2 estimate; for an electric vehicle pick “Electric” and type kWh/100 km and the price per kWh.
  4. Read the result as you type, copy it as text or share every field with “Copy link”.

Frequently asked questions

How do I convert mpg to l/100 km?

Divide a constant by the value: l/100 km = 235.215 / US mpg, or 282.481 / UK mpg. For example 30 US mpg is about 7.84 l/100 km and 40 UK mpg about 7.06 l/100 km. The UK gallon (4.546 l) is larger than the US one (3.785 l), so the same car shows higher UK mpg.

Is the manufacturer's consumption figure reliable?

It is usually lower than the real one because it is measured under test conditions. For a true figure use “Average consumption”: fill up, drive a stretch, fill up again and type the kilometres driven and the litres added.

How is CO2 calculated?

By multiplying the litres needed by an average emission factor: 2.31 kg/l for petrol, 2.68 kg/l for diesel, 1.51 kg/l for LPG. It is an estimate: it ignores driving style, load and traffic. It is not calculated for electric vehicles because it depends on how the energy is produced.

Why can the cost per person differ by a cent?

The total divided by the number of people is rounded to the cent, so multiplying the share by the people can give one cent more or less than the total. Calculations use whole cents, with no floating-point errors.

What does “round trip” count?

The distance you typed is doubled, and so are the litres and the fuel cost. Tolls and other fixed costs are not doubled: type the total you will pay.

Privacy

Everything happens in your browser: the numbers you type are never sent or stored.

Tool chains

Link several tools into a path: after using a tool, “Send to…” offers the next step first. Saved chains keep only a name and the tools, never your data.

Saved chains

No saved chains.

New chain