Mileage Log

Methodology

How It Works, and What We Cannot Do

Last updated: 5 December 2026

Mileage Log rebuilds a mileage log from a Google Timeline export you already have. This page explains, in plain terms, where your file is processed, how each distance is measured, how dates are inferred, which rate is applied to each trip and why — and, just as plainly, the things the tool does not check.

If a number in your log cannot be traced back through this page, it should not be in the log. Every fallback, estimate and inference is labelled in the tool and in your export, never hidden. You can run the free preview on your own file, or put an existing log through the free health check, before deciding anything.

On your device

Your export file is parsed in your browser. It is not uploaded to a server to build your log.

Every trip shows its method

Each distance carries the method used to get it, so you — or anyone reviewing the log — can see how it was derived.

Flags, not verdicts

The tool raises the questions a reviewer might ask and explains them. It never gives your log a grade or a pass/fail badge.

SECTION 1

Where your file is processed

Your Timeline export is read in your browser, in a background worker (a Web Worker). The file is not sent to our servers to build your log — the parsing, the distance calculations and the export all happen on your device, so even a multi-year history can be read without freezing the page.

You do not have to take our word for that. Open your browser’s developer tools and watch the Network tab while you run the tool: this short guide shows exactly what to look for, so you can check for yourself that your file goes nowhere.

Mileage Log reads the location history you export from Google Timeline. Three export formats are supported:

  • Android — the on-device Timeline export, Timeline.json.
  • iPhone — the Timeline export, location-history.json.
  • Older Google Takeout — the Semantic Location History monthly JSON files from Takeout.

Timeline records your movement as a sequence of activities and place visits. Mileage Log turns that into trips as follows:

  • Driving activities become trips. Each driving segment becomes one trip, with its start and end places, start and end times, and a distance measured by the methods in Section 2.
  • Walking, cycling and transit segments are excluded. They are movement, but they are not vehicle mileage, so they never appear in the log.
  • Passenger trips are flagged. When Timeline indicates you were a passenger rather than the driver, the trip is flagged for you to confirm whether you actually drove. The tool does not silently count it — see Section 6.

Autosave stays on your device

So you can close the tab and come back, the tool autosaves your trip choices only — classifications, purposes and place names — in your browser, on your device. It is not sent to us, and you can clear it from the tool at any time, which removes those choices from the browser.

The log can only contain what Timeline recorded. If Timeline was off, the phone was off, or history was auto-deleted for a period, there is nothing to rebuild from for that period — the tool will show the gap rather than fill it in.

SECTION 2

How distances are measured

Google Timeline does not always record a road distance for a drive. Sometimes it records the full distance travelled; sometimes it records only the straight-line distance between start and end, plus the route path it observed. Mileage Log uses three methods, in this order, and every trip in the export shows which method was used.

First

1 · Stated distance from Google

Where Google recorded a distance for the drive, we use that stated distance as recorded. This is the figure Timeline itself attached to the activity, so no calculation of ours is involved.

Second

2 · Path-based distance

Where a route is recorded — the sequence of points along the roads actually travelled — but no stated distance is present, we measure the recorded path and correct it:

distance = recorded path length ÷ 0.85

The recorded path tends to cut corners between GPS points, so it understates the road distance; dividing by 0.85 compensates for that systematic under-measurement.

Sanity caps apply. A path that has drifted (GPS wander inflating its length) or that was truncated (recording stopped mid-trip) fails the checks and is rejected rather than corrected. A rejected path falls through to the third method, and the trip is marked accordingly.

Fallback — flagged

3 · Straight-line with a road-factor correction

Where neither a stated distance nor a recorded route exists, we start from the straight-line distance between start and end and apply a road-factor correction:

distance = straight-line distance × 1.25

Roads rarely run straight, so the straight line is scaled by a road factor of 1.25 by default. Every trip measured this way is flagged as a corrected estimate in the tool and in the export. The factor is editable — if you know your area’s roads run more or less directly, you can adjust it, and the log records the factor you used.

