Fuel Cost Per Mile & Per KM Calculator

Find out exactly how much every single mile or kilometer costs you in gas money for commuting, road trips, or rideshare driving.

Dedicated Cost Per Mile Calculator

Calculate your vehicle's true operating expense per mile for commutes, rideshares (Uber/Lyft), and tax logs.

$/gal

Current pump price

MPG

Your vehicle's average MPG

$/mi

Depreciation, oil, tires ($0.08 typical)

Total Operating Cost Per Mile
$0.203per mile driven
Fuel alone: $0.123 / miMaintenance: $0.080 / mi
Cost per 100 Miles$20.32
Cost per 1,000 Miles$203.21
IRS Rate Benchmark$0.67 / mi
IRS Deduction Margin+$0.47 / mi
Annual Driving Cost Projections
10,000 miles / yr$2,032
12,000 miles / yr$2,439
15,000 miles / yr$3,048
20,000 miles / yr$4,064
Featured Snippet Reference

Official Fuel Cost Per Mile Formula

The standardized economic formula for computing unit driving expenditure across personal commutes and commercial fleet logistics.

Fuel Cost Per Mile = Fuel Price ($/gal) ÷ Vehicle Combined MPG
30 MPG Sedan$3.45/gal ÷ 30 MPG$0.115 per mile ($11.50 / 100 mi)
18 MPG Truck$3.45/gal ÷ 18 MPG$0.192 per mile ($19.20 / 100 mi)
50 MPG Hybrid$3.45/gal ÷ 50 MPG$0.069 per mile ($6.90 / 100 mi)

Standard Distance Fuel & Cost Benchmark Matrix

Estimated fuel volume and trip costs across typical vehicle efficiency tiers (calculated at $3.50/gal gasoline and $0.19/kWh electricity).

Trip Distance20 MPG (Truck/SUV)30 MPG (Sedan)50 MPG (Hybrid)EV (120 MPGe)
25 miles (Daily commute)1.25 gal ($4.38)0.83 gal ($2.92)0.50 gal ($1.75)7.0 kWh ($1.33)
50 miles (Round-trip work)2.50 gal ($8.75)1.67 gal ($5.83)1.00 gal ($3.50)14.0 kWh ($2.66)
100 miles (Regional trip)5.00 gal ($17.50)3.33 gal ($11.67)2.00 gal ($7.00)28.0 kWh ($5.32)
250 miles (Weekend getaway)12.50 gal ($43.75)8.33 gal ($29.17)5.00 gal ($17.50)70.0 kWh ($13.30)
500 miles (Interstate route)25.00 gal ($87.50)16.67 gal ($58.33)10.00 gal ($35.00)140.0 kWh ($26.60)

Benchmark calculations use standard national averages. You can customize exact distances, gas prices, and vehicle MPG in the live calculator above.

Mastering Fuel Cost Per Mile Calculations

Calculating your exact gas expense per mile or kilometer provides a fundamental unit economic metric for evaluating daily driving expenses, splitting road trip costs, tracking delivery and rideshare profitability (Uber, Lyft, DoorDash, Instacart), and budgeting monthly travel spending.

While most drivers monitor total fuel tank costs, measuring cost-per-mile exposes the true financial impact of vehicle choice, driving speed, fuel grade, and daily commute distance.

Cost Per Mile Formula (US Gallons & MPG)

Cost Per Mile = Fuel Price per Gallon ($/Gal) ÷ Vehicle MPG

Calculates your direct fuel expense for every mile driven.

Cost Per KM Formula (Liters & L/100km)

Cost Per KM = (Fuel Price per Liter ($/L) × L/100km) ÷ 100

Metric formula for European, Canadian, and Australian drivers.

Related Calculators & Tools

Explore our full suite of specialized calculators for specific vehicles, equipment, and fuel conversions:

Frequently asked questions

Divide your local fuel price per gallon by your vehicle's fuel economy rating in MPG. Formula: Fuel Price ÷ MPG = Cost Per Mile. For example, if gas costs $3.60 per gallon and your car gets 30 MPG, your cost per mile is $3.60 ÷ 30 = $0.12 per mile.

At $3.50 per gallon, a car getting 30 MPG costs $0.117 per mile ($0.12/mi). A midsize crossover getting 24 MPG costs $0.146 per mile. A pickup truck getting 17 MPG costs $0.206 per mile.

Rideshare drivers calculate total operating cost per mile by combining fuel cost per mile with maintenance (tires, oil, brakes) and vehicle depreciation. Fuel typically represents 40% to 60% of total operating expenses.

The IRS standard mileage rate ($0.67 per mile) accounts for fuel, maintenance, insurance, registration, and vehicle depreciation. Fuel cost is only a fraction of the full IRS rate.

Multiply your local fuel price per liter by your vehicle's L/100km rating, then divide by 100. Formula: (Fuel Price per Liter × L/100km) ÷ 100 = Cost Per Kilometer.

Smooth acceleration, maintaining steady highway speeds around 60 mph, and keeping tires properly inflated can reduce cost per mile by $0.02 to $0.05 per mile, saving $300 to $600 annually.

Yes. Towing a travel trailer or boat reduces MPG by 30% to 50%, nearly doubling your fuel cost per mile.

At an average US electricity rate of $0.15 per kWh, an EV getting 3.5 miles per kWh costs roughly $0.043 per mile to charge at home—less than half the cost of a 30 MPG gasoline vehicle.