Planning a drive usually starts with a practical question: how much fuel will it take, and what will it cost? The gas calculator answers both from two numbers you already know — the distance you plan to drive and your car's fuel economy. This guide walks through the arithmetic the tool performs, shows real fuel-economy figures for common cars, and works one trip through from start to finish.
To find the gas a trip needs, divide the distance by the car's fuel economy; the result is the fuel used. Multiply that fuel by the price per unit to get the total trip cost. If fuel economy is given as liters per 100 km, use . In miles per gallon, use . Then . Keep the distance and volume units consistent throughout.
How do you calculate the gas a trip needs?
The gas estimator operates on a simple premise: take the distance you are about to travel and your car's fuel economy, then work out the fuel consumed. When economy is expressed as liters per 100 km:
When economy is expressed in miles per gallon, the calculator's underlying equation is:
Here may be the city, highway, mixed or custom value, depending on the trip type you select. Finally, the per-person share is the total cost divided by the number of people travelling.
What fuel economy do common cars get?
The calculator ships with a built-in car list that supplies city, highway and combined (mixed) fuel-economy values in miles per gallon. These are the figures it applies automatically when you pick a model and a trip type:
| Car | City mpg | Highway mpg | Mixed mpg |
|---|---|---|---|
| Ford F150 | 26 | 20 | 23 |
| Ford Explorer | 22 | 16 | 19 |
| Ford Focus | 34 | 25 | 29.5 |
| Ford Ranger | 24 | 20 | 22 |
| Ford Taurus | 25 | 17 | 21 |
| Toyota Camry | 41 | 29 | 35 |
| Toyota Corolla | 36 | 28 | 32 |
| Chevrolet Malibu | 36 | 29 | 32.5 |
| Chevrolet Impala | 28 | 18 | 23 |
| Nissan Altima | 39 | 28 | 33.5 |
| Honda Civic | 36 | 25 | 30.5 |
| Honda Accord | 38 | 30 | 34 |
| Subaru Legacy | 34 | 25 | 29.5 |
| Dodge Ram | 24 | 19 | 21.5 |
| Dodge Caravan | 25 | 17 | 21 |
| Jeep Grand Cherokee | 25 | 18 | 21.5 |
| GMC Sierra | 22 | 16 | 19 |
Selecting "Other vehicle" instead lets you type your own fuel economy, which is useful when your car is not on the list or you track real consumption yourself.
Worked example: a 295 km trip at 8 l/100 km
Suppose you are driving 295 km in a car that consumes 8 l/100 km, and fuel at your station costs 1.6 €/L.
- Divide the distance by 100 because consumption is quoted per 100 km: .
- Multiply by the consumption: liters of fuel.
- Multiply the fuel used by the price: .
So the trip burns 23.6 liters and costs €37.76 in fuel.
How do I use the gas calculator?
The tool wraps the equations above in a handful of inputs:
- In Car, pick a model to load its city, highway and mixed mpg — or choose "Other vehicle" to enter a custom figure.
- In Trip type, choose City, Highway, Urban and Highway, or Custom.
- In Fuel economy, enter your own value if the custom or "Other vehicle" option is active.
- In Distance, enter the length of the drive in your chosen unit.
- In Fuel price, enter the price per liter or gallon.
- In Number of people, enter how many are travelling to see the cost per person.
The calculator then reports fuel used, total trip cost and cost per person, updating instantly as you change any input.
FAQ
How do I keep my units consistent?
Match the units before you multiply. The distance used for fuel economy and the distance you travel must be in the same unit, and the volume of fuel burned must use the same unit as the price. Mixing kilometers with miles, or liters with gallons, is the most common source of a wrong result.
Can the calculator use liters or gallons?
Yes. You can choose whether to count in liters or gallons — including US or UK gallons — and whether the distance is in kilometers, miles or another unit. The tool converts between them so you do not have to memorize the factors.
How much does the average driver spend on fuel each year?
According to the American Automobile Association (AAA), the average driver spends about $3,000 on fuel annually, which makes fuel one of the most noticeable vehicle-related expenses.
What trip types can I choose from?
Four options are available: City, Highway, Urban and Highway (mixed), and Custom. Each one selects the corresponding city, highway or combined fuel-economy figure from the car list, or your own value in Custom mode.
References
- U.S. Energy Information Administration (EIA) data on fuel prices and price composition.
- American Automobile Association (AAA) figures on average annual fuel spending.
- Standard unit-conversion references for liters, US gallons, UK gallons, kilometers and miles.