Gas Mileage & Fuel Cost Calculator

Gas Mileage & Fuel Cost Calculator: Measure fuel over the same trip; use US gallons.

Your Numbers

Results

Fuel economy (MPG)—
Trip fuel cost ($)—
Input check—

Results update live as you type. Estimates only — not financial, tax, or investment advice.

Add This Calculator to Your Website

Free to embed — copy the snippet below and paste it into your site's HTML. It stays up to date automatically and links back to this page.

The Formula

MPG = miles ÷ gallons; trip cost = gallons × price

Understanding the Gas Mileage & Fuel Cost Calculator

300 miles using 10 gallons gives 30 MPG and costs $35 at $3.50 per gallon.

Measure fuel over the same trip; use US gallons.

Frequently Asked Questions

How is this calculated?

MPG = miles ÷ gallons; trip cost = gallons × price

What assumptions apply?

Measure fuel over the same trip; use US gallons.