These are Google’s estimates, carried through — not measurements of your odometer.

Every distance ultimately derives from what Google recorded on your phone. Where we had to fall back — a corrected path or a road-factor estimate — we mark every fallback on the trip itself and in your export, so a reader of the log can distinguish a recorded distance from an estimated one at a glance.

Why the correction exists — our internal test, small sample

In our test (Section 5: three real exports, 76 drives), drives that had only a straight-line distance understated road distance by roughly 20% on average before correction. That is why a straight-line figure is never used raw: it is corrected, and the trip is flagged so you can see it happened.

SECTION 3

How dates are inferred

A mileage log lives or dies by its dates: the day a trip happened determines which tax year it falls in and which rate applies. Some records, however, do not carry a clear local date. Where that happens, the date is inferred from the trip’s start time plus the chosen time zone — the tool asks you to confirm the time zone, and it marks every inferred date in the log, so an inferred date is never presented as a recorded one.

The three export formats handle time differently:

  • Phone exports (Android and iPhone) carry timezone offsets with their timestamps, so each trip can usually be placed on its local day directly.
  • Takeout Semantic monthly files store UTC only. There is no offset in the file to tell us what local time — or even which local day — a trip fell on, so these files need timezone inference: we infer the timezone from the trip coordinates and any offset information in the file, and ask you to confirm it before the log is finalised.

Why the confirm step exists

A wrong timezone can move a late-night trip to the wrong day — a drive at 1 a.m. local time can land on the previous day in UTC. That changes the date in the log and can change the rate period it falls under. Trips whose dates rest on an inferred timezone are flagged until you confirm it, so no inferred date slips into a finished log unnoticed.

If you travelled across timezones within one export, check the flagged trips around the changeover especially carefully — that is exactly where a single inferred timezone can be wrong for part of the file.

SECTION 4

Rate by date

Reimbursement and deduction rates change over time, and the right rate for a trip is the one in force on the date of that trip — not today’s rate applied backwards. Mileage Log therefore uses date-aware official tables: each trip is matched to the rate for its own date and jurisdiction.

Rate tables built into Mileage Log
JurisdictionHow the rate is set
United States
IRS standard mileage rate

2026 is a split year: the rate changes on 1 July 2026 — 72.5¢ per mile for trips from January to June, and 76¢ per mile for trips from July to December. A trip is priced by its own date, so a year straddling the change is priced in two parts automatically.

Source: IRS — Standard mileage rates

United Kingdom
HMRC simplified-expenses mileage rates

Rates run by tax year, 6 April to 5 April: 45p per mile for 2025–26 and 55p per mile for 2026–27, which starts on 6 April 2026. The 10,000-mile tier is applied within each tax year — the per-mile rate steps down after the first 10,000 business miles in the year, and the tool tracks the running total so the step happens on the right trip.

Source: GOV.UK — Mileage rates and rules for tax

Canada
CRA prescribed rates

Canada is shown as a business-use percentage logbook: your business kilometres over your total kilometres, applied to your actual vehicle costs. The CRA prescribed per-kilometre rate is shown alongside it as the employer allowance ceiling, labelled separately — it is the ceiling for a tax-free employer allowance, not a deduction rate, and the log keeps the two figures distinct.

Source: Canada.ca — Automobile allowance rates (CRA)

Australia
ATO cents-per-kilometre

The ATO cents-per-kilometre rate is applied by trip date, up to the method’s 5,000 km cap per car per year. The logbook method is not supported — if your claim would be larger or better evidenced under a logbook, ask a tax agent before relying on a cents-per-kilometre log.

Source: ATO — Cents per kilometre method

The “rates used” table in every export

Every exported log carries a “rates used” table: the rate applied to each period, the period it covers, and a link to the official source it came from, marked “last verified 2026-12-05”. Anyone reviewing the log can check each rate against its source without taking our word for it.

Rates are editable — and gaps are excluded, not guessed

