Home›More›Mileage calculator

Mileage Calculator

Your trip

Your numbers stay in your browser.
Your answer
30.0 MPG
300 miles on 10 gallons
Vehicle—
Miles300
Gallons10
Fuel price$3.50 / gal
Cost per mile$0.12
Trip fuel cost$35.00
The calculation
300 ÷ 10 =
30.0 MPG

Example: 300 miles on 10 gallons is 30.0 MPG. At $3.50 a gallon that is about $0.12 per mile and $35.00 of fuel for the trip.

Behind the numbers

How mileage is calculated

Miles per gallon is miles driven divided by gallons used. If you also enter the fuel price, the cost per mile is the price divided by your MPG, and the trip fuel cost is gallons times the price. Picking a vehicle fills in gallons from its typical MPG, so you can estimate a trip before you drive it.

The formulas
MPG = miles ÷ gallons

300 ÷ 10 = 30.0 MPG

Cost per mile = fuel price ÷ MPG   |   Trip fuel cost = gallons × fuel price

$3.50 ÷ 30.0 = $0.12 per mile, and 10 × $3.50 = $35.00

A few comparisons

Worked examples

Miles, gallons, priceMPGCost per mileTrip fuel cost
300 miles, 10 gal, $3.5030.0 MPG$0.12$35.00
275 miles, 11 gal, $3.2025.0 MPG$0.13$35.20
420 miles, 14 gal, $3.6030.0 MPG$0.12$50.40
150 miles, 5 gal, $3.0030.0 MPG$0.10$15.00

Mileage, without the guesswork.

01

Fill the tank, reset the trip meter, drive, then fill up again: miles driven divided by the gallons on the second fill-up is your real MPG.

02

City driving usually gives lower MPG than highway driving, so compare trips of the same kind.

03

Underinflated tires, a roof rack and hard acceleration all cut MPG. Fixing tire pressure is the cheapest gain.

04

To budget a road trip, divide the total miles by your MPG to get gallons, then multiply by the fuel price along your route.

Good to know

Your mileage questions, answered.

How do I calculate my MPG?

Divide the miles driven by the gallons used. 300 miles ÷ 10 gallons = 30.0 MPG.

How do I find my cost per mile?

Divide the fuel price by your MPG. At $3.50 a gallon and 30.0 MPG, each mile costs $3.50 ÷ 30 = about $0.12.

How much fuel will my trip use?

Multiply gallons by the price per gallon. 10 gallons at $3.50 is $35.00 for the trip.

What is a good MPG?

It depends on the vehicle: hybrids often top 40 MPG, small cars sit near 30–35 MPG, SUVs near 20–25 MPG, and pickup trucks near 15–20 MPG. Use the vehicle list to estimate, or enter your own.