CCalclabhub

Driving

Fuel cost

The price multiplies the gallons, so both efficiency and fuel price drive the total.

Last updated

The Formula

fuel cost = gallons x price per gallon

The price multiplies the gallons, so both efficiency and fuel price drive the total.

SymbolMeaning
FFuel cost
gGallons used
pPrice

What Each Symbol Means

Fcurrency

Fuel cost

Money spent on fuel.

ggallons

Gallons used

Fuel consumed.

pcurrency per gallon

Price

Cost per gallon.

See It Worked With Real Numbers

A formula on its own does not tell you which number goes where. The how to calculate a cost per mile page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.

Where This Formula Appears

This equation is the working core of How To Calculate A Cost Per Mile, filed under Everyday Life. Every number the guide produces comes from substituting into this one line.

Common Questions

What is the formula for Fuel cost?

The formula for Fuel cost is fuel cost = gallons x price per gallon. The price multiplies the gallons, so both efficiency and fuel price drive the total.

What units should I use with Fuel cost?

Substitute F in money (any currency, as long as every money input uses the same one), g in gallons, p in currency per gallon. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.

What is a common mistake when using Fuel cost?

Mixing miles with litres. Miles per gallon only works with miles and gallons. Using kilometres with miles per gallon, or litres with a per gallon price, gives an answer out by a factor of several.