You can edit any rate — for example, if your employer reimburses at a different rate than the official one. If a trip falls outside the table (a date or jurisdiction the table does not cover), that trip is excluded from totals until you enter a rate for it. The tool never invents a rate to make a total come out.

Rate details, by country

We do not decide your deduction.

The figures in an export are estimates built from the dated rate table. What you may deduct or claim depends on your circumstances and your tax authority’s rules — the tool applies the rate for each trip’s date and shows its working; the decision about what to file stays with you and, where relevant, your adviser.

SECTION 5

Our test results

Before publishing these methods, we tested the parser on real exports — not synthetic data. The test set was three real Timeline exports, 76 drives in total:

61drives from Takeout Semantic files
8drives from an Android Timeline export
7drives from an iPhone location-history export
  • 98.7% of drives were recovered with a road distance — the stated distance from Google, or the path-based distance from the recorded route (methods 1 and 2 in Section 2).
  • 100% of drives were recovered once the flagged straight-line fallback (method 3) is included. No drives were dropped: every drive in the test files produced a trip in the log.
  • Two drives were hidden under an activity type not labelled driving. Timeline had filed them under a different activity label, so a parser that only reads “driving” entries misses them. The parser now reads the full activity list to find them.
  • Phone-format exports contained no place names. The tool groups nearby endpoints together, so you name each place once and that name is reused for every trip to and from it.

This is a small sample — we say so plainly.

76 drives, from three export files, is a small test. Your history may contain recording patterns this test never saw, and these figures are not a promise about any individual trip in your log — which is why every trip still shows its own method. Larger tests will be published here as they are run, with their sample sizes, and corrections to earlier results are recorded in Section 7.

SECTION 6

What the tool does not check

Mileage Log is a reconstruction tool, not a verifier. It works from your export and your answers, and it is important to be direct about the limits of that. The tool does not check:

  • Whether trips are legally business tripsClassifying a trip as business or personal is your declaration. The tool records it — it cannot know why you travelled, and it does not decide whether a trip counts as a business trip in law.
  • Whether a tax authority will accept your logAcceptance is each authority’s decision, on its own rules. A well-documented log helps you present your case; it does not decide it.
  • Whether a trip happened as Timeline showsTimeline records location, not purpose. The tool rebuilds what Timeline recorded; it cannot confirm that a journey took place exactly as the record suggests, or what it was for.
  • Odometer readings — unless you enter themIf you enter start and end odometer readings, the tool cross-checks your business miles against them. If you do not enter them, no odometer check happens, and readings are used exactly as typed.
  • Receipts and invoices — unless you note themFuel receipts, toll invoices and similar records only form part of your log if you note them against a trip. The tool does not fetch, read or verify them.
  • Google’s own distance estimatesWhere a distance comes from Google, it is shown as Google’s estimate. Sanity checks catch gross errors, but we do not re-measure Google’s recording of your route.
  • Rideshare deadhead rulesThe miles driven between fares, or on the way to a pickup, are treated differently by different platforms and tax rules. The tool records the driving; it does not apply rideshare deadhead rules to it.
SECTION 7

Errors and corrections

If a trip in your log looks wrong — a distance, a date, a rate — tell us. Send the trip details and the Timeline date range the trip comes from via the Contact link in the footer below, and we will check it against the methods on this page.

When a check finds an error in the tool or in a published figure, the correction is published in the test log on this page — what was wrong, what it should have been, and which test result it affects — rather than edited silently. The “Last updated” date at the top of this page changes with each correction.

You can also re-run your own file through the free preview or put an existing log through the free health check to see whether a newer build changes the trip in question.

Not tax advice. You are responsible for what you file.

This page describes how Mileage Log processes your export. Tax rules differ by country, by year and by your circumstances, and they change. If the amounts matter — and they usually do — confirm your position with a qualified tax adviser in your jurisdiction before you file or claim.

Questions about a specific trip in your log? Start with the method label on that trip and the section above that explains it — and if it still looks wrong, Section 7 explains how to send it to us.