MaintPad
Menu

Cost per mile calculator

Enter what a vehicle costs you in a month and how far it runs. The calculator divides one by the other and shows which line is eating the number. Works for one truck or a whole fleet, needs no account, and stores nothing: the inputs live in the page address so you can share the link.

$
mpg
mi
$
$
$
$
$

Your cost per mile

Cost per mile
$0.83
Per month
$6,650
Fuel per month
$4,800
  • Fuelvariable$4,80072%
  • Maintenance and repairsvariable$4507%
  • Tiresvariable$1202%
  • Insurancefixed$3806%
  • Payment or depreciationfixed$90014%
  • Driver or laborfixed$00%
Fuel is miles ÷ mpg × price. Everything else is what you pay per month, divided by the miles you run.

How each line is calculated

Cost per mile is the total of everything you pay in a month, divided by the miles the vehicle ran in that month. The calculator groups the lines into two kinds, because they behave differently when mileage changes.

Variable costs rise with the miles

Fuel is the only line the calculator computes for you: miles divided by miles per gallon gives gallons, gallons times the pump price gives dollars. A van doing 3,200 miles at 14 mpg and $3.60 burns about 229 gallons, roughly $823. Use the real pump price from your fuel card statement, not the sign on the corner.

Maintenance and repairs and tires are entered as a monthly figure, but they are really per-mile costs that arrive in lumps. An oil change every 5,000 miles, a set of tires every 40,000, a brake job every 60,000: average them over a year of invoices and divide by twelve. If you only have one month of receipts, the number will swing wildly from month to month.

Fixed costs are there whether the truck moves or not

Insurance and the payment or depreciation do not care about the odometer. Spread over more miles they shrink per mile, which is why a vehicle that sits in the yard three days a week costs more per mile than the same vehicle on the road six days. If the truck is paid off, enter what it loses in value per month instead of zero; a five-year-old pickup still gives up a few hundred dollars a month.

Driver or labor is optional. Owner-operators and carriers that quote a rate per mile include it, because the rate has to cover the person. A contractor whose plumbers drive themselves to the job usually leaves it out and treats the vehicle as overhead. Either choice is fine, as long as you compare like with like.

Three worked examples

These are not industry averages. They are three fleets with reasonable inputs, run through the same formula the calculator uses, so you can see how mileage and the driver line move the result. Each link opens the calculator with the inputs filled in.

FleetMiles per monthFuel per monthTotal per monthCost per mile
Five pickups
Plumbing contractor, 2021 to 2023 F-250s, one driver each
1,500$338$1,363$0.91
Twenty cargo vans
Parcel delivery routes, Transit 250s, six days a week
3,200$823$2,093$0.65
Forty Class 8 tractors
Regional carrier, diesel, driver pay included
9,000$5,677$16,927$1.88
  • Five pickups: Low mileage, so the truck payment is the biggest line and the number is high per mile.
  • Twenty cargo vans: Twice the miles of the pickups spreads the fixed costs; fuel becomes the largest line.
  • Forty Class 8 tractors: With the driver included, labor is the largest line and fuel is second.

Cost per mile versus revenue per mile

Cost per mile is what a loaded or empty mile takes out of your pocket. Revenue per mile is what a customer pays you for it. The gap between the two, multiplied by the miles you run, is the margin that has to cover the office, the shop, the slow months and the truck that is down. A carrier quoting $2.10 a mile with a $1.88 cost is making 22 cents on every mile that is loaded and losing $1.88 on every mile that is not.

For a service fleet that does not bill by the mile, the same number tells you what each job really costs to drive to. A 40-mile round trip at $0.91 a mile is $36 before anyone picks up a wrench, which is worth knowing when you price a call-out fee.

How to lower your cost per mile

Fuel gets the attention, but the lines you control most are maintenance and tires. An unplanned repair costs more than the same job done on schedule: the tow, the overtime, the parts bought at the counter instead of ordered, and the day the vehicle earned nothing. Rotating tires on an interval and keeping alignment in spec adds thousands of miles to a set. Fixing a weeping coolant hose at a 5,000-mile service is cheap; fixing it on the shoulder is not.

The second lever is utilization. Fixed costs are divided by miles, so one van doing the work of two parked ones halves the insurance and payment lines per mile. If the calculator shows a vehicle under 1,000 miles a month with a full payment, ask whether you need it at all.

Scheduling those services by miles or days, so the oil change happens at 5,000 and not at 9,000, is exactly what preventive maintenance software is for. Once work orders carry real invoices and odometer readings, the maintenance line in this calculator stops being an estimate: MaintPad is fleet maintenance software that computes it for every unit from the work orders you close.

Questions about cost per mile

What counts as a fixed cost?

Anything you pay whether or not the vehicle moves: the loan payment or depreciation, insurance, registration, permits, and a driver's base pay if they are salaried. Fixed costs fall per mile as mileage rises, which is why a parked truck is the most expensive truck in the fleet.

Should I include my own salary as the driver?

If you are the one behind the wheel, yes, at least when you compare against a rate per mile someone is offering you. Leave it out when you only want to compare one vehicle against another, since the driver cost is the same either way.

How often should I recalculate?

Monthly is enough for most fleets. Fuel price moves every week, but maintenance, tires and insurance are better judged on a rolling three to twelve months of real invoices than on a single month.

How does MaintPad fill in the maintenance line?

Every closed work order carries labor and parts cost and the odometer at service. MaintPad divides the spend over a period by the miles driven in that period, per vehicle and for the fleet, so the maintenance line stops being a guess.

Does the calculator store anything?

No. The numbers live in the page address so you can bookmark or share the link. Nothing is sent to a server and there is no account.

Want the maintenance line filled in from real invoices?

Put the fleet in MaintPad and every closed work order feeds this number for each unit.

Free for up to 5 vehicles. No credit card.

See the live demo