Gas Mileage Calculator

Inputs

Recent calculations

No recent calculations on this device.

How it works

Calculate miles per gallon, fuel cost, and cost per mile from distance and fuel used.

Enter miles driven and gallons used; optionally add a per-gallon price. The calculator reports mpg and the fuel cost and cost per mile.

Formula

MPG = miles ÷ gallons; fuel cost = gallons × price; cost per mile = price ÷ mpg.

miles
Distance (miles)
gallons
Fuel used (US gallons)

Examples

  • 300 miles on 10 gallons at 3.00/galMiles 300 · gallons 10 · price 3.0030 mpg · 30.00 fuel cost · 0.10/mile

Frequently asked questions

How do I improve mpg?

This tool only measures it. Smooth driving, tire pressure, and maintenance are common factors, but follow your vehicle's guidance.

Is it US or imperial gallons?

US gallons. Imperial gallons differ (≈ 4.546 L).

How to read the result

Higher mpg means better fuel efficiency; cost per mile combines efficiency and price.

Limitations

A single average mpg; real efficiency varies with conditions.

Source: Miles-per-gallon and cost-per-mile definitions.

Methodology & data

Method
Fuel / cost per distance arithmetic

How Kalkuleyt calculators work