Trip fuel cost

v1
What the fuel for a trip costs given the distance and the fuel economy.
Lienzo visual
Vista matemáticaEn vivo
distanciarendimiento⋅precio_galon\frac{ distancia}{ rendimiento}\cdot precio\_galon
PruebaEjecutar fórmula
Válida
Asigna valores a las variables y comprueba el resultado sin salir del editor.
Valores de entrada
distancia
rendimiento
precio_galon
Resultadocosto_del_viaje
Ejecuta la fórmula para ver el resultado.

How it is worked out

Work out what a trip costs in fuel, from the distance and how far your car goes on a gallon.

The calculation has two steps: how much fuel the trip burns and what that fuel costs. Four hundred and fifty kilometres at forty kilometres per gallon is 11.25 gallons, and at 16,000 a gallon that is 180,000.

The expression that runs

distancia / rendimiento * precio_galon

The fields arrive with an example filled in: put your own numbers in and run it again. You can also edit the formula to fit your case.

What if the formula were yours?

This calculator is not hand-written: it is an Axioma formula. Open it in the editor to see how it is built, adapt it to your case and create the ones you need.

Open this formula in the editor

How it is worked out, step by step

First the distance is divided by the fuel economy: 450 over 40 gives 11.25 gallons. Then it is multiplied by the price: 11.25 times 16,000 is 180,000.

If you measure economy in kilometres per litre, the formula is the same with the price per litre instead of per gallon. All that matters is that both figures talk about the same unit.

Real fuel economy is not the brochure figure

The economy a manufacturer advertises is measured under ideal conditions. In town, with traffic, air conditioning and constant stopping, it tends to be noticeably worse than on the open road.

The honest way to find yours: fill the tank, note the odometer, fill it again next time and divide the kilometres covered by the fuel that went in. That number is the one worth typing here.

What a trip costs besides fuel

If you are comparing the car against another option, fuel is only part of it: there are tolls, parking and wear, which is not paid that day but is paid.

And when several people travel, the cost per person is the total divided between them, which often changes the comparison with the bus or the plane entirely.

Frequently asked questions

How do I find my car fuel economy?
Fill the tank, note the odometer and fill it again a few days later. Divide the kilometres covered by the fuel that went in: that is your real economy.
What if I measure in kilometres per litre?
It works the same: enter the economy in kilometres per litre and the price per litre. The formula knows nothing about units, it only keeps the ratio.
Does it work for a return trip?
Yes, by entering the total distance. Four hundred and fifty kilometres each way is 900 in the distance field.