Planning a trip means knowing what the fuel will cost before you leave. Omni's fuel cost calculator figures out how much gas you will need and what you will spend on it, so you can avoid an unexpected shortfall at the pump.
Fuel cost for a trip is the amount of fuel your car burns multiplied by the price you pay per unit of fuel. Divide the one-way distance by your vehicle's fuel efficiency to find the fuel needed, double it for a round trip if required, then multiply by the fuel price at your station. The calculator reports both the fuel amount used and the total trip cost, and it accepts metric or imperial units for each field.
What formula does the fuel cost calculator use?
The calculator first works out how much fuel the journey consumes, then prices that fuel. Its two equations are:
Here is the one-way distance, is your car's mileage, is the price at your gas station, and is a multiplier that is 2 for a return journey and 1 for a one-way journey. The result is the fuel used during the trip, and is the money you will spend on it.
The table below shows the two options for the round-trip switch, taken directly from the calculator's dataset:
| Trip option | Multiplier value |
|---|---|
| Two-way trip | 2 |
| One-way trip (blank option) | 1 |
Which inputs does the fuel cost calculator need?
The calculator exposes the following fields. Distance and range can be entered in different units using the switcher on each field.
| Field | What it represents |
|---|---|
| One-way distance | Distance from start to destination |
| Two-way trip | Whether the journey is a round trip |
| Fuel efficiency/consumption (mileage) | Your car's fuel efficiency |
| Fuel price at your gas station | Price per unit of fuel |
| Fuel used during this trip | Output: amount of fuel consumed |
| Fuel cost | Output: money spent on fuel |
If you do not yet know your car's mileage, the calculator offers an "I don't know my car's fuel efficiency" option that derives efficiency from a distance driven and the fuel put into the tank.
Worked example: a 100 km trip at 5 km per liter
Suppose you travel 100 km in a car whose fuel efficiency is 5 kilometers per liter, and the price of gas is $7 per liter. Substituting into the fuel amount equation:
Pricing those 20 liters at $7 each gives the total:
So the trip needs 20 liters of fuel and costs $140. Choosing the two-way option would double both figures, because the multiplier becomes 2 rather than 1.
Frequently Asked Questions
Can I switch the units in the calculator?
Yes. The calculator estimates distance, fuel efficiency, fuel amount and fuel price using different units. Click the switcher on each field and choose your preferred unit.
What if I don't know my car's fuel efficiency?
Select the "I don't know my car's fuel efficiency" option. The calculator then works out efficiency from the distance you drove and the amount of fuel you put into the tank, using . A dedicated MPG calculator can also determine it first.
What is the difference between fuel amount and fuel cost?
Fuel amount is the quantity of gas the trip consumes, measured in liters or gallons. Fuel cost is what that quantity costs at your station's price, found by multiplying the fuel amount by the fuel price.
References
- Omni's fuel cost calculator article, sections on the fuel amount and trip cost formulas.
- The calculator equations for fuel amount, trip cost and fuel efficiency, and its two-way trip and "I don't know" datasets.