Mileage and Fuel Cost

Gallons, fuel cost, and IRS reimbursement from miles and MPG.

Run the calculator

Example

You enter

You get

Details, formula, and sources

Gallons = miles / mpg. Fuel cost = gallons × $/gal. IRS reimbursement = miles × IRS_standard_mileage_rate.

IRS standard mileage rate, 2026 second-half rate bundled ($0.76/mi, effective 2026-07-01 per IR-2026-29).

Free at irs.gov.

Estimate. AHJ and licensed professional govern.

Field names used by the API: round_trip_miles, mpg, fuel_price_per_gallon, gallons, fuel_cost

Related tools