Cellwise Try it free

Free Excel template · Excel for personal finance and taxes

Free mileage log template for Excel

For freelancers, gig drivers and employees who claim mileage back and need a clean record of every trip. Log the date, purpose, start and end odometer; the sheet works out the miles, totals them by month and by purpose, and multiplies by the per-mile rate you enter. The rate cell starts empty on purpose: rates change, so type the one that applies to you.

cellwise-mileage-log-template.xlsxExcel workbook · 4.4 KB · works in Excel, Google Sheets, Numbers and LibreOffice · no signup
Download free template

Preview and try it

This is the template's sheet, calculated by the same engine as the Cellwise app. Change any number to see the formulas react before you download.

ABCDEFGHIJ
1DatePurposeFromToStart odometerEnd odometerMilesRate per mile (enter yours)
2Oct 2, 2026Client visitHome officeRiverside clinic482104823626Total miles logged200
3Oct 6, 2026Supply runHome officePrint shop48251482598Amount at your rateEnter your rate in J1
4Oct 9, 2026Client visitHome officeHillcrest office park483024834139
5Oct 15, 2026Bank depositHome officeMain St branch48390483966Year to total2026
6Oct 21, 2026Client visitHome officeRiverside clinic484604848626Month to total (1-12)10
7Oct 28, 2026WorkshopHome officeConvention center485334858148Miles in that month153
8Nov 3, 2026Client visitHome officeHillcrest office park486444868339
9Nov 6, 2026Supply runHome officePrint shop48702487108Purpose to totalClient visit
10Miles for that purpose130
11Trips logged8
12
13
14
15
16
17
18
19
20

How the formulas work

Miles per trip from the odometer

G2=IF(F2="","",F2-E2)

End odometer minus start odometer. The IF keeps empty rows blank, so the spare rows at the bottom do not show zeros. Writing down the odometer at both ends is more reliable than estimating miles from a map later.

Apply the rate you enter

J3=IF(J1="","Enter your rate in J1",ROUND(J2*J1,2))

Total miles times the rate per mile in J1, rounded to cents. Until you type a rate the cell reminds you to. The rate is yours to look up: your employer's reimbursement rate or whatever rate applies to you for the year.

Miles in any month

J7=SUMIFS(G2:G21,A2:A21,">="&DATE(J5,J6,1),A2:A21,"<"&EDATE(DATE(J5,J6,1),1))

SUMIFS adds the Miles column for trips on or after the first day of the month in J5/J6 and before the first day of the next month. EDATE adds one month, so it works for 28, 30 and 31-day months and across December into January. In the sample October has 153 miles.

Miles for one purpose

J10=SUMIF(B2:B21,J9,G2:G21)

Type a purpose in J9 and SUMIF totals its miles. Use the same spelling for the same purpose every time; "Client visit" and "client visits" are different text to SUMIF.

Make it yours

FAQ

What mileage rate should I put in the template?

Whichever rate applies to you: an employer's reimbursement rate, or a rate you confirm with a tax professional for the year. Rates change, so the template leaves the cell empty for you to fill in.

How do I total miles by month in Excel?

Use SUMIFS with two date conditions: on or after the first of the month and before the first of the next, for example =SUMIFS(G2:G21,A2:A21,">="&DATE(2026,10,1),A2:A21,"<"&DATE(2026,11,1)).

Can I use this mileage log in Google Sheets?

Yes. Upload the .xlsx to Google Drive and open it with Google Sheets; SUMIFS, EDATE and DATE work the same way there.

Functions used

Related guides

More free templates

Updated