Gas Consumed Calculator

Find how many gallons and liters of gas you used from miles driven and MPG.

Enter a number greater than 0.
Enter a number greater than 0. Calculate your MPG if you are not sure.
Enter a price greater than 0.

Gas consumed

0.00gallons

Enter miles driven and MPG.

Liters used
—
Gallons per 100 miles
—
Fuel cost
—
Cost per mile
—
Formula

How to calculate gas consumed

Gas consumed = miles driven ÷ MPG. If you drove 300 miles at 30 MPG, you used 300 ÷ 30 = 10 gallons.

Gallons used = miles driven ÷ MPG
Liters used = gallons × 3.785
Fuel cost = gallons × price per gallon

Example

You drove 312 miles and your car gets 26.9 MPG. Gas costs $3.40 per gallon.

312 ÷ 26.9 = 11.60 gallons
11.60 × 3.785 = 43.9 liters
11.60 × $3.40 = $39.44

This is the reverse of the MPG calculation. MPG tells you how far one gallon takes you; gas consumed tells you how many gallons a distance uses.

FAQ

Gas consumed questions

How do I calculate gallons used?

Divide miles driven by MPG. For example, 300 miles ÷ 30 MPG = 10 gallons used.

How many liters is that?

Multiply gallons by 3.785. Ten US gallons is about 37.9 liters.

Can I use this for a trip?

Yes. Enter the trip distance and your MPG to estimate gallons needed. For round trips and total trip cost, use the trip fuel cost calculator.