Automotive

Gas Cost Calculator

Estimate gallons of fuel and trip cost from distance, fuel economy and gas price.

Free online toolWorks in your browserNo sign-up required
Roadmap #31–60

Automotive calculator collection

Use the connected calculators in this build for related estimates without starting over.

Category hub →

How to use this gas cost calculator

Enter the requested values above and select Calculate. Change any input to compare scenarios.

Formula and method

Gallons needed = distance ÷ MPG. Fuel cost = gallons needed × price per gallon.

Example

A 300-mile drive at 30 MPG uses about 10 gallons. At $3.50 per gallon, estimated fuel cost is $35.

Important assumptions

Real-world fuel economy varies with speed, weather, traffic, idling, vehicle load and driving style.

Frequently asked questions

What does the Gas Cost Calculator calculate?

Estimate gallons of fuel and trip cost from distance, fuel economy and gas price.

How does the calculation work?

Gallons needed = distance ÷ MPG. Fuel cost = gallons needed × price per gallon.

Is this calculator free?

Yes. ERICH Calculators is free to use and no account is required.

Transparency

Method, assumptions & corrections

See how formulas, sources and limitations are handled across ERICH Calculators.