← Back to Blog
IFTA Filing·9 min read

How to Calculate IFTA Miles: Step-by-Step for Every Quarter

A complete walkthrough for calculating IFTA miles by state, computing your net tax, and filing your quarterly return — with real examples and multi-state trip breakdowns.

Every quarter, thousands of motor carriers sit down to calculate IFTA miles — and a surprising number get it wrong. An incorrect filing doesn't just mean a bigger tax bill. It means interest charges, potential penalties, and a higher chance of being selected for a full audit that covers three years of returns.

The math behind IFTA isn't complicated once you understand the process. This guide walks through every step of calculating your IFTA miles, from totaling state-by-state distance to computing the exact tax owed per jurisdiction, with real numbers you can follow along with.

How IFTA Mileage Calculations Work: The Big Picture

IFTA (International Fuel Tax Agreement) requires you to report the miles you drove in every participating state and province during the quarter. Those miles are used to determine how many gallons of fuel you theoretically consumed in each jurisdiction. The tax you owe (or the credit you receive) depends on the difference between the fuel you actually purchased in a state and the fuel you're deemed to have consumed there.

The core formula for every jurisdiction is:

  1. Calculate total miles driven in the jurisdiction
  2. Divide those miles by your fleet MPG to get gallons consumed
  3. Subtract gallons actually purchased in that jurisdiction
  4. Multiply the net gallons by the jurisdiction's tax rate

If you consumed more fuel than you purchased in a state, you owe tax. If you purchased more than you consumed, you get a credit. Let's break each step down.

Step 1: Total Your Miles by State

The foundation of your IFTA return is an accurate count of miles driven in each state and province. Every mile your qualified motor vehicle travels on a public highway must be counted — loaded miles, empty (deadhead) miles, detours, and repositioning.

There are two ways to collect this data:

Manual Method: Odometer Readings at State Lines

Record your odometer reading every time you cross a state line. At the end of the quarter, subtract the entry reading from the exit reading for each state. If you entered Texas at 145,230 miles and left Texas at 145,730 miles, you drove 500 miles in Texas during that segment.

Repeat for every trip and every state, then add up all segments to get your quarterly total per state.

GPS Method: Automatic State Detection

GPS tracking apps record your position continuously and automatically detect state-line crossings. The software calculates the exact miles in each jurisdiction without any manual input from the driver. At the end of the quarter, you get a ready-made state-by-state mileage summary.

Whichever method you use, you need to arrive at a table that looks like this:

StateTotal Miles
Texas5,000
Oklahoma2,800
Arkansas1,400
Louisiana3,200

Your grand total in this example is 12,400 miles for the quarter across four states.

Step 2: Calculate Your Fleet MPG

Fleet MPG is the single number that connects miles to gallons in every IFTA calculation. You must calculate it fresh each quarter using actual data — never use the manufacturer's rated fuel economy or last quarter's number.

The formula is straightforward:

Fleet MPG = Total Miles Driven ÷ Total Gallons Purchased

Using our example: if you drove 12,400 total miles and purchased 2,384.6 gallons of diesel during the quarter, your fleet MPG is:

12,400 ÷ 2,384.6 = 5.2 MPG

Warning: Your fleet MPG must reflect actual operations. If you run different vehicle types (for example, Class 8 day cabs and sleeper trucks), you should calculate MPG separately for each vehicle group and file accordingly. Mixing vehicle types inflates or deflates the MPG and throws off every state's calculation.

What Counts Toward Total Gallons?

Include every gallon of taxable fuel purchased for your qualified motor vehicles during the quarter. This includes diesel from truck stops, bulk fuel from your own tanks, and reefer fuel if it's drawn from the same tank as the drive engine. Do not include DEF (diesel exhaust fluid) — it is not taxable fuel.

Step 3: Calculate Gallons Consumed per State

Now divide each state's miles by your fleet MPG to determine how many gallons IFTA considers you to have consumed there.

Gallons Consumed = State Miles ÷ Fleet MPG

StateMilesFleet MPGGallons Consumed
Texas5,0005.2961.5
Oklahoma2,8005.2538.5
Arkansas1,4005.2269.2
Louisiana3,2005.2615.4

The total gallons consumed across all states (2,384.6) should approximately match your total gallons purchased. If there's a large discrepancy, recheck your mile totals and fuel records.

Step 4: Calculate Net Taxable Gallons

For each state, subtract the gallons you actually purchased there from the gallons you consumed. The result is your net taxable gallons.

Net Taxable Gallons = Gallons Consumed − Gallons Purchased in State

If the number is positive, you owe tax. If it's negative, you get a credit. Suppose your fuel purchases looked like this:

StateGallons ConsumedGallons PurchasedNet Taxable Gallons
Texas961.51,200.0−238.5 (credit)
Oklahoma538.5400.0+138.5 (tax owed)
Arkansas269.20.0+269.2 (tax owed)
Louisiana615.4784.6−169.2 (credit)

In this example, you over-purchased fuel in Texas and Louisiana (earning credits) while under-purchasing in Oklahoma and Arkansas (owing tax). This is completely normal — drivers tend to buy fuel where it's cheapest, not necessarily where they drive the most.

Step 5: Apply Tax Rates and Calculate Tax Owed

