Cost & Budgeting

Calculate gasoline expense incurred per mile driven.

Gas Cost per Mile Calculator Inputs

$
MPG

Calculated Output

Fuel Cost per Mile
0.1442$ / mile
Fuel Cost per 100 Miles
14.42$ / 100 miles
FormulaCost per Mile = Gas Price ÷ MPG

Direct unit cost showing the exact fuel expense incurred for every mile driven.

What is Gas Cost per Mile Calculator?

The Gas Cost per Mile Calculator is a tool that returns the gasoline cost of one mile from pump price and fuel economy.

Cost per mile reduces fuel spending to a single rate that multiplies cleanly against any distance. A vehicle at 26 MPG with gasoline at $3.75 costs $0.144 per mile, so a 1,240-mile month costs $178.85.

The figure covers gasoline only. Full vehicle operating cost per mile adds depreciation, insurance, tires, and maintenance, which together run $0.35–$0.55 per mile on a midsize sedan against the $0.14 fuel component.

The Internal Revenue Service (IRS) standard mileage rate bundles all of those costs into one number. Comparing the fuel-only rate against the standard rate shows how much of a reimbursement covers fuel and how much covers everything else.

How Gas Cost per Mile Calculator Works?

The calculator works by dividing the price per gallon by the miles each gallon delivers.

  1. Enter the pump price: Type the price per gallon paid at the station, including taxes shown on the display.
  2. Enter the fuel economy: Type measured MPG rather than the sticker rating, since the gap reaches 15% on many vehicles.
  3. Divide price by economy: The calculator performs 3.75 ÷ 26 and returns $0.1442 per mile.
  4. Scale to any distance: Multiply the rate by distance for a cost figure, so 0.1442 × 480 miles returns $69.23.

Gas Cost per Mile Calculator Formula

The gas cost per mile formula is Cost per Mile = Gas Price ÷ MPG.

Cost per Mile = Gas Price ÷ MPGCost per Kilometer = Cost per Mile ÷ 1.60934Trip Cost = Cost per Mile × DistanceMPG Required = Gas Price ÷ Target Cost per MileMiles per Dollar = 1 ÷ Cost per Mile

Variables in the Gas Cost per Mile Calculator Formula

TermMeaning
Gas PricePrice paid per US gallon at the pump
MPGMeasured fuel economy in miles per gallon
Cost per MileGasoline cost of covering one mile, in dollars
1.60934Kilometers in one mile, used to convert the rate

Worked Example

A compact SUV returns 24.5 MPG with gasoline at $4.10 per gallon across 1,350 miles (2,173 km) per month.

  • Cost per mile = 4.10 ÷ 24.5 = $0.1673
  • Cost per kilometer = 0.1673 ÷ 1.60934 = $0.1040
  • Monthly fuel = 0.1673 × 1,350 = $225.86
  • Annual fuel = $225.86 × 12 = $2,710.32

The SUV costs $0.1673 per mile, or $2,710 per year at 16,200 miles.

Gas Cost per Mile Calculator Conversion Table

The table gives gasoline cost per mile at five pump prices and five efficiency levels. Each cell equals price divided by MPG.

Cost per mile by gas price and fuel economy
Gas Price15 MPG20 MPG25 MPG35 MPG45 MPG
$2.75$0.183$0.138$0.110$0.079$0.061
$3.25$0.217$0.163$0.130$0.093$0.072
$3.75$0.250$0.188$0.150$0.107$0.083
$4.25$0.283$0.213$0.170$0.121$0.094
$5.00$0.333$0.250$0.200$0.143$0.111

A $0.50 price rise costs a 15 MPG vehicle $0.033 per mile and a 45 MPG vehicle $0.011 per mile. Efficient vehicles absorb price shocks at one third the rate.

What are the uses of Gas Cost per Mile Calculator?

Cost per mile serves 5 purposes: checking mileage reimbursement, pricing rideshare work, comparing vehicle running costs, setting freight rates, and tracking fuel inflation effects.

  • Checking reimbursement: Compare the fuel-only rate against an employer per-mile payment to find the margin left for wear.
  • Pricing rideshare: Subtract fuel cost per mile from platform earnings per mile to find net pay before depreciation.
  • Comparing vehicles: Rank two household vehicles on a per-mile basis before assigning the high-mileage duty to one of them.
  • Setting freight rates: Build a per-mile fuel component into delivery pricing that updates with each pump price change.
  • Tracking inflation: Quantify how a $0.60 annual price rise changes a 14,000-mile year, which adds $336 at 25 MPG.