Fuel Cost Calculator (Trip Gas Cost)
How much will the gas cost for this trip, and per person?
Single calculationv1.0.0Verified 2026-11-01Runs in your browser
Spec sheet
trip_fuel · v1.0.0Method
Distance ÷ economy × price
- 01
mpg: gallons = miles ÷ mpg - 02
L/100 km: litres = km × L/100km ÷ 100 - 03
cost = fuel × price
Limits — read before relying on it
- Constant fuel economy; traffic, speed and load change real consumption.
Sources
- Exact unit definitions (mile, US gallon)standard
Worked example
computed by the same formula300 mi at 30 mpg, $3.50/gal
Inputs
- Trip distance
- 300
- Distance unit
- miles
- Fuel economy
- 30
- Economy unit
- mpg (US)
- Fuel price
- 3.5
- Price per
- US gallon
- People sharing
- 1
- Round trip
- One way
Result
- Fuel cost
- $35.00
- Per person
- $35.00
- Fuel used
- 10
- Fuel unit
- US gallons
Questions
How is the fuel cost calculator calculated?
›
Distance ÷ economy × price. mpg: gallons = miles ÷ mpg · L/100 km: litres = km × L/100km ÷ 100 · cost = fuel × price
Example: 300 mi at 30 mpg, $3.50/gal?
›
Fuel cost: $35.00; per person: $35.00.
What does this calculator not cover?
›
Constant fuel economy; traffic, speed and load change real consumption.
Where do the numbers come from?
›
Sources: Exact unit definitions (mile, US gallon). The formula is versioned (trip_fuel v1.0.0) and covered by automated tests.
Is my data stored?
›
No. The calculation runs in your browser and nothing is sent unless you choose to save a shareable link.
Also searched asfuel cost calculator · gas cost for trip · how much gas will I use · road trip gas calculator · trip cost calculator