IFTA Miles by state: how the numbers are computed

Compliance → IFTA → Miles by state rebuilds a quarter's miles per state from records DispatchDeck already has: the permits on file, the job destinations on the board, and odometer readings. This page explains how each number is worked out, what it leaves out, and how to use it.

Page version 1.0 · 2026-11-11 · describes report method 2026-10-11

What it is, and what it isn't

A reconstruction and a second check, not a filing record. IFTA expects actual miles by jurisdiction from records kept as you drive: odometer readings, trip sheets, or ELD/GPS. This report rebuilds an estimate after the fact from other records, so you can check your trip records against it and spot a state that looks low or missing. Every screen and every CSV row from it is marked ESTIMATE, NOT FILING-READY.

The IFTA tab's Jurisdiction Summary is still the figure of record in DispatchDeck. It adds up the miles typed on fuel purchases by the state of each purchase, so a state where nobody bought fuel shows 0 miles there. Miles by state exists to catch that.

The report shows its sources side by side and never blends them into one number. When two columns disagree, that is useful: it points at a trip to look up. Nothing in the report is written back to your data.

The report runs when you click Build for the quarter shown on the IFTA tab (calendar quarters, using your company's time zone for each day). It needs the Compliance module. The Claude connector's IFTA miles tool uses the same calculation.

Permit miles exact · on file

The route miles printed on an oversize/overweight permit. These are the state's authorized route for a loaded move, so they are exact for what the permit allows, but they are not proof the truck ran that day or that way.

Where permits come from

How a permit is counted

  1. Date: the permit's effective date, else its issued date, else the earliest job day in the quarter on a job it's linked to, else the date it was added. A permit dated outside the quarter is left out.
  2. State: the state that issued it. All of its miles go to that state. If a permit's record has no readable state but a permit PDF or another copy with the same number names exactly one state, it takes that state. A permit whose state still can't be read is counted under Unknown and never guessed onto a state.
  3. Truck: the truck on the permit (by vehicle record or unit number). Permits for vehicles marked not IFTA-registered are left out.
  4. Duplicates: the same permit number from the same state is counted once, and the copy that carries miles wins. A PDF of a permit already on file only fills in its missing miles; it never adds a second permit. The same number from two different states counts as two permits.
  5. No miles on file: the permit is counted and the gap is shown (“permits without miles”). Its miles are never estimated.

Job-destination miles estimated

A stop-to-stop estimate built from the destinations on each job on the board.

  1. Which days: every job day in the quarter, for every truck on that day. Several jobs on one truck on one day are joined into one chain, in the order the jobs were created and then the order of their destinations.
  2. Home base (optional): if you pick a saved location as the home base, each day's chain starts and ends there, which adds the shop-to-first-stop and last-stop-to-shop legs. Without one, only destination-to-destination legs count.
  3. Distance: each leg is the straight-line (great-circle) distance between two consecutive destinations, the same formula the per-mile price book uses. It is not a road route. No factor is added for road miles.
  4. State split: each leg is sampled every 2 miles, and each sample is put in a state using a rectangle drawn around that state (its latitude and longitude limits). A destination's own state comes first from a state written in its name or map link (“Sidney, MT”, “North Dakota”) when the point sits inside that state's rectangle, then from the rectangles.
  5. Overlaps: rectangles overlap near irregular borders. A sample that falls in two rectangles goes to the nearer destination's state when that is one of them, else the other destination's, else the rectangle whose centre is closest. Those miles are also shown on their own as ambiguous, so you can see how much of a state's figure is a close call.
  6. No truck on the board: a job day with no truck listed is shown on its own row, “No truck on the job day”, not under any vehicle.
  7. Every day counts. When the same truck has the same jobs on back-to-back days with a loop of 150 miles or more each day, the report notes it may have been one long trip with the truck parked on site, and says how many miles would come off. Nothing is removed for you.

Odometer total, all states

GPS not used

The report does not read GPS, ELD or phone location tracks today. If you have GPS or ELD records, they are the stronger record of miles by state, and the best thing to check this report against.

Rules that apply to every column

Known gaps

Worked example

EXAMPLE · MADE-UP NUMBERS

Truck Unit 12 runs one loaded oversize move in Q1. The home base is a yard in North Dakota. The board has the job going to a pickup site in Montana, then a drop site further into Montana. The loaded move is pickup to drop. There is one Montana eTRIPS permit on the job for it, with a printed Total Distance of 60.1 miles. The trips out from the yard and back are empty.

Job-destination legs (straight line, split every 2 miles)

LegStraight lineNDMT
Home base (ND) → pickup (MT)48.020.028.0
Pickup (MT) → drop (MT)52.0—52.0
Drop (MT) → home base (ND)96.026.070.0
Job-destination miles196.046.0150.0

What the report shows for Unit 12

StatePermit milesJob-destination miles (est.)
MT60.1
1 permit
150.0
ND0.0
0 permits
46.0

Odometer for the whole quarter: first reading 412,310 (Jan 3), last reading 431,005 (Mar 28), so 18,695.0 miles across all states. It covers every trip Unit 12 made in the quarter, not just this one, so it is not compared state by state.

How to read it

Questions about a number?

Email chris@dispatchdeck.app with the quarter and the truck, and we'll walk through where the figure came from.