Each state has its own IFTA fuel tax rate, published quarterly by IFTA Inc. Multiply your net taxable gallons by the state's rate to find the tax owed (or credit received) for that jurisdiction.

Tax Owed = Net Taxable Gallons × State Tax Rate

StateNet Taxable GallonsTax Rate (per gallon)Tax Amount
Texas−238.5$0.2000−$47.70 (credit)
Oklahoma+138.5$0.1900+$26.32 (owed)
Arkansas+269.2$0.2850+$76.72 (owed)
Louisiana−169.2$0.2000−$33.84 (credit)

Net tax owed this quarter: $26.32 + $76.72 − $47.70 − $33.84 = $21.50

You would submit this return to your base jurisdiction (the state where you registered for IFTA), along with a payment of $21.50. Your base jurisdiction handles distributing credits and payments to the other states.

Splitting Miles on Multi-State Trips

Most IFTA carriers don't drive neatly within one state per trip. A single trip from Houston, TX to Memphis, TN might cross through Texas, Louisiana, Mississippi, and Tennessee. You need to split that trip's miles across every state you drove through.

Manual Splitting

If you're tracking manually, record your odometer at every state line during the trip. For a Houston-to-Memphis run:

  • Start in Houston: 100,000 miles
  • Texas/Louisiana border: 100,267 miles (267 miles in TX)
  • Louisiana/Mississippi border: 100,587 miles (320 miles in LA)
  • Mississippi/Tennessee border: 100,697 miles (110 miles in MS)
  • Arrive Memphis: 100,712 miles (15 miles in TN)

Each segment gets added to that state's running total for the quarter.

GPS Splitting

GPS tracking handles this automatically. The software detects every state-line crossing using geofenced boundary polygons and allocates miles to the correct jurisdiction in real time. At the end of the quarter, every trip has already been split — no manual work required.

Common Calculation Errors to Avoid

Even with the right formulas, carriers frequently make these mistakes:

  • Forgetting deadhead miles: Every mile on a public road counts, loaded or empty. Deadhead miles must be included in your state totals.
  • Using planned route miles instead of actual miles: Your dispatch software might show 500 miles for a route, but detours, construction, and alternate routes mean you actually drove 523 miles. Use actual driven distance.
  • Rounding too aggressively: IFTA returns report miles to the nearest whole number, but rounding individual trip segments before adding them up compounds rounding errors. Total first, then round.
  • Double-counting toll road miles: Some carriers add toll-road mileage on top of their regular mileage. Toll miles are part of your total — don't add them separately.
  • Using last quarter's tax rates: Rates change. Always verify you're using the rates published for the quarter you're filing.

A Complete Worked Example

Let's walk through one state from start to finish with clean numbers.

Given: You drove 5,000 miles in Texas this quarter. Your fleet MPG is 5.2. You purchased 1,200 gallons of diesel in Texas. The Texas diesel tax rate is $0.2000 per gallon.

  1. Gallons consumed in Texas: 5,000 ÷ 5.2 = 961.5 gallons
  2. Net taxable gallons: 961.5 − 1,200.0 = −238.5 gallons
  3. Tax: −238.5 × $0.2000 = −$47.70

Result: Texas owes you a $47.70 credit because you purchased more fuel there than you consumed. This credit offsets tax owed in other states.

Now consider Arkansas, where you drove 1,400 miles but bought zero fuel:

  1. Gallons consumed in Arkansas: 1,400 ÷ 5.2 = 269.2 gallons
  2. Net taxable gallons: 269.2 − 0 = +269.2 gallons
  3. Tax: 269.2 × $0.2850 = +$76.72

Result: You owe Arkansas $76.72 because you consumed fuel there (by driving through) without purchasing any.

Frequently Asked Questions

How do I calculate fleet MPG?

Divide your total miles driven during the quarter by the total gallons of fuel purchased during the quarter. Use actual data from odometer readings and fuel receipts — never the manufacturer's rated MPG. If you drove 12,400 miles and bought 2,384.6 gallons, your fleet MPG is 5.2. Recalculate this number every quarter because driving conditions, loads, and routes change.

What if I drive through a state without stopping?

You still report the miles. IFTA requires you to account for every mile driven on public roads in every participating jurisdiction, regardless of whether you stopped, fueled, loaded, or unloaded there. Even if you only drove 15 miles across a corner of a state, those 15 miles go on your return.

Can I round IFTA miles?

Yes, but carefully. The IFTA return reports miles as whole numbers. However, you should total all trip segments at full precision first, then round the final state total to the nearest whole mile. Do not round each individual trip segment before adding them together — this compounds rounding errors and can create discrepancies that auditors will notice.

Make IFTA Mile Calculations Easier

Calculating IFTA miles manually is doable, but every step introduces opportunities for error — misread odometers, forgotten state crossings, transposed numbers. GPS-based mileage tracking automates the hardest parts: recording state-line crossings, splitting multi-state trips, and totaling miles by jurisdiction. FleetCollect's IFTA tracking app handles all of this in the background while drivers focus on the road, giving you audit-ready state mileage reports at the end of every quarter.

Automate Your IFTA Reporting

FleetCollect tracks miles by state automatically with GPS. No more manual trip sheets or spreadsheets.

Try FleetCollect Free →