Vehicle cost per mile calculator

A service truck's cost per mile is its fuel plus its yearly costs, the payment or depreciation, insurance, maintenance and tires, divided by the miles it drives. Multiply by the miles of an average job for the cost per job. This calculator does it with your numbers and compares the year with the IRS standard mileage rate.

Free, no sign-up. Runs in your browser. Updated December 1, 2026.

Your numbers

What you pay per gallon.
The truck's real mileage, loaded.
Loan or lease payments a year, or what the truck loses in value a year if it is paid off.
The truck's share of your commercial auto policy.
Oil, brakes, repairs and tires.
Registration, tolls, parking, tracking or wraps.
From the odometer over 12 months.
Average miles to drive to a job and back.

Result

Cost per mile
—
Cost per job
—
Cost a year
—
IRS standard rate for the same miles (76 cents a mile, July 1 to December 31, 2026)
—

Nothing you type is sent to Nexfield or anyone else.

How to use it

  1. Enter the fuel price and the truck's miles per gallon.
  2. Enter its payments or depreciation, insurance, maintenance and other costs a year, the miles a year and the miles per job.
  3. Read the cost per mile, per job and a year, next to the IRS standard rate for the same miles.

How it works

Fuel a year = miles a year ÷ miles per gallon × fuel price

Cost a year = fuel + payments + insurance + maintenance + other, each rounded to the cent

Cost per mile = cost a year ÷ miles a year; cost per job = cost per mile × miles per job

IRS standard rate for the same miles = miles a year × the IRS business rate in force today

IRS business rate, July 1 to December 31, 2026
76 cents a mile
IRS business rate, January 1 to June 30, 2026
72.5 cents a mile

It is not tax advice. The IRS rate is a deduction rate for business miles, shown for comparison; it is not what your truck costs.

Sources

Report a wrong result

Worked example with made-up numbers

These numbers are invented to show the math. They are not an industry average.

Worked example: the inputs, then the results
Fuel price per gallon$3.50
Miles per gallon15 mpg
Payments or depreciation a year$9,600.00
Insurance a year$2,400.00
Maintenance and tires a year$2,200.00
Other costs a year$600.00
Miles a year25,000 miles
Miles per job18 miles
Cost per mile$0.83
Cost per job$14.86
Cost a year$20,633.33

The Nexfield app runs on iPhone and iPad, and each technician sees what you allow. Nexfield for technicians

Questions

How do I calculate a vehicle's cost per mile?

Add a year of its costs, fuel, payments or depreciation, insurance, maintenance and tires, and divide by the miles it drove that year.

What is the IRS standard mileage rate for 2026?

For business miles: 72.5 cents a mile from January 1 to June 30, 2026, and 76 cents a mile from July 1 to December 31, 2026, after the IRS raised it for fuel prices.

Why compare with the IRS rate?

It is a known benchmark for what a mile of business driving costs. If your truck costs much more a mile, the payment, fuel or upkeep is the place to look.

How do I use the cost per job?

Add it to the price of a call, or check that your service call fee covers it. The service call fee calculator takes the cost per mile directly.

Should I use depreciation or the loan payment?

Use the payment while the truck is financed, or what it loses in value a year once it is paid off. Use one, not both.

Is what I type sent anywhere?

No. The calculator runs in your browser, and nothing you type is sent to Nexfield. "Copy link to these numbers" puts them in the link itself, after the # sign.