Fuel cost calculator
Calculator
The calculator needs JavaScript. The tables below give the same numbers for common cases.
How it is worked out
- Gallons = distance ÷ mpg = 300 ÷ 28 = 10.71.
- Cost = gallons × price = $37.50.
| Inputs | Answer |
|---|---|
| Trip distance: 300; Fuel economy: 28; Fuel price per gallon: 3.5 | A 300 mile trip at 28 mpg uses 10.71 gallons and costs $37.50 at $3.50 a gallon. |
| Trip distance: 1200; Fuel economy: 35; Fuel price per gallon: 4.1 | A 1,200 mile trip at 35 mpg uses 34.29 gallons and costs $140.57 at $4.10 a gallon. |
| Trip distance: 60; Fuel economy: 22; Fuel price per gallon: 3.2 | A 60 mile trip at 22 mpg uses 2.73 gallons and costs $8.73 at $3.20 a gallon. |
How to use it
Fuel used = distance ÷ mpg, and cost = fuel used × price per gallon. A 300 mile trip at 28 mpg uses 10.7 gallons and costs $37.50 at $3.50 a gallon. The cost per mile is shown too.
Real consumption changes with speed, load, weather and traffic.
Frequently asked questions
How do I calculate the fuel cost of a trip?
Divide the distance by mpg and multiply by the price per gallon.
What is cost per mile?
Fuel cost divided by distance.
Does speed matter?
Yes, most cars use more fuel at high speed.
Method: standard arithmetic shown step by step; no outside data is used. Checked 2026-11-12.
About · How we verify this · Editorial policy · Corrections
General information only. Results are plain arithmetic on the numbers you enter; check anything important (money, health, school work) against your own records or the official source.