DEV Community

Olubunmi Odekunle
Olubunmi Odekunle

Posted on • Originally published at mileage-expense-log-generator-osd3zlzkk.vercel.app

How to Create an IRS-Compliant Mileage Log After the Fact (When You Forgot to Track All Year)

You drove 20,000 miles for Uber, DoorDash, or your 1099 gig — and you have zero records. Here's what to actually do.

If you're reading this in a panic at tax time (or worse, after an IRS audit letter showed up), you're not alone. Every year thousands of self-employed drivers and contractors realize the same thing: they did all that driving, they know they're owed a big deduction, but they never kept a mileage log. In 2024 the standard mileage rate is 67 cents per mile — so 20,000 business miles is worth about $13,400 off your taxable income. That's not money you want to leave on the table just because you forgot to write it down.

The good news: the IRS does not require you to log mileage in real time on a fancy app. What it requires is a contemporaneous-looking, reasonable, and consistent record that shows the date, destination/purpose, and miles for each business trip. You can reconstruct this — legally — as long as it's based on real evidence, not made-up numbers.

What the IRS actually wants in a mileage log

  • Date of each trip

  • Business purpose (e.g. "Uber rides," "DoorDash deliveries," "client meeting")

  • Starting point and destination (or the area you drove)

  • Miles driven for business

  • Your total annual mileage (odometer start and end of year)

How to reconstruct a mileage log you never kept

This is the part most drivers don't realize is possible. You already have the evidence sitting in your phone and inboxes:

  • Pull your platform records. Uber, Lyft, DoorDash, Grubhub and Instacart all provide annual summaries showing your "online miles" or trip counts. Download your tax summary from the driver dashboard.

  • Use Google Maps / Location Timeline. If you had location history on, it shows everywhere you drove and when. This is gold for an audit.

  • Match trips to bank deposits. Each payout corresponds to days you worked — proof you were driving on those dates.

  • Get your odometer figures. Oil change receipts and inspection reports usually record your mileage and date — perfect for anchoring start and end-of-year totals.

  • Build the daily log. Turn all of that into a clean, dated, line-by-line spreadsheet that looks like what the IRS expects.

That last step — turning a year of scattered payout data and platform summaries into a properly formatted, IRS-ready log — is exactly where most people get stuck. Doing it by hand in Excel for 200+ working days is miserable, and one inconsistent number can make the whole thing look fake.

The fast way to do it

Instead of building it manually, you can use the Mileage & Expense Log Generator for Self-Employed. You enter your working days, your platform totals, and your estimated daily miles, and it produces a clean, dated, IRS-compliant mileage and expense log you can print or attach to your return — in minutes instead of an entire weekend. It's built specifically for rideshare/delivery drivers and 1099 contractors who are reconstructing a year they didn't track. Generate your log here.

A few honest warnings

Don't fabricate. A reconstructed log has to be reasonable and tied to real evidence. If you grossed $30k driving and claim 80,000 miles, that won't survive scrutiny. Keep your supporting documents (payout statements, oil change receipts, location history) with the log in case the IRS asks. And starting next year — track in real time so you never have to do this again.

Bottom line: forgetting to track your mileage doesn't mean you lose the deduction. Reconstruct it properly, document your evidence, and generate a clean log fast. That deduction is worth thousands — go claim it.

Top comments (0)