Free cost per mile calculator

Cost per mile calculator for your car

Your car’s cost per mile is its gas or charging cost for a mile, plus its yearly costs divided by the miles you drive in a year. Enter your own numbers below to see it, and the pay per mile an offer needs to cover your car and still pay you for your time.

Your car runs on
Yearly car costs Optional
Your time Optional

Your miles in a shift divided by its hours, waiting included.

Your cost per mile

$0.36car cost a mile
$1.69pay a mile to also pay you
Gas a mile
$0.12
Other car costs a mile
$0.24
Car costs for the year
$8,935.71
Your time a mile
$1.33

An offer below your car cost a mile loses money on the car. Your own numbers, no averages. Amounts are rounded to the cent.

How cost per mile works

Two parts make up what a mile costs your car. The first grows with every mile: gas, or charging for an electric car. The second is what you pay over a year for the car itself: insurance, repairs and tires, registration and fees, and the car payment or the value the car loses. Spread that over the miles you drive in a year.

Use your own numbers: your insurance bill, last year’s repair receipts, your car payment and your odometer. Two drivers with the same car can have very different costs.

  • Gas a mile: gas price ÷ miles per gallon.
  • Charging a mile: kWh per 100 miles ÷ 100 × your price per kWh.
  • Other costs a mile: yearly car costs ÷ all the miles you drive in a year.
  • Car cost a mile: the two added together.

A cost per mile, worked out

Here is a hypothetical car, not a real or typical one: gas at $3.40 a gallon, 28 miles per gallon, $5,900 a year of other costs and 25,000 miles a year. The driver wants $20 an hour for their time and drives about 15 miles in each working hour.

One hypothetical car
StepAmount
Gas a mile: $3.40 ÷ 28$0.12
Other costs a mile: $5,900 ÷ 25,000$0.24
Car cost a mile$0.36
Your time a mile: $20 ÷ 15$1.33
Pay a mile to cover the car and your time$1.69

The pay per mile you need

An offer that pays less a mile than your car cost a mile loses money on the car. To also pay yourself, add your hourly pay divided by the miles you drive in a working hour. Count the whole shift: the miles in a shift divided by its hours, waiting included.

The calculator gives one number to compare offers with. Short trips with long waits and long trips on the highway can still pay differently per hour, so check pay per hour too. The free pay per mile and per hour calculator does that for one offer.

Cost per mile and the IRS rate

The IRS standard mileage rate, 76 cents a mile from July 1, 2026, is the amount you can deduct for each business mile on your taxes. It is not your car’s cost. Your own cost can be higher or lower, and the IRS mileage calculator works out the deduction.

Sources, read November 29, 2026:IRS: standard mileage rates ↗

Track your gas cost as you drive

Snap a gas receipt and Giga Driver reads it for you and logs the fill-up, then works out your gas or charging cost per mile from your own car and prices. It counts your miles by GPS while you work, and shows the gas cost of every offer right on the offer card. On iPhone and Android.

See how GPS shift miles, receipt scanning, and tax exports work together in Miles & Costs.

Common questions

How do I calculate cost per mile for my car?

Divide your gas price by your miles per gallon, then add your yearly car costs divided by the miles you drive in a year. $3.40 at 28 mpg is about 12 cents a mile, and $5,900 over 25,000 miles is about 24 cents, so the car costs about 36 cents a mile.

What costs go into cost per mile?

Gas or charging, insurance, repairs and tires, registration and fees, and your car payment or the value the car loses each year. Use your own bills and receipts rather than averages.

What pay per mile do I need to break even?

At least your car cost a mile, or every mile loses money on the car. To also pay yourself, add your hourly pay divided by the miles you drive in a working hour. In the example on this page, that is $1.69 a mile.

Is the IRS mileage rate my cost per mile?

No. The IRS rate, 72.5 cents a mile to June 30, 2026 and 76 cents from July 1, is what you can deduct for each business mile on your taxes. Your own cost per mile can be higher or lower.

Does this work for an electric car?

Yes. Pick electricity and enter your price per kWh and your car’s kWh per 100 miles. Add your yearly costs the same way.