Knowing the cost of each mile you drive turns a vague sense of "gas is expensive" into a number you can budget with. The fuel cost calculator's underlying method makes this a short division, whether your car's efficiency is quoted in miles per gallon or as consumption per 100 miles.
To calculate fuel cost per mile, divide your local fuel price per gallon by your vehicle's fuel efficiency in miles per gallon. If your car's consumption is instead given per 100 miles, divide the distance by 100, multiply by that consumption and then by the price per gallon. Both routes give the marginal cost of driving one mile at current pump prices.
What is the fuel cost per mile formula?
The calculator's frequently asked questions give two equivalent ways to reach a fuel cost, depending on how your car's efficiency is expressed. For a per-mile figure, the relationship is:
Here is your local price per gallon and is the vehicle's efficiency in miles per gallon (mpg). The equivalent form for a whole trip, when consumption is stated per 100 miles, is:
How do the per-gallon and per-100-mile formulas differ?
Which formula you use depends only on the units your efficiency figure comes in. The source states the choice explicitly:
| Efficiency units | Formula to use |
|---|---|
| Miles per gallon (mpg) | Fuel cost = (Distance ÷ efficiency per gallon) × cost per gallon |
| Gallons per 100 miles | Fuel cost = (Distance ÷ [100 × consumption per 100 mi]) × cost per gallon |
| Cost per mile | Fuel cost per mile = fuel price ÷ fuel efficiency |
The first and third rows both rely on mpg; the second is the form to use when your consumption figure is expressed per 100 miles. The fuel cost calculator itself lets you switch units on the distance, efficiency, fuel amount and price fields, so you can keep the numbers in the units you are comfortable with.
Worked example: the source's 100 km trip
The calculator's own example travels 100 km in a car rated at 5 kilometers per liter, with gas at $7 per liter. Applying the price-divided-by-efficiency relationship gives the cost to cover each kilometer:
Over the full 100 km that is 140, matching the calculator's trip cost of 20 liters × 140**. The same division, performed with a price per gallon and an efficiency in mpg, returns the cost per mile directly.
Frequently Asked Questions
Do I need miles per gallon to use this?
No. If your efficiency is given as consumption per 100 miles, use the second formula: distance divided by 100 times consumption, multiplied by the cost per gallon. The fuel cost calculator also accepts different units through the switcher on each field.
Does the per-mile cost stay constant?
Only while the price and your driving conditions stay the same. The source notes that many factors influence fuel prices, including benchmark oil prices, refining costs, taxes, economic growth and market speculation, so a per-mile figure calculated today can change.
How is this different from fuel cost per month?
Per-mile cost prices a single mile; monthly cost multiplies your total distance over the month by the same price-per-efficiency relationship. Both start from the same price and efficiency inputs.
References
- Omni's fuel cost calculator FAQ on calculating fuel cost and fuel cost per mile.
- The calculator's per-gallon and per-100-mile fuel cost equations.